{"uid":"cap_V3SfxcMTN-OXwfXHsGdrx","slug":"centralcity-ai-json-validator-c8b293cd","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_67hjihdnxguahfzf?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_WVwHJFMf629yv2a1geG6N","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":"Validates whether a given text is valid JSON and reports where parsing fails if it is not.","exampleAgentPrompt":"Can you check if this text is valid JSON and tell me exactly where it fails if not: '{\"name\": \"Alice\", \"age\": 30, \"city\": \"New York\"'","exampleUseCases":[{"title":"Debug malformed API response","prompt":"This is the JSON my API returned and it's throwing a parse error — can you check where it's broken: '{\"status\":\"ok\",\"data\":{\"id\":42,\"items\":[1,2,3}'"},{"title":"Validate config file before deployment","prompt":"Before I deploy, can you validate that this config file text is properly formatted JSON and tell me the exact line and position of any error?"},{"title":"Verify LLM-generated JSON output","prompt":"The AI generated this JSON for me but I'm not sure it's well-formed — can you check if it's valid JSON and pinpoint where it goes wrong if not?"}],"resultDescription":"Returns whether the input text is valid JSON (a boolean or equivalent status), and if invalid, provides the location (such as line number, column, or character offset) and a description of where and why parsing fails.","failureModes":["Input text exceeds 64 KiB limit — rejected with size error","Empty or missing text field — may return invalid or error","Network timeout for large payloads","Payment failure via x402 protocol — request not processed"],"whenToPreferThis":"Use this endpoint when you need a lightweight, single-purpose JSON syntax check with precise error location reporting. Prefer it over general-purpose code execution or LLM-based validation when you want a deterministic, fast, and cheap parse result without running arbitrary code.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T06:38:29.560Z","isFirstParty":false,"canonicalSlug":"centralcity-ai-json-validator-c8b293cd"}