{"uid":"cap_rLA_dfDSL6S_Mgh-IPGw1","slug":"agentdiet-json-repair-endpoint-cffe5145","name":"AgentDiet JSON Repair Endpoint","description":"15-App Autonomous Business-to-Agent (B2A) API Hub & MCP Suite. Supports Web Distillation, On-Chain Risk, DEX Token Intelligence, B2B Lead Enrichment, Domain OSINT, Email Verification, SEC Filings, GitHub Audits, Prompt Firewall, and native HTTP 402 (x402 Base USDC).","url":"https://email-verify-72343955726.us-central1.run.app/v1/json-repair?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"data":{"mode":"markdown","title":"Example Documentation","content":"# Example Documentation\nClean agent-ready markdown..."},"status":"ok","roi_proof":{"raw_tokens":14200,"tokens_saved":13520,"roi_multiplier":67.6,"distilled_tokens":680,"compression_ratio_pct":95.2}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_vj0TS5LGCakK6a7BG2HkD","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Repairs and cleans malformed JSON, returning a fixed, valid JSON object with distillation metrics","exampleAgentPrompt":"Can you fix this broken JSON for me? It has missing brackets and some malformed keys — I need it cleaned up and returned as valid, parseable JSON.","exampleUseCases":[{"title":"Fix LLM-generated malformed JSON","prompt":"The JSON my AI model just returned is broken — there are missing quotes and a trailing comma. Can you repair it so it's valid and I can parse it in my app?"},{"title":"Recover corrupted API response data","prompt":"I got a corrupted JSON response from an external API — some brackets are mismatched and a few keys are malformed. Can you fix it and give me back a clean, valid version?"},{"title":"Validate and auto-correct JSON config file","prompt":"My config file has invalid JSON — I think there's a syntax error somewhere. Can you run it through JSON repair and return the corrected version with a note on what was changed?"}],"resultDescription":"Returns a repaired, valid JSON structure along with distillation metadata including raw token count, distilled token count, tokens saved, compression ratio percentage, and an ROI multiplier indicating efficiency gains from the repair/distillation process.","failureModes":["Input JSON too severely corrupted to repair — returns error status","Empty or null input — no content to repair","Non-JSON input format passed — repair not applicable","Payment failure via x402/USDC — 402 response blocking the call","Network timeout on large JSON payloads"],"whenToPreferThis":"Choose this endpoint when you have malformed, broken, or syntactically invalid JSON that needs automated repair without manual intervention. It is especially useful for fixing LLM-generated JSON outputs, corrupted API responses, or config files with syntax errors. The x402 micropayment model at $0.002 USDC makes it cost-effective for high-frequency automated repair pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T06:40:48.916Z","isFirstParty":false,"canonicalSlug":"agentdiet-json-repair-endpoint-cffe5145"}