← Back to directory

Extract data from a document. Extract named fields from a document as JSON: give...

https://agent-data-tools.revmesh2074.workers.dev/document/extract

Overview

Extract named fields from a document as JSON: give a PDF, Word, Excel or PowerPoint file, a scan or a photo (PNG, JPEG, WebP) by URL or in a POST body (up to 10 MB; images 3 MB) and the field names you want, such as invoice_number, total, due_date. An AI model reads the file, scans by OCR, and returns one JSON object, with null where a value is not stated. Use to turn invoices, receipts, orders and contracts into rows.

Protocol x402
Price $0.03
Payment Asset USD Coin
Payment Network eip155:8453
Category media/images
Provider Extract data from a document
Source bazaar
Indexed 2026-11-15 06:01:41

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "method": "GET", "queryParams": { "fields": "invoice", "url": "https://raw.githubusercontent.com/invoice-x/invoice2data/master/tests/compare/coolblue1.pdf" }, "type": "http" }

Output Schema

{ "example": { "charsRead": 1069, "data": { "currency": "EUR", "customer_name": "Pino Bluebird", "customer_vat_number": null, "due_date": null, "iban": "NL50INGB0683251309", "invoice_date": "2014-04-19", "invoice_number": "993548900", "line_items": [ { "amount": 399, "description": "Apple iPad Air Wifi 16 GB Zilver", "quantity": 1, "unit_price": 399 }, { "amount": 69.99, "description": "Decoded Leather Slim Cover Apple iPad Air 2 Zwart", "quantity": 1, "unit_price": 69.99 }, { "amount": 189, "description": "Nintendo 3DS XL Wit + Blauw", "quantity": 1, "unit_price": 189 }, { "amount": 14.99, "description": "Nintendo AC-adapter", "quantity": 1, "unit_price": 14.99 }, { "amount": 44.99, "description": "Mario Kart 7 3DS", "quantity": 1, "unit_price": 44.99 } ], "payment_reference": null, "subtotal": 593.36, "supplier_address": "Weena 664\n3012 CN Rotterdam\nNederland", "supplier_name": "Coolblue B.V.", "supplier_vat_number": "NL810433941B01", "tax_amount": 124.61, "total": 717.97 }, "missing": [ "customer_vat_number", "due_date", "payment_reference" ], "model": "@cf/openai/gpt-oss-120b", "truncated": false, "type": "pdf", "url": "https://raw.githubusercontent.com/invoice-x/invoice2data/master/tests/compare/coolblue1.pdf" }, "type": "json" }