{"slug":"api-manylives-me-paid-json-repair-196f4d","title":"Repair broken JSON (typical of model output) into valid JSON","host":"api.manylives.me","method":"POST","resource":"https://api.manylives.me/paid/json/repair","category":"code","description":"Repair broken JSON (typical of model output) into valid JSON: removes code fences, comments and stray text, fixes single quotes, unquoted keys, trailing commas, Python literals (True/None) and truncated output. Optionally checks the result against a JSON Schema.","price_listed":0.002,"price_asked":0.002,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":23,"reported_calls_30d":2,"reported_payers_30d":2,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"text":"```json\n{name: 'Ada', tags: ['a','b',],}\n```"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"properties":{"body":{"properties":{"schema":{"description":"optional JSON Schema object to validate the repaired value","type":"string"},"text":{"description":"the broken JSON as a string (required, max 500,000 characters)","examples":["```json\n{name: 'Ada', tags: ['a','b',],}\n```"],"type":"string"}},"required":["text"],"type":"object"},"bodyType":{"const":"json","type":"string"},"method":{"const":"POST","type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"fixes":{"items":{"type":"string"},"type":"array"},"issues":{"items":{},"type":"array"},"json":{"properties":{"name":{"type":"string"},"tags":{"items":{"type":"string"},"type":"array"}},"type":"object"},"repaired":{"type":"boolean"},"schema_valid":{"type":"boolean"},"valid":{"type":"boolean"}},"type":"object"},"type":{"const":"json","type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-10","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":23,"error":null}],"description_full":"Repair broken JSON (typical of model output) into valid JSON: removes code fences, comments and stray text, fixes single quotes, unquoted keys, trailing commas, Python literals (True/None) and truncated output. Optionally checks the result against a JSON Schema.","last_updated":"2026-10-09T22:16:18.137Z","schemes":["exact"]}