{"uid":"cap_AFLhoV7Hgm-eLPcKeIhA4","slug":"penny-api-json-validate-1831f80a","name":"Penny API – JSON Validate","description":"Pay-per-call tools for agents (x402, 0.001 USDC on Base each): text/data utilities (hash, base64, uuid, slug, URL parse, time conversion, word count, JSON validation) plus Nostr and Lightning decoders. Run by Penny.","url":"https://pennyagent.pythonanywhere.com/paid/jsonvalidate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"}}},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"type":"dict","valid":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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":"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_hpKSWyv9U6Hy87iVttoxb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates whether a given JSON payload is well-formed and returns a validity result, charged at $0.001 USDC per call via x402 on Base.","exampleAgentPrompt":"Can you check if this JSON is valid: {\"name\": \"Alice\", \"age\": 30, \"active\": true}?","exampleUseCases":[{"title":"Pre-flight API payload check","prompt":"Before I send this config to our deployment API, can you verify it's valid JSON? Here it is: {\"env\": \"production\", \"replicas\": 3, \"debug\": false}"},{"title":"Debug malformed webhook body","prompt":"I got a webhook payload that my system rejected — can you check if this JSON is actually well-formed: {\"event\": \"order.created\", \"id\": 1234, \"items\": [}"},{"title":"Validate user-submitted form data","prompt":"A user submitted this JSON to our intake form and I want to make sure it's parseable before storing it: {\"email\": \"bob@example.com\", \"prefs\": {\"newsletter\": true}}"}],"resultDescription":"Returns a JSON object with a 'valid' boolean field (true or false) indicating whether the submitted input is well-formed JSON. May include error context if invalid.","failureModes":["Payment not sent or x402 auth missing — returns 402 Payment Required","Input field missing or malformed request body — returns 400 Bad Request","Service downtime on PythonAnywhere free tier — returns 503 or timeout","Non-JSON content type submitted when JSON is expected"],"whenToPreferThis":"Use this endpoint when you need a lightweight, pay-per-use JSON validation check without setting up your own parser, especially in agent workflows where validating untrusted or user-supplied JSON before downstream processing is critical and cost per call must be minimal.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T18:38:08.453Z","isFirstParty":false,"canonicalSlug":"penny-api-json-validate-1831f80a"}