{"api":"v1","generated_at":"2026-09-15T21:51:02.390Z","licence":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/","attribution":"TOLL, with a link to the page cited"},"page":"https://tollindex.com/e/doc-extract-api-thestarboy9696-4ef-workers-dev-extract-receipt-d54192","pinned_page":"https://tollindex.com/e/doc-extract-api-thestarboy9696-4ef-workers-dev-extract-receipt-d54192/at/2026-09-15T21-20Z","pinned":false,"method":"https://tollindex.com/ledger/method","snapshot_at":"2026-09-15T21:20:12.737Z","snapshot_stamp":"2026-09-15T21-20Z","endpoint":{"slug":"doc-extract-api-thestarboy9696-4ef-workers-dev-extract-receipt-d54192","canonical_url":"https://doc-extract-api.thestarboy9696-4ef.workers.dev/extract/receipt","resource":"https://doc-extract-api.thestarboy9696-4ef.workers.dev/extract/receipt","http_method":"POST","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"description":"SchemaLock — extract structured JSON data from a receipt PDF or image (merchant, items, subtotal, tax, tip, total, payment method). Unlike generic OCR (raw text) or text-only extraction APIs, this takes the raw file directly and validates against source math: line items checked against subtotal/tax/total, dates and currency checked, one automatic retry. If it still fails after that, you aren't charged — settlement is skipped, not just flagged.","service_name":"SchemaLock","declared_category":null,"declared_tags":["receipt","pdf","json","document-extraction","expense"],"route_template":null,"registry_updated":"2026-09-08T19:24:55.466Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"extract receipt","category":"scraping","first_observed_by_toll":"2026-09-10T19:08:24.178Z","last_observed_by_toll":"2026-09-15T21:20:12.737Z","observation_began":"2026-09-10"},"presence":{"listed_now":true,"first_absent_at":null,"delisting_confirmed_at":null,"events":[{"registry":"cdp","at":"2026-09-10T19:08:24.178Z","event":"listed"}]},"accepts":[{"registry":"cdp","ordinal":0,"network":"eip155:8453","asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","asset_name":"USD Coin","symbol":"USDC","decimals":6,"amount_display":"0.02 USDC","amount_units":0.02,"decimals_known":true,"pay_to":"0x65c767C483dd862d08Bc3d6500Cd4CD770Ae28ED","scheme":"exact"}],"counters":{"observed_at":"2026-09-15T21:20:12.737Z","calls_30d":3,"unique_payers_30d":1,"last_called_at":"2026-09-08T19:24:53.380Z"},"validation":{"latest":{"observed_at":"2026-09-15T06:39:46.211Z","state":"pass","failed_checks":[],"endpoint_http_status":402,"run_id":"daily-2026-09-15"},"uptime":[{"days":7,"observed":5,"passed":5,"ratio":1},{"days":30,"observed":5,"passed":5,"ratio":1},{"days":90,"observed":5,"passed":5,"ratio":1}],"history_90d":[{"observed_at":"2026-09-15T06:39:46.211Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-15","state_changed":false},{"observed_at":"2026-09-14T06:08:24.431Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-14","state_changed":false},{"observed_at":"2026-09-13T05:59:52.673Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-13","state_changed":false},{"observed_at":"2026-09-12T08:17:08.824Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-12","state_changed":false},{"observed_at":"2026-09-11T13:01:25.609Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-11","state_changed":true}]},"seller":{"wallet":"0x65c767C483dd862d08Bc3d6500Cd4CD770Ae28ED","page":"https://tollindex.com/seller/0x65c767C483dd862d08Bc3d6500Cd4CD770Ae28ED","endpoints":5,"hosts":1},"reports":0,"registry_record":{"cdp":[{"tags":["receipt","pdf","json","document-extraction","expense"],"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"payTo":"0x65c767C483dd862d08Bc3d6500Cd4CD770Ae28ED","amount":"20000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":300}],"quality":{"lastCalledAt":"2026-09-08T19:24:53.38Z","l30DaysTotalCalls":3,"l30DaysUniquePayers":1},"resource":"https://doc-extract-api.thestarboy9696-4ef.workers.dev/extract/receipt","extensions":{"bazaar":{"info":{"input":{"body":{"file":"<binary: PDF, PNG, or JPEG of a receipt, max 15MB>"},"type":"http","method":"POST","bodyType":"form-data"},"output":{"type":"json","example":{"data":{"tax":0.73,"tip":1.5,"items":[{"amount":4.75,"quantity":1,"unit_price":4.75,"description":"Latte"},{"amount":3.5,"quantity":1,"unit_price":3.5,"description":"Bagel w/ cream cheese"}],"total":10.48,"currency":"USD","merchant":{"name":"Corner Cafe","phone":"212-555-0199","address":"88 5th Ave, New York, NY 10011"},"subtotal":8.25,"confidence":{"fields":{"total":0.99,"merchant":0.98},"overall":0.96},"payment_method":"Visa •••• 4242","transaction_date":"2026-08-12","transaction_time":"13:42"},"retried":false,"validation_warnings":[]}}},"schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}}}},"description":"SchemaLock — extract structured JSON data from a receipt PDF or image (merchant, items, subtotal, tax, tip, total, payment method). Unlike generic OCR (raw text) or text-only extraction APIs, this takes the raw file directly and validates against source math: line items checked against subtotal/tax/total, dates and currency checked, one automatic retry. If it still fails after that, you aren't charged — settlement is skipped, not just flagged.","lastUpdated":"2026-09-08T19:24:55.466Z","serviceName":"SchemaLock","x402Version":2}]}}