{"slug":"keyronne-com-api-json-repair-ceb33c","title":"Repair malformed JSON text into valid parsed JSON","host":"keyronne.com","method":"POST","resource":"https://keyronne.com/api/json-repair","category":"code","description":"Repair malformed JSON text into valid parsed JSON: markdown code fences, single quotes, smart quotes, unquoted keys, trailing commas, comments, Python literals (True/None), raw newlines in strings, and truncated output (auto-closes strings, arrays and objects). Returns the parsed value plus a log of","price_listed":0.001,"price_asked":0.001,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":390,"reported_calls_30d":12,"reported_payers_30d":10,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"text":"```json\n{name: 'Ada', age: 36, tags: ['x',], active: True"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"properties":{"body":{"properties":{"text":{"description":"The malformed JSON text to repair.","type":"string"}},"required":["text"],"type":"object"},"bodyType":{"enum":["json"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"type":"object"},"output":{"properties":{"repairs":{"description":"Human-readable list of repairs applied (empty if input was valid).","items":{"type":"string"},"type":"array"},"value":{"description":"The repaired, parsed JSON value."}},"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":390,"error":null}],"description_full":"Repair malformed JSON text into valid parsed JSON: markdown code fences, single quotes, smart quotes, unquoted keys, trailing commas, comments, Python literals (True/None), raw newlines in strings, and truncated output (auto-closes strings, arrays and objects). Returns the parsed value plus a log of every repair applied. Built for LLM output that almost parses. POST a JSON body like: {\"text\":\"```json\\n{name: 'Ada', age: 36, tags: ['x',], active: True\"}","last_updated":"2026-09-22T19:22:14.479Z","schemes":["exact"]}