{"uid":"cap_AYNcAKegv6viZaT_4L8IN","slug":"centralcity-ai-json-validator-e442e12f","name":"centralcity.ai JSON Validator","description":"Checks whether a text is valid JSON, and where it fails if not.","url":"https://centralcity.ai/api/public/x402/off_bocpptzjyrfu574a?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"The JSON text, at most 64 KiB."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_TXv-Ze68CG7Or8dTsf2aM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks whether a text string is valid JSON and reports exactly where it fails if not.","exampleAgentPrompt":"Can you check if this string is valid JSON and tell me exactly where it goes wrong if not: '{\"name\": \"Alice\", \"age\": 30, \"active\": true,}'","exampleUseCases":[{"title":"Debugging a broken API response","prompt":"I got this JSON back from an API and it's failing to parse — can you check what's wrong with it and tell me where the error is: '{\"id\":1,\"name\":\"Bob\"\"email\":\"bob@example.com\"}'"},{"title":"Validating user-submitted JSON config","prompt":"A user submitted this config file and I need to know if it's valid JSON before I save it — please check: '{\"timeout\":30,\"retries\":3,\"endpoint\":\"https://example.com\"'"},{"title":"Pre-flight check before JSON processing pipeline","prompt":"Before I feed this data into the pipeline, can you confirm it's valid JSON? Here it is: '[{\"sku\":\"A1\",\"qty\":5},{\"sku\":\"B2\",\"qty\":}]'"}],"resultDescription":"Returns whether the input text is valid JSON. If invalid, includes the location (line/column or character offset) and a description of where and how parsing failed.","failureModes":["Input text exceeds 64 KiB limit — rejected with size error","Empty string input — reported as invalid JSON","Network or payment failure — no validation result returned","Ambiguous or partial error location if JSON is deeply malformed"],"whenToPreferThis":"Use this endpoint when you need a quick, cheap, and reliable syntax-only JSON validity check with precise error location reporting — especially useful before passing user-supplied or API-received text into a JSON parser, or when debugging why a JSON string is failing to parse. Prefer this over a full JSON Schema validator (which checks structure and types) when you only need to know if the text is syntactically valid JSON.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T06:36:38.398Z","isFirstParty":false,"canonicalSlug":"centralcity-ai-json-validator-c8b293cd"}