{"slug":"agent-data-tools-revmesh2074-workers-dev-json-validate-89c157","title":"Check whether text is valid JSON","host":"agent-data-tools.revmesh2074.workers.dev","method":"GET","resource":"https://agent-data-tools.revmesh2074.workers.dev/json/validate","category":"other","description":"Check whether text is valid JSON. Returns valid true/false, the parsed value's type and size, and for invalid input the error message with line and column. Use before parsing an LLM's or an API's output.","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":28,"reported_calls_30d":3,"reported_payers_30d":2,"networks":["eip155:137","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"text":"{\"a\":1}"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"text":{"description":"The JSON text to check (up to 20,000 characters)","examples":["{\"a\":1}"],"type":"string"}},"required":["text"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"keys":{"type":"number"},"type":{"type":"string"},"valid":{"type":"boolean"}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":28,"error":null}],"description_full":"Check whether text is valid JSON. Returns valid true/false, the parsed value's type and size, and for invalid input the error message with line and column. Use before parsing an LLM's or an API's output.","last_updated":"2026-10-22T17:55:30.58Z","schemes":["exact"]}