{"uid":"cap_-PuOlxws7zjPJ_wPtmFRJ","slug":"x402-payment-preflight-check-1d4aa66f","name":"x402 Payment Preflight Check","description":"Machine-readable pay-per-request intelligence for autonomous agents on Base mainnet. x402 v2 resources expose deterministic decisions, market demand signals, payment preflight checks, repository intelligence, crypto catalysts, OpenAPI integration analysis and token liquidity signals.","url":"https://agent-economy-signal-x402-mainnet.bronzetti-andrea.workers.dev/premium/x402-preflight","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":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri","description":"HTTPS x402 endpoint to inspect before payment."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"status":"payable","target":"https://example.com/premium/resource","payment":{"pay_to":"0x0000000000000000000000000000000000000000","scheme":"exact","network":"eip155:8453","x402_version":2,"estimated_usd":0.005},"product":"x402 Purchase Preflight","version":"1.0.0","price_usd":0.003,"next_action":"PAY_IF_THE_RESOURCE_MATCHES_YOUR_TASK","generated_at":"2026-08-25T18:00:00.000Z","risk_signals":[],"bazaar_metadata":true,"valid_for_seconds":60}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MEwVi090IhirQsnG6jRRq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Inspects an x402-gated endpoint before payment to return risk signals, payment details, and a go/no-go action recommendation for autonomous agents.","exampleAgentPrompt":"Before you pay for that x402 endpoint at https://agent-economy-signal-x402-mainnet.bronzetti-andrea.workers.dev/premium/signal, run a preflight check on it so I can see the risk signals, the exact USDC amount, and whether I should go ahead and pay.","exampleUseCases":[{"title":"Pre-payment risk check for agent","prompt":"My agent is about to pay for the x402 resource at https://someapi.example.com/premium/data — can you run a preflight on it first and tell me the risk signals and whether it's safe to pay?"},{"title":"Cost verification before USDC spend","prompt":"Before my agent calls https://market-intel.example.com/premium/signals, do a preflight check so I know exactly how much USDC it costs and what address the payment goes to on Base mainnet."},{"title":"Validating bazaar-listed x402 endpoint","prompt":"I found an x402 endpoint on the bazaar at https://repo-intel.example.com/premium/catalyst — preflight it for me and confirm it's a legit payable resource with no risk flags before I authorize the payment."}],"resultDescription":"Returns a JSON object indicating whether the target URL is payable, the recipient wallet address, payment scheme, Base mainnet chain ID, estimated USD cost, a next-action recommendation (e.g. PAY_IF_THE_RESOURCE_MATCHES_YOUR_TASK), any risk signals, whether the endpoint has bazaar metadata, and a validity window in seconds.","failureModes":["Invalid or malformed URL returns an error response","Target endpoint does not implement x402 and returns non-402 status","Preflight result expires after validity_for_seconds elapses requiring a fresh call","Network connectivity issues to the target endpoint cause inspection failure","Non-HTTPS URLs are rejected by URI format validation"],"whenToPreferThis":"Use this endpoint when an AI agent needs to inspect an x402-gated API before committing a micropayment — especially when risk assessment, cost verification, or wallet address confirmation is needed prior to executing a USDC transaction on Base mainnet. Prefer this over directly attempting the paid call when operating autonomously with budget constraints or when vetting unknown x402 providers.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:33:43.159Z","isFirstParty":false}