Schema-First PDF JSON in One API Call (Try the Playground) 0xPdf has launched a schema-first PDF-to-JSON API that lets developers define a JSON schema or pick a template, send a PDF, and receive structured JSON in a single HTTP call or MCP tool. The service aims to replace brittle OCR-to-regex pipelines for extracting typed fields like vendor, totals, and line items from invoices and forms. A browser playground is available for testing with sample or uploaded PDFs. If you are wiring invoice/form extraction into an app, the usual trap is: OCR dump → brittle regex → custom parsers per vendor. 0xPdf flips that: you define a JSON schema or pick a template , send a PDF, get structured JSON back — one HTTP call or MCP tool. Open the browser playground and run sample PDFs or upload your own : https://0xpdf.io/samples?utm source=devto&utm medium=article&utm campaign=schema-first-playground https://0xpdf.io/samples?utm source=devto&utm medium=article&utm campaign=schema-first-playground No production wiring required to see whether the shape fits your workflow. curl -X POST "https://api.0xpdf.io/api/v1/pdf/parse" \ -H "X-API-Key: YOUR KEY" \ -F "file=@invoice.pdf" \ -F "schema template=invoice" Docs + SDKs: https://0xpdf.io/docs?utm source=devto&utm medium=article&utm campaign=schema-first-playground https://0xpdf.io/docs?utm source=devto&utm medium=article&utm campaign=schema-first-playground Developers and agents that need typed fields vendor, totals, line items — not a wall of OCR text. If the playground output looks right on 3–5 of your real PDFs, the API path is usually straightforward. Built by 0xPdf https://0xpdf.io/?utm source=devto&utm medium=article&utm campaign=schema-first-playground .