{"uid":"cap_TPXVbO7nYazVQyYe7XSq-","slug":"delx-json-validate-02638bc1","name":"Delx Json Validate","description":"JSON validation API for agents: validate, normalize, and pretty-print a bounded JSON payload for $0.001 USDC with structured errors—no API key or upstream. Call when you need this bounded result without an API key or subscription. Returns machine-readable JSON via x402 on Base or Solana. Limitation: results cover only the supplied input or one bounded public endpoint at request time; callers must verify before acting.","url":"https://api.delx.ai/api/v1/x402/json-validate","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","bodyType","body"],"properties":{"body":{"type":"object","additionalProperties":true},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{}},"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_hJoeh6KDS5cLeSOupA5gf","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, normalizes, and pretty-prints a JSON payload, returning structured errors or a formatted result for $0.001 USDC per call.","exampleAgentPrompt":"Can you validate this JSON for me and pretty-print it if it's valid: {\"name\":\"Alice\",\"age\":30,\"tags\":[\"admin\",\"user\"]}? I want to know if there are any syntax errors.","exampleUseCases":[{"title":"Pre-flight JSON payload check","prompt":"Before I send this config to the server, validate it and tell me if there are any JSON errors: {\"host\":\"localhost\",\"port\":8080,\"debug\":true,\"tags\":[\"prod\"]}"},{"title":"Formatting minified JSON for review","prompt":"I have this minified JSON blob I received from an API and I need it pretty-printed so I can read it: {\"id\":1,\"status\":\"ok\",\"data\":{\"user\":\"bob\",\"score\":42}}"},{"title":"Catching syntax errors in agent-generated JSON","prompt":"My pipeline just generated this JSON string — can you check it for syntax errors and show me the structured error details if it's broken: {\"items\":[{\"id\":1,\"value\":\"foo\"},{\"id\":2,\"value\":}]}"}],"resultDescription":"Returns a structured response indicating whether the JSON is valid, a normalized and pretty-printed version of the JSON if valid, and structured error details (position, message, type) if invalid. No API key is required; payment is $0.001 USDC per call via x402.","failureModes":["Payload too large — if the JSON exceeds the bounded size limit, the endpoint will reject it","Unparseable input — non-JSON text returns a structured error with position and description of the syntax fault","Network timeout — rare but possible under load","Payment failure — x402 payment not settled results in a 402 response"],"whenToPreferThis":"Choose this endpoint when you need a quick, cheap, no-auth JSON validation step inside an agent pipeline — especially when you want structured error output (not just a boolean) and a pretty-printed normalized form. It's ideal for validating agent-generated JSON, user-submitted config blobs, or API responses before further processing. Prefer it over rolling your own parser when you need consistent structured error formatting and pay-per-use pricing with no API key setup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:14:55.001Z","isFirstParty":false}