{"uid":"cap_IkqVc84MKa7Fhk0EU_Bdb","slug":"agent-utility-network-json-validator-a9922ef7","name":"Agent Utility Network JSON Validator","description":"Quality-scored paid utility APIs for AI agents over x402 on Base USDC.","url":"https://agent-utility-network.frosty-sound-4560.workers.dev/v1/paid/json-validate","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"string","maxLength":100000,"minLength":1}}},"responseSchema":{"type":"json","example":{"result":{"valid":true,"valueType":"object"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_wyEJ126DQHBJaElDXpk2C","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","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 and returns whether it is valid JSON along with the detected value type.","exampleAgentPrompt":"Check if this string is valid JSON and tell me what type it is: '{\"name\": \"Alice\", \"age\": 30}'","exampleUseCases":[{"title":"Validate LLM-generated JSON output","prompt":"I got this JSON back from another AI model — can you check whether it's actually valid JSON and what kind of value it is? Here it is: '{\"status\": \"ok\", \"items\": [1, 2, 3]}'"},{"title":"Pre-flight check before API submission","prompt":"Before I send this payload to the payment API, verify it's valid JSON: '{\"amount\": 100, \"currency\": \"USD\", \"recipient\": \"bob@example.com\"}'"},{"title":"Debug malformed config file","prompt":"I think my config might have a JSON syntax error — can you validate this and tell me if it parses correctly: '{\"host\": \"localhost\", \"port\": 8080, \"debug\": true'"}],"resultDescription":"Returns a JSON object with a 'result' field containing 'valid' (boolean indicating whether the input is valid JSON) and 'valueType' (a string describing the JSON value type such as 'object', 'array', 'string', 'number', 'boolean', or 'null').","failureModes":["Empty input string returns a validation error","Input exceeding 100,000 characters is rejected","Payment failure via x402/Base USDC prevents the call from completing","Network timeout on the Cloudflare Workers edge"],"whenToPreferThis":"Use this endpoint when you need a fast, cheap, programmatic confirmation that a string is valid JSON — especially useful for validating outputs from LLMs, user-submitted data, or external API responses before further processing. At $0.001 per call it is cost-effective for high-frequency validation loops inside agent workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:40:47.870Z","isFirstParty":false}