{"openapi":"3.1.0","info":{"title":"Structured extraction API","version":"1.0.0","description":"Pay-per-call structured data extraction. No account, no subscription, no minimum — each request settles in USDC over x402. Runs on dedicated local hardware, which is why document extraction is priced well below the $15-30 per 1,000 pages the cloud vendors charge."},"servers":[{"url":"https://api-v3qhpbwutp.august.services"}],"paths":{"/v1/extract":{"post":{"summary":"Extract structured JSON from unstructured text against a JSON Schema you supply","description":"Extract structured JSON from unstructured text against a JSON Schema you supply. Returns data conforming to your schema, or nulls where the text does not contain a field. Runs on dedicated local hardware — no per-token cloud billing. Typical alternative: $15-30 per 1,000 pages.","operationId":"v1_extract","tags":["x402"],"x-402":{"price":"$0.05","amount":"50000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"base","payTo":"0xCD081570677fdCBB21cc90E5f5675368fcB6b7AA","scheme":"exact"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string"},"schema":{"type":"object","properties":{"type":{"type":"string"},"properties":{"type":"object","properties":{"invoice_number":{"type":"object","properties":{"type":{"type":"string"}}},"total":{"type":"object","properties":{"type":{"type":"string"}}},"vendor":{"type":"object","properties":{"type":{"type":"string"}}}}},"required":{"type":"array"}}}}},"example":{"text":"Invoice 4471 dated 2026-03-02, total $1,240.00, vendor Acme Ltd.","schema":{"type":"object","properties":{"invoice_number":{"type":"string"},"total":{"type":"number"},"vendor":{"type":"string"}},"required":["invoice_number"]}}}}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"invoice_number":{"type":"string"},"total":{"type":"number"},"vendor":{"type":"string"}}},"example":{"invoice_number":"4471","total":1240,"vendor":"Acme Ltd"}}}},"402":{"description":"Payment required; the body carries x402 payment requirements."}}}},"/v1/web-extract":{"post":{"summary":"Fetch a public web page and return structured JSON matching a JSON Schema you supply","description":"Fetch a public web page and return structured JSON matching a JSON Schema you supply. Combines retrieval and extraction in one paid call, so an agent does not need a separate scraping subscription. Obeys robots.txt and fetches logged-out public pages only.","operationId":"v1_web_extract","tags":["x402"],"x-402":{"price":"$0.08","amount":"80000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"base","payTo":"0xCD081570677fdCBB21cc90E5f5675368fcB6b7AA","scheme":"exact"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"schema":{"type":"object","properties":{"type":{"type":"string"},"properties":{"type":"object","properties":{"plans":{"type":"object","properties":{"type":{"type":"string"},"items":{"type":"object","properties":{"type":{"type":"string"},"properties":{"type":"object","properties":{"name":{"type":"object","properties":{"type":{"type":"string"}}},"price":{"type":"object","properties":{"type":{"type":"string"}}}}}}}}}}}}}}},"example":{"url":"https://example.com/pricing","schema":{"type":"object","properties":{"plans":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"price":{"type":"string"}}}}}}}}}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"plans":{"type":"array"}}},"example":{"plans":[{"name":"Pro","price":"$19/mo"}]}}}},"402":{"description":"Payment required; the body carries x402 payment requirements."}}}},"/v1/classify":{"post":{"summary":"Classify text into one of the labels you provide, with a confidence score and a short justification","description":"Classify text into one of the labels you provide, with a confidence score and a short justification. Useful for routing, triage, moderation queues and tagging pipelines where an agent needs a cheap deterministic decision per item.","operationId":"v1_classify","tags":["x402"],"x-402":{"price":"$0.03","amount":"30000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"base","payTo":"0xCD081570677fdCBB21cc90E5f5675368fcB6b7AA","scheme":"exact"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string"},"labels":{"type":"array"}}},"example":{"text":"The checkout page returns a 500 after applying a coupon.","labels":["bug","feature_request","billing","other"]}}}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"label":{"type":"string"},"confidence":{"type":"number"},"reason":{"type":"string"}}},"example":{"label":"bug","confidence":0.94,"reason":"Reports a server error during checkout."}}}},"402":{"description":"Payment required; the body carries x402 payment requirements."}}}},"/v1/table":{"post":{"summary":"Turn tabular text — pasted tables, statements, reports, CSV-ish fragments — into clean JSON rows with consistent column names","description":"Turn tabular text — pasted tables, statements, reports, CSV-ish fragments — into clean JSON rows with consistent column names. Handles ragged formatting that regex-based parsers break on. The cloud equivalent for table extraction bills around $15 per 1,000 pages.","operationId":"v1_table","tags":["x402"],"x-402":{"price":"$0.05","amount":"50000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"base","payTo":"0xCD081570677fdCBB21cc90E5f5675368fcB6b7AA","scheme":"exact"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string"}}},"example":{"text":"Item    Qty  Price\nWidget   2   4.50\nGizmo   10   1.25"}}}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"columns":{"type":"array"},"rows":{"type":"array"}}},"example":{"columns":["Item","Qty","Price"],"rows":[{"Item":"Widget","Qty":"2","Price":"4.50"}]}}}},"402":{"description":"Payment required; the body carries x402 payment requirements."}}}},"/v1/pdf-extract":{"post":{"summary":"Extract structured JSON from a PDF against a JSON Schema you supply","description":"Extract structured JSON from a PDF against a JSON Schema you supply. Send a URL or base64 bytes; get back your schema, filled. Whole-document pricing, not per-page: a 20-page contract costs the same as a 2-page invoice. Reads the embedded text layer — scanned image-only PDFs are rejected with a clear error rather than empty fields.","operationId":"v1_pdf_extract","tags":["x402"],"x-402":{"price":"$0.12","amount":"120000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"base","payTo":"0xCD081570677fdCBB21cc90E5f5675368fcB6b7AA","scheme":"exact"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"schema":{"type":"object","properties":{"type":{"type":"string"},"properties":{"type":"object","properties":{"invoice_number":{"type":"object","properties":{"type":{"type":"string"}}},"total":{"type":"object","properties":{"type":{"type":"string"}}},"due_date":{"type":"object","properties":{"type":{"type":"string"}}}}}}}}},"example":{"url":"https://example.com/invoice.pdf","schema":{"type":"object","properties":{"invoice_number":{"type":"string"},"total":{"type":"number"},"due_date":{"type":"string"}}}}}}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"pages":{"type":"number"},"data":{"type":"object","properties":{"invoice_number":{"type":"string"},"total":{"type":"number"},"due_date":{"type":"string"}}}}},"example":{"pages":3,"data":{"invoice_number":"INV-2201","total":4820.5,"due_date":"2026-05-01"}}}}},"402":{"description":"Payment required; the body carries x402 payment requirements."}}}},"/v1/translate":{"post":{"summary":"Translate text between languages, with automatic source-language detection","description":"Translate text between languages, with automatic source-language detection. Returns the detected source language alongside the translation so an agent can branch on it. Pay per call in USDC with no account or subscription. Handles documents up to roughly 40,000 characters in one request.","operationId":"v1_translate","tags":["x402"],"x-402":{"price":"$0.02","amount":"20000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"base","payTo":"0xCD081570677fdCBB21cc90E5f5675368fcB6b7AA","scheme":"exact"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string"},"target_language":{"type":"string"}}},"example":{"text":"Le rapport trimestriel sera publié vendredi.","target_language":"English"}}}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"detected_source_language":{"type":"string"},"translation":{"type":"string"}}},"example":{"detected_source_language":"French","translation":"The quarterly report will be published on Friday."}}}},"402":{"description":"Payment required; the body carries x402 payment requirements."}}}},"/v1/redact":{"post":{"summary":"Find and redact personal data in free text — names, emails, phone numbers, payment cards, government identifiers and IP addresses","description":"Find and redact personal data in free text — names, emails, phone numbers, payment cards, government identifiers and IP addresses. Returns the redacted text plus a typed inventory of what was removed, so a pipeline can log the decision without logging the data. Useful before sending user content to a third party.","operationId":"v1_redact","tags":["x402"],"x-402":{"price":"$0.04","amount":"40000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"base","payTo":"0xCD081570677fdCBB21cc90E5f5675368fcB6b7AA","scheme":"exact"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string"}}},"example":{"text":"Contact Dana Reyes at dana.reyes@example.com or 555-0142 about invoice 8891."}}}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"redacted_text":{"type":"string"},"found":{"type":"array"}}},"example":{"redacted_text":"Contact [NAME] at [EMAIL] or [PHONE] about invoice 8891.","found":[{"type":"NAME","value":"Dana Reyes"},{"type":"EMAIL","value":"dana.reyes@example.com"}]}}}},"402":{"description":"Payment required; the body carries x402 payment requirements."}}}},"/v1/summarize":{"post":{"summary":"Summarise long text to a target length, returning both a one-line abstract and the key points as a list","description":"Summarise long text to a target length, returning both a one-line abstract and the key points as a list. Commodity capability, priced near the market median because it costs us only electricity — useful for agents that need to compress a document before reasoning over it.","operationId":"v1_summarize","tags":["x402"],"x-402":{"price":"$0.02","amount":"20000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"base","payTo":"0xCD081570677fdCBB21cc90E5f5675368fcB6b7AA","scheme":"exact"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string"},"max_points":{"type":"number"}}},"example":{"text":"Long article text goes here...","max_points":5}}}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"abstract":{"type":"string"},"key_points":{"type":"array"}}},"example":{"abstract":"Quarterly revenue rose 12% on strong subscription growth.","key_points":["Revenue up 12% year over year","Subscriptions drove the increase"]}}}},"402":{"description":"Payment required; the body carries x402 payment requirements."}}}},"/v1/markdown":{"post":{"summary":"Convert any public web page into clean, LLM-ready Markdown with the navigation, scripts and boilerplate stripped","description":"Convert any public web page into clean, LLM-ready Markdown with the navigation, scripts and boilerplate stripped. Pay per call with no account, no subscription and no monthly minimum — useful for agents that need a handful of pages rather than a scraping plan. Obeys robots.txt and fetches logged-out public pages only.","operationId":"v1_markdown","tags":["x402"],"x-402":{"price":"$0.001","amount":"1000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"base","payTo":"0xCD081570677fdCBB21cc90E5f5675368fcB6b7AA","scheme":"exact"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"}}},"example":{"url":"https://example.com/article"}}}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string"},"title":{"type":"string"},"markdown":{"type":"string"}}},"example":{"source":"https://example.com/article","title":"Example Domain","markdown":"# Example Domain\n\nThis domain is for use in..."}}}},"402":{"description":"Payment required; the body carries x402 payment requirements."}}}},"/v1/evidence":{"post":{"summary":"Capture a citable snapshot of a public web page: final URL after redirects, HTTP status, timestamp, security headers, extracted text, and SHA-256 hashes of both the raw response and the text","description":"Capture a citable snapshot of a public web page: final URL after redirects, HTTP status, timestamp, security headers, extracted text, and SHA-256 hashes of both the raw response and the text. Deterministic and reproducible — no model involved, nothing generated. Use it to prove what a page said at a point in time, or to detect whether content actually changed.","operationId":"v1_evidence","tags":["x402"],"x-402":{"price":"$0.03","amount":"30000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"base","payTo":"0xCD081570677fdCBB21cc90E5f5675368fcB6b7AA","scheme":"exact"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"}}},"example":{"url":"https://example.com"}}}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"fetched_at":{"type":"string"},"http_status":{"type":"number"},"sha256_raw":{"type":"string"},"sha256_text":{"type":"string"},"text":{"type":"string"}}},"example":{"url":"https://example.com/","fetched_at":"2026-07-29T03:30:00.000Z","http_status":200,"sha256_raw":"ff67a9d7…","sha256_text":"d003f90b…","text":"Example Domain …"}}}},"402":{"description":"Payment required; the body carries x402 payment requirements."}}}},"/v1/domain-audit":{"post":{"summary":"Deterministic public-posture audit of a domain: A/AAAA/MX/NS/TXT records, SPF, TLS certificate issuer, validity window and days until expiry, plus whether robots","description":"Deterministic public-posture audit of a domain: A/AAAA/MX/NS/TXT records, SPF, TLS certificate issuer, validity window and days until expiry, plus whether robots.txt and security.txt are published (with hashes). One call instead of a dozen lookups. No model involved — every field is read directly from DNS or the TLS handshake.","operationId":"v1_domain_audit","tags":["x402"],"x-402":{"price":"$0.05","amount":"50000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"base","payTo":"0xCD081570677fdCBB21cc90E5f5675368fcB6b7AA","scheme":"exact"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"domain":{"type":"string"}}},"example":{"domain":"example.com"}}}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"domain":{"type":"string"},"dns":{"type":"object","properties":{"a":{"type":"array"},"mx":{"type":"array"},"spf":{"type":["string","null"]}}},"tls":{"type":"object","properties":{"issuer":{"type":"string"},"days_until_expiry":{"type":"number"},"authorized":{"type":"boolean"}}},"robots_txt":{"type":"object","properties":{"present":{"type":"boolean"}}}}},"example":{"domain":"example.com","dns":{"a":["93.184.216.34"],"mx":[],"spf":null},"tls":{"issuer":"DigiCert Inc","days_until_expiry":63,"authorized":true},"robots_txt":{"present":true}}}}},"402":{"description":"Payment required; the body carries x402 payment requirements."}}}},"/v1/site-audit":{"post":{"summary":"Full site audit in one call","description":"Full site audit in one call. Crawls up to 25 pages via sitemap or link discovery and returns: DNS, TLS certificate and expiry, robots.txt and security.txt, per-page titles, descriptions, headings, word counts and SHA-256 content hashes, verified broken internal links, missing alt text and viewport tags, plus an evidence-grounded summary of what the site is. Refuses to bill if no pages could be retrieved.","operationId":"v1_site_audit","tags":["x402"],"x-402":{"price":"$2","amount":"2000000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"base","payTo":"0xCD081570677fdCBB21cc90E5f5675368fcB6b7AA","scheme":"exact"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"domain":{"type":"string"},"max_pages":{"type":"number"}}},"example":{"domain":"example.com","max_pages":12}}}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"domain":{"type":"string"},"pages_crawled":{"type":"number"},"infrastructure":{"type":"object","properties":{"tls":{"type":"object","properties":{"issuer":{"type":"string"},"days_until_expiry":{"type":"number"}}}}},"findings":{"type":"object","properties":{"broken_internal_links":{"type":"array"},"pages_missing_description":{"type":"array"}}},"analysis":{"type":"object","properties":{"what_it_is":{"type":"string"}}}}},"example":{"domain":"example.com","pages_crawled":12,"infrastructure":{"tls":{"issuer":"Google Trust Services","days_until_expiry":61}},"findings":{"broken_internal_links":[],"pages_missing_description":[]},"analysis":{"what_it_is":"A documentation site for…"}}}}},"402":{"description":"Payment required; the body carries x402 payment requirements."}}}},"/v1/bulk-extract":{"post":{"summary":"Extract structured JSON from up to 30 texts in a single paid call against one JSON Schema","description":"Extract structured JSON from up to 30 texts in a single paid call against one JSON Schema. Half the per-item price of individual calls because the work runs on dedicated hardware rather than metered cloud inference. Returns per-item results with individual errors, so one malformed input never fails the batch.","operationId":"v1_bulk_extract","tags":["x402"],"x-402":{"price":"$0.75","amount":"750000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"base","payTo":"0xCD081570677fdCBB21cc90E5f5675368fcB6b7AA","scheme":"exact"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array"},"schema":{"type":"object","properties":{"type":{"type":"string"},"properties":{"type":"object","properties":{"invoice_number":{"type":"object","properties":{"type":{"type":"array"}}},"total":{"type":"object","properties":{"type":{"type":"string"}}}}},"required":{"type":"array"}}}}},"example":{"items":["Invoice A-1001 dated 2026-01-05, total $1,200.00, vendor Acme Ltd.","Invoice B-2002 dated 2026-02-11, total $450.50, vendor Globex."],"schema":{"type":"object","properties":{"invoice_number":{"type":["string","null"]},"total":{"type":"number"}},"required":["total"]}}}}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"requested":{"type":"number"},"succeeded":{"type":"number"},"failed":{"type":"number"},"results":{"type":"array"}}},"example":{"requested":2,"succeeded":2,"failed":0,"results":[{"index":0,"ok":true,"data":{"invoice_number":"A-1001","total":1200}}]}}}},"402":{"description":"Payment required; the body carries x402 payment requirements."}}}}},"x-x402":{"version":1,"network":"base","payTo":"0xCD081570677fdCBB21cc90E5f5675368fcB6b7AA","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","catalog":"https://api-v3qhpbwutp.august.services/catalog","services":[{"path":"/v1/extract","method":"POST","price":"$0.05"},{"path":"/v1/web-extract","method":"POST","price":"$0.08"},{"path":"/v1/classify","method":"POST","price":"$0.03"},{"path":"/v1/table","method":"POST","price":"$0.05"},{"path":"/v1/pdf-extract","method":"POST","price":"$0.12"},{"path":"/v1/translate","method":"POST","price":"$0.02"},{"path":"/v1/redact","method":"POST","price":"$0.04"},{"path":"/v1/summarize","method":"POST","price":"$0.02"},{"path":"/v1/markdown","method":"POST","price":"$0.001"},{"path":"/v1/evidence","method":"POST","price":"$0.03"},{"path":"/v1/domain-audit","method":"POST","price":"$0.05"},{"path":"/v1/site-audit","method":"POST","price":"$2"},{"path":"/v1/bulk-extract","method":"POST","price":"$0.75"}]}}