{"uid":"cap_fV7EoDIQH-xh4EoSgjBBx","slug":"newbotlabor-agent-preflight-5ab7c0e5","name":"NewBotLabor Agent Preflight","description":"Pay-per-call utilities for autonomous agents, paid with x402 (USDC on Base, or USDC/USDT on Celo; no account, no API key).","url":"https://newbotlabor--254ecdfcc2de11f19b541607ee4eb77e.web.val.run/api/x402/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","description":"x402 endpoint URL to inspect (GET)"},"maxUsd":{"type":"string","description":"your max price in USD (default 0.10)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"isX402":true,"issues":[],"verdict":"payable_ok","x402Version":2,"cheapestMainnetUsdc":{"network":"eip155:8453","priceUsd":0.01,"assetIsCanonicalUSDC":true}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_C5kECXwQqc1HkMTd1Qg2b","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Inspects an x402-enabled endpoint URL to determine if it is payable, returning pricing, network, and compliance details before an agent commits funds.","exampleAgentPrompt":"Before my agent pays for that API, preflight the x402 endpoint at https://example.com/api/data and confirm it's payable and costs under $0.05.","exampleUseCases":[{"title":"Budget gate before agent API call","prompt":"Check whether https://newbotlabor--254ecdfcc2de11f19b541607ee4eb77e.web.val.run/api/x402/weather is x402-compatible and tell me its USDC price on Base before I allow my agent to call it — reject it if it costs more than $0.03."},{"title":"Validate canonical USDC before payment","prompt":"Preflight the x402 endpoint at https://api.someservice.xyz/v1/search to confirm it accepts canonical USDC on mainnet Base and flag any compliance issues I should know about."},{"title":"Scout unknown API for agent workflow","prompt":"I found this endpoint https://thirdparty.io/api/premium and I want to know if it supports x402, what network it uses, and what it costs in USD before I wire it into my agent pipeline."}],"resultDescription":"Returns a JSON object with: a boolean isX402 indicating x402 support, a verdict string (e.g. 'payable_ok'), the x402 protocol version, the cheapest mainnet USDC price with network ID and canonical asset flag, and an issues array listing any problems found with the endpoint's x402 configuration.","failureModes":["Target URL does not support x402 — returns isX402: false with an empty cheapestMainnetUsdc","Target URL is unreachable or times out — may return an error or non-x402 verdict","Price exceeds maxUsd threshold — verdict may indicate not payable within budget","Malformed or missing url query parameter — request rejected with validation error","x402 headers present but non-canonical USDC asset — assetIsCanonicalUSDC returns false with issues listed"],"whenToPreferThis":"Use this endpoint when an AI agent needs to safely inspect an unknown or untrusted x402-gated API before committing USDC funds — especially to enforce budget caps, confirm canonical USDC on Base mainnet, and catch misconfigured payment headers before a real call is made. Prefer this over calling the target endpoint directly when cost or network compliance is uncertain.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:31:17.156Z","isFirstParty":false,"canonicalSlug":"newbotlabor-agent-preflight-5ab7c0e5"}