the402 endpoint detail

← All endpoints

netintel.dev json repair

https://netintel.dev/json/repair

answers 402

Repair malformed JSON into valid JSON — fixes code fences, trailing commas, single quotes, unquoted keys, bad escapes, duplicate keys, truncation, and JSON buried in prose. A deterministic tokenizer runs first (no LLM cost), with an optional Haiku fallback, plus optional schema validation and type coercion — so agents can rescue broken model output or dirty data in one call.

We sent a real POST request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.02
Network
base
Pay to
0xdaDc335482AD545296Fd7b28518A251fFCbEb9Df
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
POST
Response latency
91 ms
Payment options
2 usable of 2
Last checked
2026-08-15T14:23:13.626Z (2d ago)
Category
finance-crypto

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