x402 Micro-Pay Marketplace
Pay-per-call APIs · USDC on Base · no signup, no API key

← All services

JSON Repair

$0.0041 USDC per call

Repair malformed or truncated JSON from LLMs, JS or Python: strips ```json fences and comments, fixes trailing commas, single quotes, unquoted keys, True/False/None, missing commas and unclosed strings/brackets. Returns the parsed JSON, a compact repaired JSON string and the list of fixes. Deterministic, no network.

Endpoint
POST https://grokzilla.shop/api/skills/json-repair
Payment
USDC on Base (x402). No account or API key.
Pays to
0xc22f9CAEBAc37fE72D5142f35f21f6696Ea9Ef69
Hosted on
grokzilla.shop

Try it

Send the request below. Without payment it answers 402 Payment Required with the exact price. An x402 client or agent wallet pays and retries automatically.

curl -i -X POST 'https://grokzilla.shop/api/skills/json-repair' \
  -H 'content-type: application/json' \
  -d '{"text":"```json\n{name: '\''Ada'\'', tags: ['\''math'\'', '\''code'\'',], active: True, // note\n}\n```"}'
Technical notes

Repair malformed or truncated JSON from LLMs, JS or Python: strips ```json fences and comments, fixes trailing commas, single quotes, unquoted keys, True/False/None, missing commas and unclosed strings/brackets. Returns the parsed JSON, a compact repaired JSON string and the list of fixes. Deterministic, no network.

Questions or a problem with this service? Email nicsins@gmail.com.