v1

latestOpenAPI 3.1.02026-08-044418.3 KB
Primary x402 V2 API

Primary production API: extract schema-valid JSON with x402 V2.

Always paid from the first call. Send the JSON body, 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 a successful schema-valid response. Trust the live challenge for the price, asset, payee, and resource rather than hardcoding payment terms.

post/v2/extract

Request body

inputstring required

Raw unstructured content to extract from (plain text or HTML).

inputType'text' | 'html' | 'auto'

How to interpret input: plain text, HTML, or auto-detect (default).

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`."}