{"x402Version":1,"service":{"name":"schemasure","title":"SchemaSure — pay-per-call APIs for autonomous agents","description":"Eleven pay-per-call HTTP APIs for autonomous agents, settled over x402 V2 in USDC on Base mainnet. Two families: guards that answer whether an action is safe before it becomes irreversible — a Base transaction, a token approval, a payment destination, a PostgreSQL statement, a shell command — and resolvers that turn ambiguous input into a checked answer, covering schema-valid extraction from text or document images, business time across DST and holidays, untrusted page content, on-chain address state, and transaction receipts. Every route returns explainable evidence rather than a confidence score, reports 'unknown' instead of guessing, retains nothing, and charges only for a usable answer. No signup, API keys, or accounts. This origin serves the two extraction routes; the other nine run on their own subdomains and publish their own schemas, benchmarks, and payment manifests.","category":"data-transformation","tags":["x402","structured-output","ai-agents","structured-data","json","extraction","schema","json-schema","text-to-json","image-to-json","ocr","vision","data-cleaning","parsing","llm","agents"],"icon":"https://schemasure.com/icon.svg","homepage":"https://schemasure.com","documentation":"https://schemasure.com/llms.txt","openapi":"https://schemasure.com/openapi.json","pricing":"https://schemasure.com/.well-known/pricing.json","benchmarks":"https://schemasure.com/.well-known/benchmarks.json","version":"0.2.0"},"payment":{"enabled":true,"priceUsd":0.02,"pricing":"$0.02/call, flat, failed calls free","chargeModel":"charge-only-on-success","freeCallsPerWallet":3},"accepts":[{"scheme":"exact","network":"base","maxAmountRequired":"20000","resource":"https://schemasure.com/extract","description":"Eleven pay-per-call APIs for the decisions an agent cannot afford to guess. One payment rail, evidence with every answer, and no charge for a failed call.","mimeType":"application/json","payTo":"0x9876af0F6D8Ed5155Cd02d1ca56D128601612690","maxTimeoutSeconds":60,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","outputSchema":{"type":"object","required":["data","meta"],"properties":{"data":{"description":"Extracted value; guaranteed to validate against the request `schema`."},"meta":{"type":"object","required":["repairs","latencyMs","validated"],"properties":{"repairs":{"type":"integer"},"latencyMs":{"type":"integer"},"validated":{"const":true},"deterministicFields":{"type":"array","items":{"type":"string"}}}}}},"extra":{"name":"USD Coin","version":"2"}}],"resource":{"name":"schemasure: extract_to_schema","description":"Eleven pay-per-call HTTP APIs for autonomous agents, settled over x402 V2 in USDC on Base mainnet. Two families: guards that answer whether an action is safe before it becomes irreversible — a Base transaction, a token approval, a payment destination, a PostgreSQL statement, a shell command — and resolvers that turn ambiguous input into a checked answer, covering schema-valid extraction from text or document images, business time across DST and holidays, untrusted page content, on-chain address state, and transaction receipts. Every route returns explainable evidence rather than a confidence score, reports 'unknown' instead of guessing, retains nothing, and charges only for a usable answer. No signup, API keys, or accounts. This origin serves the two extraction routes; the other nine run on their own subdomains and publish their own schemas, benchmarks, and payment manifests.","endpoint":"https://schemasure.com/extract","method":"POST","tags":["x402","structured-output","ai-agents","structured-data","json","extraction","schema","json-schema","text-to-json","image-to-json","ocr","vision","data-cleaning","parsing","llm","agents"],"icon":"https://schemasure.com/icon.svg","inputSchema":{"type":"object","additionalProperties":false,"required":["input","schema"],"properties":{"input":{"type":"string","minLength":1,"description":"Raw unstructured content to extract from (plain text or HTML)."},"inputType":{"type":"string","enum":["text","html","auto"],"default":"auto","description":"How to interpret `input`: plain text, HTML, or auto-detect (default)."},"schema":{"type":"object","description":"JSON Schema (draft 2020-12) that the returned `data` is guaranteed to satisfy."},"options":{"type":"object","additionalProperties":false,"properties":{"maxRepairs":{"type":"integer","minimum":0,"maximum":5,"description":"Max validate->re-prompt repair iterations."},"strict":{"type":"boolean","default":true,"description":"Drop fields not present in the schema."},"deterministic":{"type":"boolean","default":true,"description":"Enable deterministic pre-extraction hints."}}}}},"outputSchema":{"type":"object","required":["data","meta"],"properties":{"data":{"description":"Extracted value; guaranteed to validate against the request `schema`."},"meta":{"type":"object","required":["repairs","latencyMs","validated"],"properties":{"repairs":{"type":"integer"},"latencyMs":{"type":"integer"},"validated":{"const":true},"deterministicFields":{"type":"array","items":{"type":"string"}}}}}},"examples":[{"request":{"input":"Invoice #A-1042 — Acme Corp. Total due: $1,299.00 USD on 2026-08-01.","schema":{"type":"object","additionalProperties":false,"required":["invoiceNumber","total","currency","dueDate"],"properties":{"invoiceNumber":{"type":"string"},"total":{"type":"number"},"currency":{"type":"string","enum":["USD","EUR","GBP"]},"dueDate":{"type":"string","format":"date"}}}},"response":{"data":{"invoiceNumber":"A-1042","total":1299,"currency":"USD","dueDate":"2026-08-01"},"meta":{"repairs":0,"latencyMs":640,"validated":true}}}]},"mcp":{"tool":"extract_to_schema","transport":"stdio","description":"Eleven pay-per-call APIs for the decisions an agent cannot afford to guess. One payment rail, evidence with every answer, and no charge for a failed call."}}