the402 endpoint detail

← All endpoints

doc-extract-api.thestarboy9696-4ef.workers.dev extract invoice

https://doc-extract-api.thestarboy9696-4ef.workers.dev/extract/invoice

answers 402

SchemaLock — extract structured JSON from an invoice PDF or image (vendor, line items, subtotal, tax, total, dates, payment terms). Unlike generic OCR (raw text) or text-only extraction APIs, this takes the raw file directly and returns a financially-validated schema: line items checked against subtotal/tax/total, dates and currency validated, one automatic retry on failure, per-field confidence i

We sent a real POST request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.05
Network
base
Pay to
0x65c767C483dd862d08Bc3d6500Cd4CD770Ae28ED
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
POST
Response latency
789 ms
Payment options
1 usable of 1
Last checked
2026-09-06T01:13:01.352Z (34d ago)
Category
web-scraping

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fdoc-extract-api.thestarboy9696-4ef.workers.dev%2Fextract%2Finvoice"