{"uid":"cap_u-BJqy_DcGx8AqyAVFg75","slug":"agentproof-murex-vercel-app-b1f44ae9","name":"AgentProof JSON Schema Validator","description":"API response validation for agents - check JSON Schema and suggest repairs.","url":"https://agentproof-murex.vercel.app/api/validate","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"schema":{"type":"object","description":"JSON Schema used to validate the response."},"response":{"description":"Any JSON value."}}},"responseSchema":null,"example":{"request":{"schema":{"type":"object","required":["user_id","age"],"properties":{"age":{"type":"integer"},"user_id":{"type":"string"}}},"response":{"age":"thirty","user_id":"abc"}},"response":{"valid":false,"errors":[{"path":"/age","value":"thirty","actual":"string","keyword":"type","message":"must be integer","expected":"integer"}],"service":"AgentProof","endpoint":"api.validate"}},"exampleRequest":{"schema":{"type":"object","required":["user_id","age"],"properties":{"age":{"type":"integer"},"user_id":{"type":"string"}}},"response":{"age":"thirty","user_id":"abc"}},"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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_DfzYVt-5NZ4IvHQS0_xA4","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 an API JSON response against a JSON Schema and suggests repairs when validation fails","exampleAgentPrompt":"Can you validate this API response JSON against my schema and tell me what's wrong and how to fix it? Here's the response: {\"user_id\": \"abc\", \"age\": \"thirty\"} and the schema expects user_id as an integer and age as a number.","exampleUseCases":[{"title":"Validate blockchain contract call response","prompt":"I just got back a JSON response from a blockchain RPC call but I'm not sure if it matches our expected schema. Can you validate it against our contract response schema and let me know what's broken and how to fix it? The response is {\"txHash\": \"0x123\", \"blockNumber\": \"latest\", \"gasUsed\": \"500000\"} but our schema requires blockNumber as an integer and gasUsed as a string."},{"title":"Self-healing agent API integration","prompt":"My agent is trying to call an external API but keeps getting responses that don't match the expected schema. Can you validate the response I got and give me specific fixes so I can retry the call with corrected data? I got back {\"status\": \"success\", \"items\": \"5\", \"createdAt\": \"2024-01-15T10:30:00\"} but the schema says items must be an array and status must be lowercase."},{"title":"Verify database record structure compliance","prompt":"I need to make sure this JSON record from our database matches our schema before I process it downstream. Can you check if this is valid and tell me exactly what fields need to be fixed? Here's what I pulled: {\"email\": null, \"username\": 12345, \"verified\": \"true\", \"roles\": \"admin\"} and our schema requires email as a non-null string, username as a string, verified as a boolean, and roles as an array."}],"resultDescription":"Returns a validation result indicating whether the JSON response conforms to the provided JSON Schema, listing any violations or mismatches, and providing actionable repair suggestions to correct the invalid fields or structure.","failureModes":["Malformed JSON input returns an error before schema validation can run","Invalid or unparseable JSON Schema causes a schema parse error","Missing required fields (response body or schema) returns a 400-level error","Response exceeds size limits and is rejected","Network timeout on the Vercel edge function"],"whenToPreferThis":"Choose this endpoint when you need to both validate a JSON payload against a schema AND receive suggestions for how to repair the violations in a single call — particularly useful for agents that need to self-heal or retry API calls with corrected payloads. Prefer it over generic JSON linters when you need schema-aware repair hints rather than just error detection.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:33:06.818Z","isFirstParty":false}