{"uid":"cap_kSL4833lW4_W_2g1Oy53z","slug":"x402-openapi-route-check-872d2870","name":"X402 OpenAPI Route Check","description":"X402 Openapi Route Check: X402 Openapi Route Check checks one OpenAPI operation for tool id, request schema, and 402 response from bounded caller-supplied values without an external provider. Call X402 Openapi Route Check before paying for or accepting an x402 or agent delivery assembled from caller-supplied challenge and result metadata. Returns contract-specific checks, normalized evidence, mismatch reasons, and an explicit acceptance or rejection status for X402 Openapi Route Check as versio…","url":"https://api.delx.ai/api/v1/x402/x402-openapi-route-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"operation":{"type":"object","description":"Operation supplied to X402 Openapi Route Check; used only for this bounded calculation and processed in memory without retention.","maxProperties":128,"additionalProperties":true}}},"responseSchema":{"type":"json","example":{"result":{"valid":true,"checks":{"has_402":true,"required_present":true},"missing_fields":[]},"schema":"delx/util-x402-openapi-route-check/v1","status":"pass","evidence":{"retained":false,"input_sha256":"b5e04192b09663f06587565b4a83b261533966da8c7add7e3637a104f0bbc4b1","external_calls":0},"operation":"delivery_contract:x402_openapi_route_check"}},"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_4z4piAyQyOWgVJyhB5Pv_","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 an OpenAPI operation object for x402 compliance by checking tool ID, request schema, and 402 response structure, returning acceptance or rejection status with normalized evidence.","exampleAgentPrompt":"Before we pay for this x402 endpoint, check this OpenAPI operation object to see if the tool ID, request schema, and 402 response are all valid and whether we should accept or reject it.","exampleUseCases":[{"title":"Pre-payment x402 route validation","prompt":"I'm about to pay for an x402-gated API call — can you validate this OpenAPI operation object first to confirm the tool ID and 402 response look correct before we proceed?"},{"title":"Agent delivery compliance check","prompt":"We assembled an agent delivery from caller-supplied challenge and result metadata — run the x402 OpenAPI route check on this operation to make sure the schema and 402 response are compliant before we accept it."},{"title":"Debugging mismatched x402 operation","prompt":"This x402 route keeps getting rejected — can you inspect the OpenAPI operation object and tell me exactly which checks are failing and why?"}],"resultDescription":"Returns a structured report with contract-specific check results, normalized evidence from the operation, a list of mismatch reasons if validation fails, and an explicit accept or reject status indicating whether the OpenAPI operation is x402-compliant.","failureModes":["Operation object missing required fields (tool ID, request schema, 402 response) causing rejection","Malformed or oversized operation object exceeding maxProperties:128 limit","Mismatch between declared 402 response and expected x402 contract format","Ambiguous or incomplete caller-supplied challenge metadata leading to inconclusive result","Network or service error returning non-200 HTTP response"],"whenToPreferThis":"Use this endpoint when you need a lightweight, serverless pre-flight check on an OpenAPI operation before paying for or accepting an x402 payment-gated route. It runs entirely in memory without external provider calls, making it fast and safe for validating caller-supplied challenge metadata. Prefer this over manual inspection or custom validation logic when building agents that consume x402-gated APIs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T01:45:16.677Z","isFirstParty":false,"canonicalSlug":"x402-openapi-route-check-872d2870"}