the402 endpoint detail

← All endpoints

animica.dev json repair

https://animica.dev/x402/json/repair

answers 402

Hand over malformed model output and a JSON Schema; get back JSON that provably satisfies it. Tries a pure-parse fast path FIRST and returns immediately when the input is already valid — you are not charged a model call for text that merely looked broken. Otherwise a small model repairs it and the result is validated in code before it is returned. Priced per call. For high-volume use, buy prepaid

We sent a real POST request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.0018
Network
base
Pay to
0x5D17c40FD6b119dc6006C4Ab3C20a917FCaB2aCD
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
POST
Response latency
30 ms
Payment options
2 usable of 2
Last checked
2026-09-06T01:16:41.049Z (2h ago)
Category
finance-crypto

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fanimica.dev%2Fx402%2Fjson%2Frepair"