{"uid":"cap_h4RyBJQ1LYV8ymEusf_JH","slug":"agent-tools-preflight-checker-569a45cb","name":"Agent Tools Preflight Checker","description":"Primary-source tools for AI agents: verify before you pay, cite, or repeat.","url":"https://agent-tools-7936.onrender.com/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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"The x402 endpoint you are about to pay."},"method":{"enum":["GET","POST"],"type":"string","description":"HTTP method the endpoint expects."},"max_price_usd":{"type":"string","description":"Your budget per call; over it the verdict is OVER_BUDGET."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"verdict":{"type":"string"},"latency_s":{"type":"number"},"http_status":{"type":"integer"},"payment_required":{"type":"object"}}}}}}},"responseSchema":{"type":"json","example":{"verdict":"PAYABLE","latency_s":0.95,"http_status":402,"payment_required":{"valid":true,"options":[{"network":"eip155:8453","price_usd":"0.003","asset_symbol":"USDC"}]}}},"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_ku91z5NBEcm7GeV25j6wp","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":"Verifies whether an x402 payment-gated endpoint is reachable, correctly configured, and within budget before an agent commits to paying","exampleAgentPrompt":"Before we pay anything, can you preflight check https://some-x402-api.example.com/data using GET to make sure it's a valid x402 endpoint and that the price is under $0.01?","exampleUseCases":[{"title":"Budget guard before paying an API","prompt":"Before my agent pays that weather API at https://weather-x402.example.com/forecast, can you do a preflight check with a GET request and make sure it costs less than $0.005?"},{"title":"Validate a new x402 integration","prompt":"I just set up an x402-gated endpoint at https://myservice.example.com/api/data — can you verify it's returning a proper 402 with valid payment options when you hit it with a GET?"},{"title":"Audit an x402 endpoint before citing it","prompt":"I'm about to recommend this paid data source at https://datasource-x402.example.com/records to my users — can you preflight it with a GET to confirm it's live, payable, and priced under $0.02?"}],"resultDescription":"Returns a JSON object with a verdict (e.g. PAYABLE, OVER_BUDGET, INVALID), measured latency in seconds, the HTTP status code received, and a payment_required object detailing whether the x402 header is valid, the supported networks, price in USD, and asset symbol (e.g. USDC on Base).","failureModes":["Endpoint is unreachable — verdict may be INVALID or no response","Endpoint does not return 402 — not a valid x402 service","Price exceeds max_price_usd budget — verdict is OVER_BUDGET","Malformed x402 payment header — valid field set to false in response","Slow or timing-out upstream endpoint — high latency_s returned","Missing required 'url' query parameter — request rejected"],"whenToPreferThis":"Use this endpoint when an AI agent is about to pay for an x402-gated API call and needs to confirm the endpoint is live, correctly configured, affordable within a stated budget, and returning valid payment metadata before committing any funds. Prefer this over blindly paying when budget controls or endpoint integrity matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T12:36:49.662Z","isFirstParty":false,"canonicalSlug":"agent-tools-preflight-checker-569a45cb"}