{"slug":"159-65-130-200-sslip-io-api-json-repair-d2e153","title":"Repairs malformed JSON deterministically (no LLM)","host":"159-65-130-200.sslip.io","method":"POST","resource":"https://159-65-130-200.sslip.io/api/json-repair","category":"code","description":"Repairs malformed JSON deterministically (no LLM). Input: {\"json\": \"<string>\"} (max 200k chars). Output: {valid, repaired, data, fixes[]}. Fixes: unquoted keys, single-quoted strings, trailing/doubled commas, missing commas between values, raw newlines/tabs/control chars inside strings, comments (//","price_listed":0.002,"price_asked":0.01,"state":"overcharges","state_label":"Asked 5.0x its listed price for its own example","checks_7d":7,"answered_7d":7,"latency_ms_median":623,"reported_calls_30d":4,"reported_payers_30d":2,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"json":"{ name: 'Alice', active: True, }"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"json":{"description":"Malformed JSON text to repair","maxLength":200000,"type":"string"}},"required":["json"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":false,"latency_ms":675,"error":null},{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":false,"latency_ms":623,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":false,"latency_ms":620,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":false,"latency_ms":622,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":false,"latency_ms":641,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":false,"latency_ms":613,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":false,"latency_ms":647,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":false,"latency_ms":627,"error":null},{"day":"2026-11-19","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":false,"latency_ms":628,"error":null},{"day":"2026-11-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":false,"latency_ms":622,"error":null},{"day":"2026-11-17","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":false,"latency_ms":631,"error":null},{"day":"2026-11-16","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":false,"latency_ms":615,"error":null},{"day":"2026-11-15","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":false,"latency_ms":439,"error":null},{"day":"2026-11-14","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":906,"error":null},{"day":"2026-11-13","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":948,"error":null}],"description_full":"Repairs malformed JSON deterministically (no LLM). Input: {\"json\": \"<string>\"} (max 200k chars). Output: {valid, repaired, data, fixes[]}. Fixes: unquoted keys, single-quoted strings, trailing/doubled commas, missing commas between values, raw newlines/tabs/control chars inside strings, comments (// and /* */), Python True/False/None, NaN/Infinity to null, unclosed strings/brackets, unmatched closers, unquoted bare-word values. String contents are otherwise preserved. Already-valid JSON is re...","last_updated":"2026-11-15T05:15:55.514Z","schemes":["exact"]}