{"uid":"cap_Uevm0EzEMBc7sPmqX207A","slug":"manylives-json-repair-5f16ffd5","name":"ManyLives JSON Repair","description":"Pay-per-call tools for people building AI agents: live web search and page contents, point-in-time crypto market data and news for backtests (no lookahead), verifiable track records of 1,000 crypto strategies locked on the Base network, company profiles, quick AI and batch prices. Ask us to turn a public website into a JSON endpoint. Pay per call, no account, free trial.","url":"https://api.manylives.me/paid/json/repair?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","examples":["```json\n{name: 'Ada', tags: ['a','b',],}\n```"],"description":"the broken JSON as a string (required, max 500,000 characters)"},"schema":{"type":"string","description":"optional JSON Schema object to validate the repaired value"}}},"responseSchema":{"type":"json","example":{"json":{"name":"Ada","tags":["a","b"]},"fixes":["removed code fence","quoted keys","removed trailing commas"],"valid":true,"issues":[],"repaired":true,"schema_valid":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.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_zxLiTo8vBRTq8WfgNp9c2","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 malformed or broken JSON strings, returning the fixed parsed object along with a list of applied fixes and optional schema validation results","exampleAgentPrompt":"Can you fix this broken JSON for me — it has unquoted keys and trailing commas and it's wrapped in a code fence: ```json\n{name: 'Ada', tags: ['a','b',],}\n```","exampleUseCases":[{"title":"Fix LLM-generated malformed JSON","prompt":"The AI just returned this JSON but it's broken — it has trailing commas and unquoted keys. Can you repair it so I can parse it? Here it is: {name: 'Alice', scores: [10, 20,],}"},{"title":"Validate repaired JSON against a schema","prompt":"I have this malformed JSON response from an API and I need it both fixed and validated against my schema — the JSON is {id: 123, tags: ['x','y',],} and my schema requires 'id' to be a string and 'tags' to be an array of strings."},{"title":"Clean up code-fenced JSON from model output","prompt":"My model returned JSON wrapped in a markdown code block with trailing commas and single quotes instead of double quotes. Can you strip the fence, fix the syntax, and give me back a clean parseable object? Here it is: ```json\n{user: 'Bob', active: true,}\n```"}],"resultDescription":"Returns a JSON object containing: the repaired and parsed JSON value under the 'json' key, an array of human-readable fix descriptions (e.g. 'removed code fence', 'quoted keys', 'removed trailing commas'), a boolean 'repaired' flag, a boolean 'valid' flag, an array of remaining 'issues' if any, and optionally a 'schema_valid' boolean if a JSON Schema was provided for validation.","failureModes":["Input text exceeds 500,000 character limit — request rejected","JSON is so severely malformed it cannot be repaired — returns repaired:false with issues listed","Provided schema is itself invalid JSON Schema — schema validation may fail or be skipped","Network or payment failure via x402 protocol — HTTP 402 returned requiring USDC payment"],"whenToPreferThis":"Choose this endpoint when you have JSON output from an LLM or third-party API that is syntactically invalid — e.g. has trailing commas, unquoted keys, single quotes, code fences, or JavaScript-style comments — and you need a clean, parseable object without writing custom repair logic. Especially useful in agentic pipelines where AI-generated structured data needs to be reliably parsed downstream, or when you want to simultaneously validate the repaired result against a known JSON Schema.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T12:42:31.236Z","isFirstParty":false,"canonicalSlug":"manylives-json-repair-5f16ffd5"}