the402 endpoint detail

← All endpoints

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

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

answers 402

SchemaLock — extract structured JSON from any PDF or image into a JSON Schema you supply, not limited to invoice/receipt/contract/resume. Unlike the fixed invoice/receipt/contract/resume endpoints, this accepts any JSON Schema — you define the fields. Same engine: raw file in, forced tool-use against your schema out. No semantic validation (schema-conformance, not fact-checking). Schema capped at

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

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