{"uid":"cap_1MBNX3K8AFCT5Q3IDtyzv","slug":"profitcollector-json-validator-2cbb7836","name":"ProfitCollector JSON Validator","description":"Decision-grade security/due-diligence outcome reports ($20-$100) plus deterministic paid utilities ($0.001+) for software agents and automated workflows.","url":"https://api.bakhour.ca/json/validate","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string"}}},"responseSchema":{"type":"json","example":{"type":"dict","valid":true,"parsed":{"hello":"world"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_hWGejrtI42gikezOae9In","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","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, along with its parsed representation","exampleAgentPrompt":"Can you check if this text is valid JSON and show me the parsed result: '{\"hello\":\"world\",\"count\":42}'?","exampleUseCases":[{"title":"Validate API response payload","prompt":"I just got a response back from an API and I'm not sure it's valid JSON — can you check this string for me: '{\"status\":\"ok\",\"data\":[1,2,3]}'?"},{"title":"Debug malformed config file","prompt":"My app is crashing and I think the config file has broken JSON. Can you validate this and tell me if it parses correctly: '{\"host\":\"localhost\",\"port\":8080,\"debug\":true}'?"},{"title":"Sanitize user-submitted data","prompt":"A user submitted this as a JSON payload and I need to know if it's well-formed before I process it: '{\"name\":\"Alice\",\"age\":30}'"}],"resultDescription":"Returns a JSON object indicating whether the input text is valid JSON (boolean 'valid' field), the detected type of the parsed value, and the fully parsed JSON object or value if valid.","failureModes":["Malformed or non-JSON input returns valid=false with no parsed output","Empty string input may return invalid or undefined behavior","Extremely large payloads may be rejected or time out","Network or payment processing errors may result in 402 or 5xx responses"],"whenToPreferThis":"Use this endpoint when you need a quick, deterministic, paid-API validation of a JSON string within an automated workflow — especially when you need both the validity check and the parsed output in a single call. Prefer this over client-side parsing when you need an auditable, agent-friendly remote validation step.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:40:11.860Z","isFirstParty":false}