{"uid":"cap_yxZPzuXCLkcUhNpplXQrE","slug":"x402-tools-budget-preflight-b5ac68d1","name":"x402-tools Budget Preflight","description":"Paid x402 diagnostics. Unpaid paid-SKU requests return HTTP 402 with eip3009 extras. Facilitator: OpenX402 only.","url":"https://openclawproductions.com/api/v1/budgetpreflight?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"body":{"type":"object"},"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE","POST"],"type":"string"},"queryParams":{"type":"object"}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}},"inputSchema":{"type":"object"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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_mggssx_IRdwig2hccqYZi","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":"Performs a budget preflight check for x402-gated HTTP requests, verifying whether a proposed API call would be approved before committing payment","exampleAgentPrompt":"Run a budget preflight check on a GET request to make sure it would pass x402 payment validation before I actually send any USDC — use OpenX402 as the facilitator.","exampleUseCases":[{"title":"Pre-flight before paying for API access","prompt":"Before I spend any USDC, run a preflight check on my GET request to this x402-gated endpoint to confirm my budget would be approved and show me the eip3009 payment details."},{"title":"Debugging a 402 payment rejection","prompt":"My POST request keeps getting a 402 error from an x402-protected API — can you run a budget preflight diagnostic on it so I can see what payment extras are expected and why it's being blocked?"},{"title":"Validating x402 payment flow in development","prompt":"I'm building an x402 integration and want to test whether a HEAD request to my paid endpoint would pass the budget preflight check without actually triggering a real USDC payment — can you run the preflight and show me the result?"}],"resultDescription":"Returns a preflight validation result indicating whether the proposed HTTP request would be approved under x402 payment gating. On failure or unpaid requests, returns HTTP 402 with eip3009 payment extras including payment channel details required by the OpenX402 facilitator.","failureModes":["HTTP 402 returned when request is not accompanied by valid payment — includes eip3009 payment extras in response body","Invalid HTTP method submitted (must be GET, HEAD, DELETE, or POST)","Missing required 'type' or 'method' fields in input object","Facilitator mismatch — only OpenX402 is supported; other facilitators will not process the request","Malformed input schema causes request rejection"],"whenToPreferThis":"Use this endpoint when you need to validate or diagnose x402 payment-gated API requests before committing actual USDC payments, or when debugging 402 responses from x402-protected endpoints. Prefer this over live calls when testing payment flow integrations to avoid burning funds on failed requests.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:40:16.601Z","isFirstParty":false,"canonicalSlug":"x402-tools-budget-preflight-b5ac68d1"}