the402 endpoint detail

← All endpoints

format.openverbs.com v1 infer-schema

https://format.openverbs.com/v1/infer-schema

answers 402

Infer a JSON Schema (draft-07) from a sample document in any supported format. Types are inferred, present keys are marked required, and heterogeneous array item schemas are merged. The result validates out of the box with /v1/validate.

We sent a real POST request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.004
Network
base
Pay to
0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
POST
Response latency
229 ms
Payment options
1 usable of 1
Last checked
2026-09-06T01:20:16.613Z (23d ago)
Category
ai-inference

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fformat.openverbs.com%2Fv1%2Finfer-schema"