{"x402Version":2,"payTo":"0x65c767C483dd862d08Bc3d6500Cd4CD770Ae28ED","resources":[{"id":8240,"slug":"8240","resource":"https://doc-extract-api.thestarboy9696-4ef.workers.dev/extract/contract","description":"SchemaLock — parse a contract for its key terms as structured JSON data from a PDF or image (parties, dates, term, payment terms, termination clause, governing law, obligations, signatures). Unlike generic OCR or text-only extraction APIs, this takes the raw file directly and validates date logic (expiration after effective date), one automatic retry. Still fails after that, you aren't charged. Per-field confidence included.","type":"http","x402Version":2,"accepts":[{"scheme":"exact","network":"eip155:8453","payTo":"0x65c767C483dd862d08Bc3d6500Cd4CD770Ae28ED","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"30000","maxTimeoutSeconds":300}],"outputSchema":{"bazaar":{"info":{"input":{"body":{"file":"<binary: PDF, PNG, or JPEG of a contract, max 15MB>"},"bodyType":"form-data","method":"POST","type":"http"},"output":{"example":{"data":{"confidence":{"fields":{"effective_date":0.97,"parties":0.98},"overall":0.96},"effective_date":"2026-01-01","expiration_date":"2026-12-31","governing_law":"State of Delaware","key_obligations":[{"obligation":"Deliver services per SOW","party":"Vendor"},{"obligation":"Pay invoices within 30 days","party":"Client"}],"parties":[{"name":"Acme Supply Co.","role":"Vendor"},{"name":"Brandon Strouse","role":"Client"}],"payment_terms":"Net 30","signatures":[{"date":"2026-01-01","name":"Jane Doe","signed":true,"title":"CEO, Acme Supply Co."},{"date":"2026-01-01","name":"Brandon Strouse","signed":true,"title":"Client"}],"term":"12 months, auto-renews unless terminated with 30 days notice","termination_clause":"Either party may terminate with 30 days written notice","title":"Master Services Agreement"},"retried":false,"validation_warnings":[]},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{}},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"}}},"tags":["bazaar"],"sourceHost":"doc-extract-api.thestarboy9696-4ef.workers.dev","lastUpdated":"2026-09-08T19:25:06.051Z","quality":{"calls30d":4,"uniquePayers30d":1,"lastCalledAt":"2026-09-08T19:25:05.702Z"},"liveness":{},"verified":false,"featured":false},{"id":8242,"slug":"8242","resource":"https://doc-extract-api.thestarboy9696-4ef.workers.dev/extract/invoice","description":"SchemaLock — extract structured JSON data 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 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.","type":"http","x402Version":2,"accepts":[{"scheme":"exact","network":"eip155:8453","payTo":"0x65c767C483dd862d08Bc3d6500Cd4CD770Ae28ED","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"20000","maxTimeoutSeconds":300}],"outputSchema":{"bazaar":{"info":{"input":{"body":{"file":"<binary: PDF, PNG, or JPEG of an invoice, max 15MB>"},"bodyType":"form-data","method":"POST","type":"http"},"output":{"example":{"data":{"bill_to":{"address":"55 Market St, Austin, TX 78701","name":"Brandon Strouse"},"confidence":{"fields":{"total":0.99,"vendor":0.99},"overall":0.97},"currency":"USD","due_date":"2026-08-31","invoice_date":"2026-08-01","invoice_number":"INV-20268","line_items":[{"amount":45,"description":"Widget A (steel)","quantity":10,"unit_price":4.5},{"amount":30,"description":"Widget B (plastic)","quantity":25,"unit_price":1.2},{"amount":18,"description":"Shipping crate","quantity":1,"unit_price":18}],"payment_terms":"Net 30","subtotal":93,"tax":7.44,"total":100.44,"vendor":{"address":"123 Industrial Ave, Springfield, IL 62701","name":"Acme Supply Co.","tax_id":"12-3456789"}},"retried":false,"validation_warnings":[]},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{}},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"}}},"tags":["bazaar"],"sourceHost":"doc-extract-api.thestarboy9696-4ef.workers.dev","lastUpdated":"2026-09-08T19:24:45.166Z","quality":{"calls30d":4,"uniquePayers30d":2,"lastCalledAt":"2026-09-08T19:24:42.573Z"},"liveness":{},"verified":false,"featured":false},{"id":8238,"slug":"8238","resource":"https://doc-extract-api.thestarboy9696-4ef.workers.dev/extract/custom","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.","type":"http","x402Version":2,"accepts":[{"scheme":"exact","network":"eip155:8453","payTo":"0x65c767C483dd862d08Bc3d6500Cd4CD770Ae28ED","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"20000","maxTimeoutSeconds":300}],"outputSchema":{"bazaar":{"info":{"input":{"body":{"content":"<string: raw text or HTML, e.g. an already-scraped web page, max 100000 chars — send this OR 'file', not both>","file":"<binary: PDF, PNG, or JPEG/WEBP, max 15MB — send this OR 'content', not both>","instructions":"<optional string: extra guidance for the model, max 1000 chars>","schema":"<string: JSON Schema, type \"object\", e.g. {\"type\":\"object\",\"properties\":{\"order_id\":{\"type\":\"string\"},\"ship_date\":{\"type\":\"string\"},\"total_weight_kg\":{\"type\":\"number\"}}}>"},"bodyType":"form-data","method":"POST","type":"http"},"output":{"example":{"data":{"order_id":"PO-88213","ship_date":"2026-07-14","total_weight_kg":42.5},"retried":false,"validation_warnings":[]},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{}},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"}}},"tags":["bazaar"],"sourceHost":"doc-extract-api.thestarboy9696-4ef.workers.dev","lastUpdated":"2026-09-08T19:25:19.108Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-09-08T19:25:18.474Z"},"liveness":{},"verified":false,"featured":false},{"id":8239,"slug":"8239","resource":"https://doc-extract-api.thestarboy9696-4ef.workers.dev/extract/resume","description":"SchemaLock — extract structured JSON data from a resume PDF or image (contact info, work experience, education, skills). Unlike generic OCR or text-only extraction APIs, this takes the raw file directly and validates email format and work-history date order, one automatic retry. Still fails after that, you aren't charged. No content stored after the response returns.","type":"http","x402Version":2,"accepts":[{"scheme":"exact","network":"eip155:8453","payTo":"0x65c767C483dd862d08Bc3d6500Cd4CD770Ae28ED","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"20000","maxTimeoutSeconds":300}],"outputSchema":{"bazaar":{"info":{"input":{"body":{"file":"<binary: PDF, PNG, or JPEG of a resume, max 15MB>"},"bodyType":"form-data","method":"POST","type":"http"},"output":{"example":{"data":{"candidate":{"email":"jordan.rivera@example.com","location":"Austin, TX","name":"Jordan Rivera","phone":"512-555-0142"},"confidence":{"fields":{"candidate":0.98,"work_experience":0.94},"overall":0.95},"education":[{"degree":"B.S.","field":"Computer Science","graduation_date":"2018-05","institution":"University of Texas at Austin"}],"skills":["TypeScript","Node.js","PostgreSQL"],"summary":"Backend engineer with 6 years building payment infrastructure.","work_experience":[{"company":"Acme Supply Co.","description":"Built and maintained payment processing systems.","end_date":null,"start_date":"2022-03","title":"Senior Backend Engineer"}]},"retried":false,"validation_warnings":[]},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{}},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"}}},"tags":["bazaar"],"sourceHost":"doc-extract-api.thestarboy9696-4ef.workers.dev","lastUpdated":"2026-09-08T19:25:15.528Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-09-08T19:25:13.256Z"},"liveness":{},"verified":false,"featured":false},{"id":8241,"slug":"8241","resource":"https://doc-extract-api.thestarboy9696-4ef.workers.dev/extract/receipt","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.","type":"http","x402Version":2,"accepts":[{"scheme":"exact","network":"eip155:8453","payTo":"0x65c767C483dd862d08Bc3d6500Cd4CD770Ae28ED","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"20000","maxTimeoutSeconds":300}],"outputSchema":{"bazaar":{"info":{"input":{"body":{"file":"<binary: PDF, PNG, or JPEG of a receipt, max 15MB>"},"bodyType":"form-data","method":"POST","type":"http"},"output":{"example":{"data":{"confidence":{"fields":{"merchant":0.98,"total":0.99},"overall":0.96},"currency":"USD","items":[{"amount":4.75,"description":"Latte","quantity":1,"unit_price":4.75},{"amount":3.5,"description":"Bagel w/ cream cheese","quantity":1,"unit_price":3.5}],"merchant":{"address":"88 5th Ave, New York, NY 10011","name":"Corner Cafe","phone":"212-555-0199"},"payment_method":"Visa •••• 4242","subtotal":8.25,"tax":0.73,"tip":1.5,"total":10.48,"transaction_date":"2026-08-12","transaction_time":"13:42"},"retried":false,"validation_warnings":[]},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{}},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"}}},"tags":["bazaar"],"sourceHost":"doc-extract-api.thestarboy9696-4ef.workers.dev","lastUpdated":"2026-09-08T19:24:55.466Z","quality":{"calls30d":3,"uniquePayers30d":1,"lastCalledAt":"2026-09-08T19:24:53.38Z"},"liveness":{},"verified":false,"featured":false}]}