{"openapi":"3.1.0","info":{"title":"Control Freelance Agent Tools","version":"1.0.0","description":"Accountless x402 tools and a digital operations kit, paid in USDC on Base.","contact":{"name":"Control Freelance","url":"https://control-freelance-kit.saiikork.chatgpt.site"},"x-guidance":"Call the desired endpoint without credentials. An unpaid request returns HTTP 402 and a Payment-Required header. Use an x402 v2 client to authorize the exact USDC amount on Base, then replay the same method, URL, and body with Payment-Signature. The facilitator settles directly to the seller wallet. For POST routes, send application/json exactly as described by each request schema. The ZIP route returns binary application/zip after settlement."},"servers":[{"url":"https://control-freelance-kit.saiikork.chatgpt.site"}],"tags":[{"name":"Digital product"},{"name":"SEO"},{"name":"Data"},{"name":"Agent operations"},{"name":"Code review"},{"name":"Monitoring"},{"name":"Developer utilities"}],"paths":{"/api/freelance-control-kit":{"get":{"operationId":"downloadFreelanceControlKit","summary":"Buy and download the Freelance Control Kit","description":"Returns a ZIP containing an editable XLSX dashboard, Spanish PDF guide, preview, and license.","tags":["Digital product"],"x-payment-info":{"price":{"mode":"fixed","amount":"9.00","currency":"USD"},"protocols":[{"x402":{"version":2,"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x5543999b9a509fE0FD704cf835ad3398F9E1b4CC","facilitator":"https://facilitator.openx402.ai"}}]},"parameters":[{"name":"format","in":"query","required":true,"description":"Download format","schema":{"type":"string","enum":["zip"],"default":"zip"},"example":"zip"}],"responses":{"200":{"description":"ZIP archive","headers":{"X-Content-SHA256":{"schema":{"type":"string"}}},"content":{"application/zip":{"schema":{"type":"string","format":"binary"}}}},"402":{"description":"Payment Required; read the Payment-Required response header"}}}},"/api/seo-audit":{"post":{"operationId":"auditSeoPage","summary":"Audit one public HTTPS page","description":"Fetches one public page and returns a prioritized technical SEO audit covering metadata, headings, canonical and robots directives, structured data, links, language signals, and actionable fixes.","tags":["SEO"],"x-payment-info":{"price":{"mode":"fixed","amount":"0.05","currency":"USD"},"protocols":[{"x402":{"version":2,"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x5543999b9a509fE0FD704cf835ad3398F9E1b4CC","facilitator":"https://facilitator.openx402.ai"}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","examples":["https://example.com"]}},"required":["url"],"additionalProperties":false}}}},"responses":{"200":{"description":"SEO audit","content":{"application/json":{"schema":{"type":"object","required":["url","score","findings","recommendations"]}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}},"402":{"description":"Payment Required; read the Payment-Required response header"}}}},"/api/csv-profile":{"post":{"operationId":"profileCsv","summary":"Profile and sanitize CSV text","description":"Profiles bounded caller-supplied CSV text, reports row and column quality, missing values and duplicates, neutralizes spreadsheet-formula injection, and returns sanitized CSV without retaining the input.","tags":["Data"],"x-payment-info":{"price":{"mode":"fixed","amount":"0.05","currency":"USD"},"protocols":[{"x402":{"version":2,"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x5543999b9a509fE0FD704cf835ad3398F9E1b4CC","facilitator":"https://facilitator.openx402.ai"}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"csv":{"type":"string","examples":["name,email\\nAna,ana@example.com"]},"delimiter":{"type":"string","enum":[",",";","\\t","|"]}},"required":["csv"],"additionalProperties":false}}}},"responses":{"200":{"description":"CSV profile and sanitized data","content":{"application/json":{"schema":{"type":"object","required":["rows","columns","profile","sanitized_csv"]}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}},"402":{"description":"Payment Required; read the Payment-Required response header"}}}},"/api/schema-kit":{"post":{"operationId":"generateSchemaKit","summary":"Generate Organization and Service JSON-LD","description":"Builds valid Organization and Service Schema.org JSON-LD plus an embeddable script from explicit business fields; no scraping, credentials, or external account is required.","tags":["SEO"],"x-payment-info":{"price":{"mode":"fixed","amount":"0.05","currency":"USD"},"protocols":[{"x402":{"version":2,"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x5543999b9a509fE0FD704cf835ad3398F9E1b4CC","facilitator":"https://facilitator.openx402.ai"}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string","format":"uri"},"description":{"type":"string"},"service_name":{"type":"string"},"area_served":{"type":"string"},"price":{"type":"string"},"currency":{"type":"string"},"email":{"type":"string","format":"email"},"telephone":{"type":"string"}},"required":["name","url","description","service_name"],"additionalProperties":false}}}},"responses":{"200":{"description":"JSON-LD and embeddable script","content":{"application/json":{"schema":{"type":"object","required":["json_ld","embed_html"]}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}},"402":{"description":"Payment Required; read the Payment-Required response header"}}}},"/api/agent-offer-optimizer":{"post":{"operationId":"optimizeAgentOffer","summary":"Optimize a marketplace service offer","description":"Turns a rough agent-service listing into a concise title, one-line value proposition, concrete deliverables, objective acceptance criteria, and discovery tags while preserving the stated scope.","tags":["Agent operations"],"x-payment-info":{"price":{"mode":"fixed","amount":"0.03","currency":"USD"},"protocols":[{"x402":{"version":2,"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x5543999b9a509fE0FD704cf835ad3398F9E1b4CC","facilitator":"https://facilitator.openx402.ai"}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"deliverables":{"type":"array","items":{"type":"string"}},"turnaround_hours":{"type":"number","minimum":1,"maximum":720}},"required":["title","description"],"additionalProperties":false}}}},"responses":{"200":{"description":"Optimized offer","content":{"application/json":{"schema":{"type":"object","required":["title","one_liner","deliverables","acceptance_criteria","tags"]}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}},"402":{"description":"Payment Required; read the Payment-Required response header"}}}},"/api/code-review":{"post":{"operationId":"reviewUnifiedDiff","summary":"Review a unified diff with structured annotations","description":"Reviews a bounded unified diff without repository credentials and returns a verdict, score, concise summary, and file-and-line annotations ranked by severity for GitHub, GitLab, or generic patches.","tags":["Code review"],"x-payment-info":{"price":{"mode":"fixed","amount":"0.05","currency":"USD"},"protocols":[{"x402":{"version":2,"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x5543999b9a509fE0FD704cf835ad3398F9E1b4CC","facilitator":"https://facilitator.openx402.ai"}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"provider":{"type":"string","enum":["github","gitlab","generic"]},"repository":{"type":"string","maxLength":300},"diff":{"type":"string","description":"Unified diff text, maximum 180 KB"},"webhook":{"type":"object","additionalProperties":true}},"required":["diff"],"additionalProperties":false}}}},"responses":{"200":{"description":"Structured review","content":{"application/json":{"schema":{"type":"object","required":["verdict","score","summary","annotations"]}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}},"402":{"description":"Payment Required; read the Payment-Required response header"}}}},"/api/catalog-health":{"post":{"operationId":"checkCatalogHealth","summary":"Check public catalog and seller endpoints","description":"Runs bounded, unauthenticated HEAD probes with a safe GET fallback for up to 25 public HTTPS URLs. Redirect destinations are revalidated, no payment signature is sent, and HTTP 402 is reported as a healthy reachable paid endpoint.","tags":["Monitoring"],"x-payment-info":{"price":{"mode":"fixed","amount":"0.02","currency":"USD"},"protocols":[{"x402":{"version":2,"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x5543999b9a509fE0FD704cf835ad3398F9E1b4CC","facilitator":"https://facilitator.openx402.ai"}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"type":"array","minItems":1,"maxItems":25,"items":{"type":"string","format":"uri"}},"timeout_ms":{"type":"integer","minimum":1000,"maximum":10000,"default":5000}},"required":["urls"],"additionalProperties":false}}}},"responses":{"200":{"description":"Catalog endpoint health report","content":{"application/json":{"schema":{"type":"object","required":["checked_at","checked","reachable","healthy","payment_required","results"]}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}},"402":{"description":"Payment Required; read the Payment-Required response header"}}}},"/api/hash-encode":{"post":{"operationId":"sha256Sha512HmacBase64EncodeDecodeJwt","summary":"SHA-256, SHA-512, HMAC, Base64 encode/decode, or JWT decode","description":"Runs one deterministic SHA-256, SHA-512, HMAC-SHA256, HMAC-SHA512, Base64, Base64URL, URL encode/decode, or unverified JWT decode operation on bounded caller-supplied text without retaining it.","tags":["Developer utilities"],"x-payment-info":{"price":{"mode":"fixed","amount":"0.001","currency":"USD"},"protocols":[{"x402":{"version":2,"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x5543999b9a509fE0FD704cf835ad3398F9E1b4CC","facilitator":"https://facilitator.openx402.ai"}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"operation":{"type":"string","enum":["sha256","sha512","hmac-sha256","hmac-sha512","base64-encode","base64-decode","base64url-encode","base64url-decode","url-encode","url-decode","jwt-decode"]},"value":{"type":"string","maxLength":102400},"key":{"type":"string","maxLength":8192,"description":"Required for HMAC operations only"}},"required":["operation","value"],"additionalProperties":false}}}},"responses":{"200":{"description":"Hash or encoding result","content":{"application/json":{"schema":{"type":"object","required":["operation","result","input_bytes"]}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}},"402":{"description":"Payment Required; read the Payment-Required response header"}}}},"/api/json-repair":{"post":{"operationId":"validateOrRepairLlmJson","summary":"Validate or repair JSON and JSON-like LLM output","description":"Validates strict JSON or deterministically repairs common LLM formatting errors such as Markdown fences, comments, unquoted keys, single-quoted strings, and trailing commas.","tags":["Developer utilities"],"x-payment-info":{"price":{"mode":"fixed","amount":"0.001","currency":"USD"},"protocols":[{"x402":{"version":2,"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x5543999b9a509fE0FD704cf835ad3398F9E1b4CC","facilitator":"https://facilitator.openx402.ai"}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"operation":{"type":"string","enum":["validate","repair"]},"value":{"type":"string","maxLength":102400}},"required":["operation","value"],"additionalProperties":false}}}},"responses":{"200":{"description":"JSON validation or repair result","content":{"application/json":{"schema":{"type":"object","required":["operation","valid","changed","input_bytes"]}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}},"402":{"description":"Payment Required; read the Payment-Required response header"}}}},"/api/openapi-actions":{"post":{"operationId":"extractAgentActionsFromOpenApi","summary":"Convert OpenAPI 3.x into agent-ready actions and curl examples","description":"Parses a bounded OpenAPI 3.x JSON object or JSON string locally and returns operation summaries, required inputs, security placeholders, request-body examples, documentation warnings, and deterministic curl commands. It never fetches referenced URLs or uses supplied credentials.","tags":["Developer utilities"],"x-payment-info":{"price":{"mode":"fixed","amount":"0.001","currency":"USD"},"protocols":[{"x402":{"version":2,"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x5543999b9a509fE0FD704cf835ad3398F9E1b4CC","facilitator":"https://facilitator.openx402.ai"}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"spec":{"oneOf":[{"type":"object","additionalProperties":true},{"type":"string","maxLength":180000}],"description":"OpenAPI 3.x JSON object or JSON string, maximum 180 KB"},"server_url":{"type":"string","format":"uri","maxLength":500}},"required":["spec"],"additionalProperties":false}}}},"responses":{"200":{"description":"Agent-ready OpenAPI operation summary","content":{"application/json":{"schema":{"type":"object","required":["openapi","server_url","operation_count","operations","warnings"]}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}},"402":{"description":"Payment Required; read the Payment-Required response header"}}}},"/api/llm-cost-calculator":{"post":{"operationId":"calculateLlmWorkloadCost","summary":"Calculate per-request and monthly LLM workload cost","description":"Calculates deterministic USD costs from caller-supplied token rates, cached input, optional context-threshold multipliers, tool fees, request volume, and billing days. It never calls a model provider and does not claim rates are current.","tags":["Developer utilities"],"x-payment-info":{"price":{"mode":"fixed","amount":"0.001","currency":"USD"},"protocols":[{"x402":{"version":2,"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x5543999b9a509fE0FD704cf835ad3398F9E1b4CC","facilitator":"https://facilitator.openx402.ai"}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","maxLength":120},"input_tokens":{"type":"number","minimum":0},"cached_input_tokens":{"type":"number","minimum":0},"output_tokens":{"type":"number","minimum":0},"input_usd_per_million":{"type":"number","minimum":0},"cached_input_usd_per_million":{"type":"number","minimum":0},"output_usd_per_million":{"type":"number","minimum":0},"long_context_threshold":{"type":"number","minimum":0},"long_context_input_multiplier":{"type":"number","minimum":0},"long_context_output_multiplier":{"type":"number","minimum":0},"requests_per_day":{"type":"number","minimum":0},"days":{"type":"number","minimum":0},"tool_costs":{"type":"array","maxItems":25,"items":{"type":"object","properties":{"name":{"type":"string"},"unit_cost_usd":{"type":"number","minimum":0},"calls_per_request":{"type":"number","minimum":0}},"required":["unit_cost_usd"]}}},"required":["input_tokens","output_tokens","input_usd_per_million","output_usd_per_million"],"additionalProperties":false}}}},"responses":{"200":{"description":"LLM workload cost estimate","content":{"application/json":{"schema":{"type":"object","required":["currency","breakdown","per_request_usd","daily_usd","monthly_usd","warnings"]}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}},"402":{"description":"Payment Required; read the Payment-Required response header"}}}}}}