{"uid":"cap_yhpCBFHJu0GNXlECStgcR","slug":"x402helper-xyz-preflight-endpoint-003d6b07","name":"x402helper.xyz Preflight Endpoint","description":"X402 micropayments server — AI agents pay USDC for OFAC screening, rates, and billing verification.","url":"https://x402helper.xyz/89e509/preflight?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":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","default":null,"description":"The x402 resource/endpoint URL the buyer agent intends to pay"},"network":{"enum":["base","ethereum","arbitrum","optimism","polygon"],"type":"string","default":null,"description":"Optional payment network hint for the target (default any)"},"resource":{"type":"string","default":null,"description":"Synonym for url (the target resource URL)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"result":{},"success":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.006","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.006/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_F19Bxb5IRcpbf9L2pmdq6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.006","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns payment requirements and preflight metadata for a target x402-protected resource before an AI agent commits payment.","exampleAgentPrompt":"Before paying for the x402-protected resource at https://api.example.com/data, check what the payment requirements are — how much USDC is needed and which network (like Base or Ethereum) it accepts.","exampleUseCases":[{"title":"Preflight before agent API payment","prompt":"Before my agent pays for the x402 resource at https://someapi.xyz/protected-data, look up the payment requirements — I want to know the USDC amount and accepted network before committing."},{"title":"Validate payment network for x402 resource","prompt":"Check whether https://dataservice.io/premium-endpoint accepts payments on the Base network and what the price is in USDC before I proceed."},{"title":"Compare costs across x402 endpoints","prompt":"Can you look up the preflight payment details for https://x402helper.xyz/89e509/ofac-screen so I know what it costs before my agent calls it?"}],"resultDescription":"Returns a JSON object with success status and a result object containing payment requirements for the target x402 resource, including USDC price, accepted payment network(s), and billing verification metadata.","failureModes":["Missing required 'url' query parameter returns an error or empty result","Invalid or unreachable target URL may return an error or null result","Unsupported network specified returns a validation error","Target resource not x402-protected returns unexpected or empty payment requirements","Network timeout if target endpoint is slow or unavailable"],"whenToPreferThis":"Use this endpoint when an AI agent needs to inspect payment requirements for any x402-protected resource before committing USDC. It is the correct first step in an x402 payment flow — call preflight to discover price, network, and billing details, then proceed with the actual payment. Prefer this over guessing payment parameters or calling the protected resource directly without payment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:42:28.932Z","isFirstParty":false,"canonicalSlug":"x402helper-xyz-preflight-endpoint-003d6b07"}