{"uid":"cap_1nXBp6VAw5EoYQYZOUAnK","slug":"ciel-m2m-api-json-repair-84424ba2","name":"CIEL M2M API — JSON Repair","description":"50+ micro-services for AI agents: data parsing, crypto analytics, security scanning, code tools, and more. Pay per call via x402 (USDC on Base) or RapidAPI subscription.","url":"https://169.58.38.67.sslip.io/api/json-repair","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"result":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"data":{"key":"value"},"valid":true,"repaired":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_WmgakIvO9U-1HUmtRzhFB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Repairs and validates malformed JSON strings, returning a corrected, valid JSON object","exampleAgentPrompt":"This JSON string I got back from the model is malformed — can you repair it and give me valid, parseable JSON? Here it is: {name: 'Alice', age: 30, hobbies: ['reading', 'coding'}","exampleUseCases":[{"title":"Fix LLM-generated malformed JSON","prompt":"The AI returned some JSON but it's broken — missing a closing bracket and has unquoted keys. Can you repair it so I can actually parse it in my code?"},{"title":"Clean up API response before processing","prompt":"I'm getting JSON back from a third-party API that sometimes drops commas or has trailing brackets. Can you automatically fix it so my pipeline doesn't crash?"},{"title":"Validate JSON config file","prompt":"I have a config JSON file that's throwing a parse error but I can't find the bug. Can you repair it and tell me if it's valid now?"}],"resultDescription":"A JSON object containing the repaired/corrected JSON under a 'data.key' field, a 'valid' boolean indicating whether the input was already valid, and a 'repaired' boolean indicating whether any corrections were made.","failureModes":["Input JSON is so corrupted it cannot be meaningfully repaired — returns error","Non-JSON input provided — may return validation failure","Empty input — missing required 'input' field returns 400-level error","Network timeout on slow or oversized payloads"],"whenToPreferThis":"Use this endpoint when you have a JSON string that fails to parse due to syntax errors (trailing commas, missing brackets, unquoted keys, etc.) and need it automatically corrected. Ideal for post-processing LLM outputs or sanitizing third-party API responses before further use. Prefer over manual regex fixes when the corruption pattern is unpredictable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-18T07:02:44.114Z","isFirstParty":false}