{"slug":"x402-tools-com-v1-extract-72a41c","title":"Extract structured data","host":"x402-tools.com","method":"POST","resource":"https://x402-tools.com/v1/extract","category":"code","description":"Extract structured data: Give it a URL or text plus either a JSON schema or a simple list of field names, and it returns JSON that matches. Good for turning product pages, job posts, invoices, articles or profiles into structured records. Missing values come back as null instead of being made up.","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":2,"answered_7d":2,"latency_ms_median":34,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"fields":{"in_stock":"boolean","price":"number","title":"string"},"url":"https://example.com/product/123"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"fields":{"description":"Simple alternative to schema: a list of field names, or an object of field name to type/description.","type":"object"},"instructions":{"description":"Optional extra guidance, e.g. 'prices in EUR'.","type":"string"},"schema":{"description":"A JSON schema for the output object.","type":"object"},"text":{"description":"Text to extract from, up to 25000 characters.","type":"string"},"url":{"description":"URL to extract from (use this or text).","type":"string"}},"required":[],"type":"object"},"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":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-29","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":36,"error":null},{"day":"2026-11-28","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":32,"error":null}],"description_full":"Extract structured data: Give it a URL or text plus either a JSON schema or a simple list of field names, and it returns JSON that matches. Good for turning product pages, job posts, invoices, articles or profiles into structured records. Missing values come back as null instead of being made up.","last_updated":"2026-11-27T23:47:23.136Z","schemes":["exact"]}