{"api":"v1","generated_at":"2026-09-15T23:43:15.013Z","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-custom-e3a5fe","pinned_page":"https://tollindex.com/e/doc-extract-api-thestarboy9696-4ef-workers-dev-extract-custom-e3a5fe/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-custom-e3a5fe","canonical_url":"https://doc-extract-api.thestarboy9696-4ef.workers.dev/extract/custom","resource":"https://doc-extract-api.thestarboy9696-4ef.workers.dev/extract/custom","http_method":"POST","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"description":"SchemaLock — extract structured JSON data from any PDF/image or raw text/HTML, converting it 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. Takes a PDF/image file OR raw text/HTML you already have (e.g. a scraped page). Schema-conformance, not fact-checking. A rejected schema is a 400 and costs nothing.","service_name":"SchemaLock","declared_category":null,"declared_tags":["custom-schema","pdf","json","document-extraction","structured-data"],"route_template":null,"registry_updated":"2026-09-08T19:25:19.108Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"extract custom","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:25:18.474Z"},"validation":{"latest":{"observed_at":"2026-09-15T06:49:51.910Z","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:49:51.910Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-15","state_changed":false},{"observed_at":"2026-09-14T06:17:33.942Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-14","state_changed":false},{"observed_at":"2026-09-13T06:08:20.024Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-13","state_changed":false},{"observed_at":"2026-09-12T08:25:48.251Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-12","state_changed":false},{"observed_at":"2026-09-11T14:18:11.332Z","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":["custom-schema","pdf","json","document-extraction","structured-data"],"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:25:18.474Z","l30DaysTotalCalls":3,"l30DaysUniquePayers":1},"resource":"https://doc-extract-api.thestarboy9696-4ef.workers.dev/extract/custom","extensions":{"bazaar":{"info":{"input":{"body":{"file":"<binary: PDF, PNG, or JPEG/WEBP, max 15MB — send this OR 'content', not both>","schema":"<string: JSON Schema, type \"object\", e.g. {\"type\":\"object\",\"properties\":{\"order_id\":{\"type\":\"string\"},\"ship_date\":{\"type\":\"string\"},\"total_weight_kg\":{\"type\":\"number\"}}}>","content":"<string: raw text or HTML, e.g. an already-scraped web page, max 100000 chars — send this OR 'file', not both>","instructions":"<optional string: extra guidance for the model, max 1000 chars>"},"type":"http","method":"POST","bodyType":"form-data"},"output":{"type":"json","example":{"data":{"order_id":"PO-88213","ship_date":"2026-07-14","total_weight_kg":42.5},"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 any PDF/image or raw text/HTML, converting it 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. Takes a PDF/image file OR raw text/HTML you already have (e.g. a scraped page). Schema-conformance, not fact-checking. A rejected schema is a 400 and costs nothing.","lastUpdated":"2026-09-08T19:25:19.108Z","serviceName":"SchemaLock","x402Version":2}]}}