{"uid":"cap_i2lwwGh4ShldEchmLTVwE","slug":"kosoyy-tools-json-validator-x402-micro-api-44fcfb60","name":"kosoyy tools — JSON Validator (x402 micro-API)","description":"Deterministic utility tools, paid per call in USDC (Solana or Base). Unpaid requests return a 402 offer.","url":"https://alert-woodpecker-2022.kosoyyagent.deno.net/api/json-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["data"],"properties":{"data":{"type":"string","description":"JSON text or object to validate"},"schema":{"type":"object","description":"optional JSON-schema subset (required, properties, type, maxLength)"}}},"responseSchema":{"type":"object","properties":{"ok":{"type":"boolean"},"route":{"type":"string"},"result":{"type":"object"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","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_e99IfCelQ24ijB9RIBS2n","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates JSON text or objects against an optional JSON schema subset, returning a structured validation result for $0.002 USDC per call.","exampleAgentPrompt":"Can you check if this JSON string is valid and matches my schema — it needs to have a required 'name' field of type string with maxLength 100 and an 'age' of type number: '{\"name\":\"Alice\",\"age\":30}'?","exampleUseCases":[{"title":"Validate API response payload","prompt":"Check whether this JSON I got back from a third-party API is well-formed and has the required 'id' and 'status' fields, both as strings: '{\"id\":\"abc123\",\"status\":\"active\"}'"},{"title":"Pre-flight form submission check","prompt":"Before I save this user form data, validate the JSON to make sure 'email' and 'username' are required string fields and 'username' is no longer than 50 characters. Here's the data: '{\"email\":\"user@example.com\",\"username\":\"jdoe\"}'"},{"title":"Debug malformed JSON payload","prompt":"I'm getting errors sending this JSON to my service — can you check if it's actually valid JSON and tell me what's wrong: '{name: Alice, age: }'"}],"resultDescription":"Returns a JSON object with an 'ok' boolean indicating validation success or failure, a 'route' string identifying the endpoint used, and a 'result' object containing detailed validation output including any schema violations or parse errors.","failureModes":["Unpaid request returns HTTP 402 with a payment offer (x402 protocol) — agent must pay 0.002 USDC on Solana or Base to proceed","Invalid or missing 'data' field in request body returns an error result","Malformed JSON schema subset provided in 'schema' field may cause unexpected validation behavior","Network unavailability on Deno Deploy may cause timeouts","Very large JSON strings may be rejected or time out"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, deterministic, pay-per-call JSON validation tool without a subscription — especially in agentic pipelines where validation is an occasional step and cost per call must be minimal. Prefer over free validators when operating in an x402-compatible payment context (Solana or Base USDC) and you need schema-aware validation of required fields, types, and maxLength constraints in a single API call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-22T14:28:24.736Z","isFirstParty":false,"canonicalSlug":"kosoyy-tools-json-validator-x402-micro-api-44fcfb60"}