{"uid":"cap_tkiPcULrPlp1PZOb7GVoR","slug":"one-engine-json-validator-c662e393","name":"ONE Engine JSON Validator","description":"Validate JSON text and return parsed type plus normalized JSON when valid","url":"https://one-search.one-engine.workers.dev/v1/json/validate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"JSON text to validate"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0011","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.0011/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0011","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0011","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_zkEibe3JrC0RMHEsd2lxF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0011","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a JSON text string and returns its parsed type plus normalized JSON output when valid","exampleAgentPrompt":"Can you check if this text is valid JSON and give me the normalized version: '{\"name\":\"Alice\",\"age\":30}'?","exampleUseCases":[{"title":"Pre-flight JSON check in agent pipeline","prompt":"Before I store this API response, validate it as JSON and tell me what type it parses to: '[{\"id\":1,\"value\":\"foo\"},{\"id\":2,\"value\":\"bar\"}]'"},{"title":"Debugging malformed config file","prompt":"I got this config text from a user and I'm not sure if it's valid JSON — can you validate it and return the normalized version if it is: '{name: \"test\", enabled: true}'"},{"title":"Sanitizing agent-generated output","prompt":"The language model returned this string and I need to confirm it's well-formed JSON before passing it downstream — validate it please: '{\"status\":\"ok\",\"count\":5}'"}],"resultDescription":"Returns whether the input text is valid JSON, the parsed data type (e.g. object, array, string, number, boolean, null), and a normalized (canonically formatted) JSON representation when the input is valid. On invalid input, returns an error or failure indicator.","failureModes":["Empty or missing 'text' field returns an error","Non-JSON text (plain English, XML, CSV) returns invalid result","Malformed JSON (unquoted keys, trailing commas) returns invalid with no normalized output","Very large JSON payloads may hit size limits","Network timeout on the workers.dev edge runtime"],"whenToPreferThis":"Choose this endpoint when an agent needs a lightweight, cheap ($0.0011 USDC), deterministic JSON validation step — especially inside automated pipelines where confirming JSON well-formedness and obtaining a normalized canonical form is required before downstream processing, storage, or forwarding. Prefer over general-purpose LLM JSON parsing when you want a reliable, structured pass/fail signal and normalized output without ambiguity.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T02:57:03.234Z","isFirstParty":false,"canonicalSlug":"one-engine-json-validator-c662e393"}