{"slug":"x402-freeq-one-tools-document-extract-7afbf1","title":"Document Extract to JSON","host":"x402.freeq.one","method":"POST","resource":"https://x402.freeq.one/tools/document_extract","category":"search","description":"Document Extract to JSON: Extract structured JSON from a document: sections, tables, key-values and caller-named fields. PDF, DOCX, PPTX, XLSX, CSV, EPUB, HTML, text. Deterministic parsing — no OCR, no LLM inference. Pay per call in USDC on Base via x402 — POST https://x402.freeq.one/tools/document_","price_listed":0.02,"price_asked":0.02,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":687,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"document_url":"https://x402.freeq.one/samples/report.pdf","fields":[],"file_b64":"file_b64","filename":"report.pdf","max_length":100000,"url":"https://x402.freeq.one/samples/report.pdf"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"description":"JSON request body. See GET /tools for the parameter catalog.","properties":{"document_url":{"description":"Direct URL to the document (alternative: file_b64)","example":"https://x402.freeq.one/samples/report.pdf","type":"string"},"fields":{"description":"Optional caller-named fields (max 20), each {name, type} with type string, number, boolean or date; unmatched fields return null, never guessed","items":{"properties":{"name":{"example":"invoice_number","type":"string"},"type":{"enum":["string","number","boolean","date"],"example":"string","type":"string"}},"type":"object"},"type":"array"},"file_b64":{"description":"Base64-encoded document bytes (alternative to document_url)","maxLength":28000000,"type":"string"},"filename":{"description":"Optional original filename","example":"report.pdf","type":"string"},"max_length":{"description":"Truncate converted text to N characters","example":100000,"type":"integer"},"url":{"description":"Alias for document_url","example":"https://x402.freeq.one/samples/report.pdf","type":"string"}},"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"description":{"type":"string"},"headers":{"additionalProperties":{"type":"string"},"type":"object"},"mcpServerUrl":{"type":"string"},"method":{"enum":["POST"],"type":"string"},"queryParams":{"additionalProperties":{"type":"string"},"type":"object"},"toolName":{"type":"string"},"transport":{"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"content":{"type":"array"},"isError":{"type":"boolean"},"structuredContent":{"type":"object"}},"type":"object"},"type":{"const":"json","type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":487,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":477,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":687,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":823,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":800,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":478,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":803,"error":null},{"day":"2026-11-19","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":827,"error":null},{"day":"2026-11-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":814,"error":null},{"day":"2026-11-17","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":483,"error":null},{"day":"2026-11-16","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":463,"error":null},{"day":"2026-11-15","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":814,"error":null},{"day":"2026-11-14","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":1210,"error":null},{"day":"2026-11-13","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":810,"error":null},{"day":"2026-11-12","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":802,"error":null},{"day":"2026-11-11","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":472,"error":null},{"day":"2026-11-10","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":469,"error":null},{"day":"2026-11-09","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":484,"error":null},{"day":"2026-11-08","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":498,"error":null},{"day":"2026-11-07","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":485,"error":null},{"day":"2026-11-06","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":475,"error":null},{"day":"2026-11-05","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":579,"error":null},{"day":"2026-11-04","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":486,"error":null},{"day":"2026-11-03","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":583,"error":null},{"day":"2026-11-02","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":1114,"error":null},{"day":"2026-11-01","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":905,"error":null},{"day":"2026-10-31","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":916,"error":null},{"day":"2026-10-29","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":908,"error":null}],"description_full":"Document Extract to JSON: Extract structured JSON from a document: sections, tables, key-values and caller-named fields. PDF, DOCX, PPTX, XLSX, CSV, EPUB, HTML, text. Deterministic parsing — no OCR, no LLM inference. Pay per call in USDC on Base via x402 — POST https://x402.freeq.one/tools/document_extract.","last_updated":"2026-11-20T18:50:02.288Z","schemes":["exact"]}