{"uid":"cap_WXzroc6y9jnDa5kAkGKCW","slug":"delx-commerce-x402-catalog-route-check-35b547f0","name":"Delx Commerce X402 Catalog Route Check","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/x402-catalog-route-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"route":{"type":"object","description":"Route supplied to X402 Catalog 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":{"post":true,"x402_path":true,"positive_price":true,"required_present":true},"missing_fields":[]},"schema":"delx/util-x402-catalog-route-check/v1","status":"pass","evidence":{"retained":false,"input_sha256":"9dc71648dce13552b300e68108c726ac002d670dfe5442b398a035206009d2be","external_calls":0},"operation":"delivery_contract:x402_catalog_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_o0NeOMlrf76QjCgP0F9Wc","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 whether a given route object conforms to the x402 catalog specification, checking for required fields, valid HTTP method, path format, and positive pricing.","exampleAgentPrompt":"Can you check whether this route object I'm about to publish is a valid x402 catalog entry — specifically confirm it has the right HTTP method, a proper x402 path, a positive price, and all required fields present?","exampleUseCases":[{"title":"Pre-publish x402 route validation","prompt":"Before I add this route to the x402 catalog, can you verify it's well-formed — check that it has a POST method, a valid x402 path, a positive price, and no missing required fields?"},{"title":"Debugging a rejected catalog route","prompt":"My x402 route keeps getting rejected from the catalog — can you run a check on it and tell me exactly which fields are missing or invalid?"},{"title":"CI check for x402 route compliance","prompt":"As part of my deployment pipeline, can you validate this route object against the x402 catalog spec and fail the build if any checks don't pass?"}],"resultDescription":"Returns a JSON object with a top-level 'result' containing a boolean 'valid' flag, a 'checks' map showing pass/fail for each sub-check (post, x402_path, positive_price, required_present), and a 'missing_fields' array. Also includes 'status' (pass/fail), 'schema' identifier, and an 'evidence' block with the SHA-256 hash of the input, a 'retained: false' flag confirming no data is stored, and an external_calls count.","failureModes":["Malformed route object (non-object input) causes validation error","Route missing required x402 fields returns valid:false with populated missing_fields array","Route with zero or negative price fails positive_price check","Non-POST method fails the 'post' check","Oversized route object exceeding 128 properties may be rejected","Network or payment failure returns HTTP 402 if USDC payment is not completed"],"whenToPreferThis":"Use this endpoint when you need to programmatically verify that a route object conforms to the x402 catalog specification before publishing or registering it. It is the canonical validation utility for x402 catalog routes on Delx Commerce, providing granular per-check breakdowns and a tamper-evident SHA-256 hash of the input. Prefer this over manual inspection or generic JSON schema validators when you need x402-specific semantic checks (valid path format, positive price, POST method requirement).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T03:26:17.074Z","isFirstParty":false,"canonicalSlug":"delx-commerce-x402-catalog-route-check-35b547f0"}