{"uid":"cap_9Q0Xtys60J3xuHxYv8LDy","slug":"crypto-sanity-payload-validator-3e5d6a24","name":"Crypto-Sanity Payload Validator","description":"Validate the structure of an x402 payment payload before an agent signs or submits it.","url":"https://gateway.apiosk.com/crypto-sanity/validate/payload","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.022","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ogS3x8_FTTvm-jK8jiGLF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a crypto-related payload for structural correctness and logical sanity, returning any detected issues","exampleAgentPrompt":"Can you sanity-check this crypto payload I'm about to submit and tell me if there are any structural issues or logical problems with it?","exampleUseCases":[{"title":"Pre-flight check before gas spend","prompt":"Before I broadcast this Ethereum transaction, can you run a sanity check on the payload to make sure there are no structural errors or missing fields that would waste gas or get it rejected?"},{"title":"Validate DeFi swap request body","prompt":"I'm about to submit this DeFi swap payload to the exchange — can you check it for any logical inconsistencies or formatting issues before it goes live?"},{"title":"Catch errors in blockchain payload","prompt":"I put together this blockchain transaction payload manually and I'm worried I might have missed something — can you validate it and flag any problems before I try to submit it?"}],"resultDescription":"Returns a JSON object with an 'ok' boolean indicating overall pass/fail, an 'issues' array listing any detected problems, and a 'structural_valid' boolean confirming whether the payload is structurally well-formed.","failureModes":["Malformed or unparseable request body returns validation error","Missing required payload fields may result in structural_valid: false with issues listed","Network timeout if gateway is unreachable","Payment failure if insufficient USDC balance for x402 protocol","Unexpected payload schema may produce unrecognized issues"],"whenToPreferThis":"Use this endpoint when you need a quick, cheap pre-flight check on a crypto payload before submitting it to a live blockchain or exchange endpoint — especially to catch structural errors, missing fields, or logical inconsistencies without spending gas or risking rejection downstream.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:59:49.636Z","isFirstParty":false}