{"slug":"x402-agentindex-world-extract-f55b4f","title":"Extract structured data from a URL or raw text into strict JSON matching a schem","host":"x402.agentindex.world","method":"POST","resource":"https://x402.agentindex.world/extract","category":"search","description":"Extract structured data from a URL or raw text into strict JSON matching a schema you provide. Fields the content doesn't support come back null - never an invented or approximate value, and an unmatchable schema returns an explicit error. Try GET /extract/sample. Part of the AgentIndex content kit ","price_listed":0.002,"price_asked":0.002,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":930,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"schema":{"properties":{"in_stock":{"type":"boolean"},"price":{"type":"number"},"product_name":{"type":"string"}},"type":"object"},"text":"Widget Pro is our flagship gadget, priced at $29.99 and currently in stock."},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"schema":{"description":"JSON Schema describing the fields to extract. The response's `data` field will strictly conform to it.","type":"object"},"text":{"description":"Raw text to extract from. Provide this or url, not both.","type":"string"},"url":{"description":"URL to read and extract from. Provide this or text, not both.","type":"string"}},"required":["schema"]},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"data":{"description":"Extracted data, matching the requested schema's shape - fields the content doesn't support come back null rather than an invented value (see missing_fields).","type":"object"},"missing_fields":{"description":"Top-level keys in data the model could not find in the content and returned as null.","items":{"type":"string"},"type":"array"},"x402_receipt":{"description":"Billing and provenance receipt for this call.","type":"object"}},"required":["data","missing_fields"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-28","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":930,"error":null}],"description_full":"Extract structured data from a URL or raw text into strict JSON matching a schema you provide. Fields the content doesn't support come back null - never an invented or approximate value, and an unmatchable schema returns an explicit error. Try GET /extract/sample. Part of the AgentIndex content kit (pdf, web-read, extract, summarize, detect-language) - see GET /capabilities.","last_updated":"2026-09-27T18:38:06.123Z","schemes":["exact"]}