{"uid":"cap_fSMzyA8eOJJ2---9b6GJ6","slug":"json-validator-with-optional-json-schema-check-4dddd4bd","name":"JSON Validator with Optional JSON Schema Check","description":"Validate JSON and optionally check against a JSON Schema","url":"https://json-validator.api.klymax402.com/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_g9TB8x1IYL9wUmoEmQjD5","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 syntactic correctness and optionally validates it against a provided JSON Schema","exampleAgentPrompt":"Can you check if this JSON is valid and also verify it conforms to my schema? Here's the JSON: {\"name\":\"Alice\",\"age\":30} and the schema requires 'name' as a string and 'age' as an integer.","exampleUseCases":null,"resultDescription":"The agent receives a response indicating whether the JSON string is syntactically valid, and if a JSON Schema was provided, whether the JSON conforms to that schema — including any specific validation errors or mismatches detected.","failureModes":["Malformed or empty 'json' parameter returns a parse error","Invalid JSON Schema object causes schema validation to fail or be skipped","Very large JSON strings may time out or be rejected","Missing required 'json' parameter returns a 400-level error","Schema references external $ref URIs that cannot be resolved"],"whenToPreferThis":"Use this endpoint when you need to quickly verify that a JSON string is syntactically correct and/or structurally valid against a known JSON Schema. Ideal for API development, data pipeline validation, form submission checking, or automated testing workflows where you need a lightweight, stateless JSON validation call without setting up a local validator.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:36:23.572Z","isFirstParty":false}