{"uid":"cap_OgdAtsb3gyjnVZg0B-viP","slug":"foundry-agent-services-x402-preflight-checker-686b96bf","name":"Foundry Agent Services — x402 Preflight Checker","description":"Pay-per-request evidence and data tools: CSV validation and reconciliation, DNS/email configuration evidence, and bounded official weather, earthquake, vehicle, company and study records. Exact USDC prices, explicit JSON contracts and source provenance. No mailbox, ownership, medical or safety guarantees.","url":"https://foundry-par007-machine-revenue-mainnet.inference-chip-index.workers.dev/v2/x402/preflight","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":2048},"body":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"method":{"enum":["GET","POST"],"type":"string","default":"GET"}}},"responseSchema":{"type":"json","example":{"route":"preflight","result":{"url":"https://foundry-par007-machine-revenue-mainnet.inference-chip-index.workers.dev/v1/csv/profile","method":"POST","status":402,"challenge":{"accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"10000","pay_to":"0x25e8245f07d5e4873987293dad666afbe56a9608","scheme":"exact","network":"eip155:8453"}],"version":2,"resource":null,"warnings":["INPUT_SCHEMA_MISSING","OUTPUT_SCHEMA_MISSING"],"declared_input":null,"declared_output":null},"reachable":true,"observed_at":"2026-09-06T00:00:00Z","payment_sent":false,"challenge_header_present":true},"observed_at":"2026-09-06T00:00:00Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_d9qNVMPViMBGt3lXtm3fK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks whether a Foundry pay-per-request endpoint is reachable and returns its payment challenge details before committing funds","exampleAgentPrompt":"Before I pay, can you preflight check the Foundry CSV profile endpoint at https://foundry-par007-machine-revenue-mainnet.inference-chip-index.workers.dev/v1/csv/profile using a POST method to confirm it's reachable and show me the USDC payment challenge details?","exampleUseCases":[{"title":"Verify payment details before calling data API","prompt":"Before I send any USDC, preflight the Foundry earthquake records endpoint at https://foundry-par007-machine-revenue-mainnet.inference-chip-index.workers.dev/v1/earthquake/recent with GET so I can see exactly how much to pay and to which address."},{"title":"Check if weather endpoint is live","prompt":"Can you preflight check the Foundry weather route at https://foundry-par007-machine-revenue-mainnet.inference-chip-index.workers.dev/v1/weather/current using GET and tell me if it's reachable and what the x402 payment challenge looks like?"},{"title":"Inspect payment scheme for vehicle records tool","prompt":"Run a preflight on the Foundry vehicle records endpoint at https://foundry-par007-machine-revenue-mainnet.inference-chip-index.workers.dev/v1/vehicle/lookup with POST so I know the accepted asset, amount in USDC, and pay-to wallet before I commit to the call."}],"resultDescription":"A JSON object containing the target URL, HTTP method, HTTP status (typically 402), a payment challenge with accepted asset details (token address, USDC amount, pay-to address, payment scheme, network), reachability boolean, whether payment was sent, whether the challenge header was present, and an observed_at timestamp. Also includes any warnings about missing input or output schemas.","failureModes":["Target URL is unreachable — reachable field returns false","Malformed target URL — request rejected with validation error","Target endpoint does not return a 402 challenge — challenge_header_present is false","Network timeout reaching the target worker","Invalid method enum value — schema validation error"],"whenToPreferThis":"Use this endpoint when you need to inspect a Foundry x402-gated route's payment requirements before committing USDC. It is the correct preflight step in any agentic workflow that uses Foundry pay-per-request data tools (CSV validation, DNS evidence, weather, earthquake, vehicle, company, or study records). Prefer this over direct calls when you want to confirm reachability, validate the payment amount, or retrieve the pay-to address programmatically without spending funds.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:48:02.029Z","isFirstParty":false}