{"uid":"cap_I4tIQX3t91NjvxM5-h2sT","slug":"klymax402-json-validator-7c7acc02","name":"klymax402 JSON Validator","description":"One MCP endpoint gives your AI agent access to 100 APIs -- crypto, DeFi, web, AI, finance and utilities. No API keys, USDC on Base from $0.003/call.","url":"https://klymax402.com/api/json-validator/api/validate","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"json":{"type":"string","description":"JSON string to validate"},"schema":{"type":"object","description":"Optional JSON Schema to validate against"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_WcTOjLteRNtRQ1dSd6nOb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a JSON string for syntax correctness, optionally validating it against a provided JSON Schema","exampleAgentPrompt":"Can you check if this JSON string is valid and also verify it matches the schema I have — the JSON is '{\"name\":\"Alice\",\"age\":30}' and the schema requires name to be a string and age to be an integer?","exampleUseCases":[{"title":"Validate API response before processing","prompt":"Before I process this API response, can you confirm the JSON is valid and matches my expected schema with fields 'id' (integer), 'status' (string), and 'items' (array)? Here's the raw JSON: '{\"id\":42,\"status\":\"active\",\"items\":[1,2,3]}'"},{"title":"Debug malformed config file","prompt":"I'm getting a parse error somewhere in my config — can you validate this JSON string and tell me exactly where it's broken: '{\"host\":\"localhost\",\"port\":8080,\"debug\":true,\"tags\":[\"web\",\"api\"]'"},{"title":"Schema compliance check for data pipeline","prompt":"I need to verify that this JSON payload conforms to my pipeline schema before I send it downstream — the JSON is '{\"event\":\"click\",\"userId\":\"u_123\",\"timestamp\":1700000000}' and the schema requires event and userId to be strings and timestamp to be a number."}],"resultDescription":"Returns a validation result indicating whether the JSON string is syntactically valid and, if a schema is provided, whether it conforms to that schema. Includes specific error messages describing any syntax errors or schema violations found.","failureModes":["Malformed input where 'json' parameter is empty or missing returns an error","Invalid or malformed JSON Schema object causes schema-validation step to fail","Very large JSON strings may time out or be rejected","Network or payment failure returns a 402 Payment Required or connection error"],"whenToPreferThis":"Use this endpoint when you need a quick, pay-per-use JSON validation without setting up your own validator or managing API keys. Ideal for agents that occasionally need to verify JSON correctness or schema compliance as part of a larger workflow, especially when already using the klymax402 suite of APIs via a single MCP endpoint.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:44:37.241Z","isFirstParty":false}