{"slug":"schemasure-com-v2-extract-image-2ba218","title":"Extract strict, JSON-Schema-valid typed JSON from a PNG, JPEG, or WebP document ","host":"schemasure.com","method":"POST","resource":"https://schemasure.com/v2/extract-image","category":"image","description":"Extract strict, JSON-Schema-valid typed JSON from a PNG, JPEG, or WebP document image. Failed extraction calls are not settled. Always-paid x402 V2 image API.","price_listed":0.03,"price_asked":0.03,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":182,"reported_calls_30d":34,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"image":{"data":"<base64-encoded PNG, JPEG, or WebP bytes>","mimeType":"image/png"},"schema":{"additionalProperties":false,"properties":{"invoiceNumber":{"description":"Invoice identifier exactly as printed.","type":"string"},"total":{"description":"Final amount due as a number, without currency symbols.","type":"number"},"vendor":{"type":"string"}},"required":["invoiceNumber","vendor","total"],"type":"object"}},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"image":{"additionalProperties":false,"properties":{"data":{"contentEncoding":"base64","description":"Base64-encoded image bytes without a data-URL prefix.","minLength":1,"type":"string"},"mimeType":{"description":"Declared image media type; it must match the decoded file signature.","enum":["image/png","image/jpeg","image/webp"],"type":"string"}},"required":["data","mimeType"],"type":"object"},"options":{"additionalProperties":false,"properties":{"maxRepairs":{"description":"Max validate->re-prompt repair iterations.","maximum":5,"minimum":0,"type":"integer"},"strict":{"default":true,"description":"Drop fields not present in the schema.","type":"boolean"}},"type":"object"},"schema":{"description":"JSON Schema (draft 2020-12) that the returned `data` is guaranteed to satisfy.","type":"object"}},"required":["image","schema"],"type":"object"},"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":{"properties":{"data":{"description":"Extracted value; guaranteed to validate against the request `schema`."},"meta":{"properties":{"deterministicFields":{"items":{"type":"string"},"type":"array"},"latencyMs":{"type":"integer"},"repairs":{"type":"integer"},"validated":{"const":true}},"required":["repairs","latencyMs","validated"],"type":"object"}},"required":["data","meta"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":182,"error":null}],"description_full":"Extract strict, JSON-Schema-valid typed JSON from a PNG, JPEG, or WebP document image. Failed extraction calls are not settled. Always-paid x402 V2 image API.","last_updated":"2026-09-24T07:39:12.534Z","schemes":["exact"]}