{"slug":"x402-hydratrader-ai-v1-document-extract-ac5fb8","title":"Extract JSON from a PDF or long document into your schema, with a verified sourc","host":"x402.hydratrader.ai","method":"POST","resource":"https://x402.hydratrader.ai/v1/document-extract","category":"search","description":"Extract JSON from a PDF or long document into your schema, with a verified source quote and page number for every field. Public PDF/HTML URL or pasted text, up to 40 pages. $0.30 USDC on Base via x402. No API key. Text PDFs only (no OCR); no login/paywall sources.","price_listed":0.3,"price_asked":0.3,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":596,"reported_calls_30d":0,"reported_payers_30d":0,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"client_ref":"demo-1","schema":{"properties":{"author":{"type":"string"},"category":{"type":"string"},"published":{"type":"string"},"rfc_number":{"type":"integer"},"title":{"type":"string"}},"required":["rfc_number","title"],"type":"object"},"source":{"type":"public_url","url":"https://www.rfc-editor.org/rfc/pdfrfc/rfc2119.txt.pdf"}},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"client_ref":{"type":"string"},"instructions":{"description":"Optional formatting hints (e.g. 'amounts in USD')","maxLength":1000,"type":"string"},"pages":{"description":"Optional PDF page selection like '1-20,25' (≤40 pages; required when the PDF has >40 pages)","type":"string"},"schema":{"description":"JSON Schema (type=object) for the record you want; 1–40 top-level properties; nested objects/arrays allowed","type":"object"},"source":{"properties":{"text":{"description":"Pasted document text (type=text)","maxLength":160000,"type":"string"},"type":{"enum":["text","public_url"],"type":"string"},"url":{"description":"Public http(s) PDF, HTML or text URL (type=public_url); ≤10 MB","format":"uri","type":"string"}},"required":["type"],"type":"object"}},"required":["source","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":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-10","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.3,"price_match":true,"latency_ms":596,"error":null}],"description_full":"Extract JSON from a PDF or long document into your schema, with a verified source quote and page number for every field. Public PDF/HTML URL or pasted text, up to 40 pages. $0.30 USDC on Base via x402. No API key. Text PDFs only (no OCR); no login/paywall sources.","last_updated":"2026-10-10T17:03:14.932Z","schemes":["exact"]}