{"uid":"cap_-b5J7dbPX1pZoWs9zDfJ9","slug":"pagos-andreax-dev-json-fix-11c8bfe2","name":"pagos.andreax.dev JSON Fix","description":"Repara/valida JSON roto y lo devuelve limpio. Herramienta dev de alto volumen. input=JSON o texto.","url":"https://pagos.andreax.dev/api/taller/peaje/json-fix","method":"GET","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","required":["input"],"properties":{"input":{"type":"string","description":"JSON roto o texto"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_hYXsb7TU96WShA4ffganx","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 validates broken JSON, returning a clean, well-formed JSON object","exampleAgentPrompt":"Can you fix this broken JSON for me? It has some syntax errors and won't parse: {name: 'Alice', age: 30, hobbies: ['reading', 'coding'}.","exampleUseCases":[{"title":"Fixing LLM-generated malformed JSON","prompt":"The AI returned some JSON but it's broken and my app can't parse it — can you repair it? Here it is: {\"user\":\"bob\", \"score\": 42, tags: [\"dev\", \"beta\"}"},{"title":"Sanitizing scraped API response","prompt":"I scraped a third-party API and the response JSON is corrupted with missing commas and unquoted keys. Can you clean it up so I can use it? The raw text is: {id: 123 name: 'product' price: 9.99}"},{"title":"Validating config file before deployment","prompt":"Before I deploy, can you check and fix this config JSON? It might have syntax issues: {\"env\": \"production\", \"port\": 8080, \"debug\": true, \"allowed_hosts\": [\"example.com\", \"api.example.com\"}"}],"resultDescription":"A clean, validated JSON object with all syntax errors corrected — missing brackets closed, unquoted keys quoted, trailing commas removed, and the structure made fully parseable.","failureModes":["Input text is too ambiguous to infer valid JSON structure — returns error or best-effort result","Input is entirely non-JSON (plain prose) with no recoverable structure","Deeply nested or extremely large JSON may timeout or fail partial repairs","Missing required 'input' query parameter returns 400 error","Service unavailable returns 402 or 5xx"],"whenToPreferThis":"Use this endpoint when you have a JSON string that fails to parse due to syntax errors such as unquoted keys, missing commas, mismatched brackets, or trailing commas, and you need a quick, cheap automated repair without writing custom parsing logic. Ideal for high-volume pipelines where LLMs or scrapers frequently emit slightly malformed JSON.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:34:23.054Z","isFirstParty":false}