doc_extract
Structured data from any document for AI agents, $0.25 per call: send a PDF, DOCX, XLSX, HTML, image or plain text plus a JSON Schema, get back one JSON object filled from the document — invoices, contracts, forms, CVs, receipts. Fields the document does not state come back null. One call, url or base64 (max 10 MB). Unreadable input means a 400 and you pay nothing. USDC on Base, no account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | http(s) link to the file; we fetch it. Send this OR file_base64. | |
| text | No | Plain document text instead of a file (max 120k chars) | |
| schema | Yes | JSON Schema (type: object, with properties) describing the fields to extract | |
| filename | No | Optional original filename of file_base64 (its extension helps detect the type) | |
| media_type | No | Optional MIME type of file_base64 (helps tell DOCX/XLSX apart) | |
| file_base64 | No | The file bytes, base64-encoded. Send this OR url. | |
| instructions | No | Optional extra extraction instructions |