v1

latestOpenAPI 3.1.02026-08-044418.3 KB
Image extraction · x402 V2

Extract schema-valid JSON from a document image with x402 V2.

Always paid from the first call, with no V1 or free image route. Send base64-encoded PNG, JPEG, or WebP bytes plus a JSON Schema. Decode the PAYMENT-REQUIRED response header, sign the live terms, and retry the identical request with PAYMENT-SIGNATURE. The server verifies first and settles only after producing schema-valid JSON. Image bytes are processed transiently and are not persisted by SchemaSure.

post/v2/extract-image

Request body

schemaobject required

JSON Schema (draft 2020-12) that the returned data is guaranteed to satisfy.

Response

Schema-valid extraction. Paid responses include PAYMENT-RESPONSE.

{"stackTrail":"components:schemas:ExtractSuccess:properties:data","oasType":"schema","type":"unknown","description":"Extracted value; guaranteed to validate against the request `schema`."}