{"uid":"cap_amNUKFQnLDYkashwio6iH","slug":"x402-preflight-batch-url-safety-check-81615936","name":"x402-preflight Batch URL Safety Check","description":"Pay-per-call HTTP APIs, paid with x402 in USDC on Base (eip155:8453): agentkit, api-change-check, basedue, bizcal-api, chainread, check-sanctions, chgwatch, company-facts, domain-intel, domainkit, domfacts, due, edgar, funding-rates, fundinglens, pageaudit, solcheck, token-dd, txpreflight, walletprofile, web-extract, webmd, webread, websearch, x402-preflight, x402check, x402index. Each operation describes its service.","url":"https://api.firstmention.uk/s/x402-preflight/batch?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"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","properties":{"urls":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"ok":{"type":"boolean"},"count":{"type":"number"},"results":{"type":"array"},"safe_to_pay":{"type":"boolean"},"overall_verdict":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"ok":true,"count":2,"results":[],"safe_to_pay":true,"overall_verdict":"payable"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Jft-OnAQGnvPKnf5PTRqM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks multiple URLs in batch to determine if they are safe to pay via the x402 protocol, returning an overall payability verdict and per-URL results.","exampleAgentPrompt":"Before my agent starts paying for these three x402 API endpoints — https://api.firstmention.uk/s/websearch, https://api.firstmention.uk/s/webread, and https://api.firstmention.uk/s/edgar — can you run a batch preflight check to confirm they're all safe to pay and actually payable via x402?","exampleUseCases":[{"title":"Pre-flight check before agent payment loop","prompt":"I'm about to run an automated workflow that calls five different x402 APIs using USDC on Base — before the agent starts paying, can you batch-preflight all five URLs to make sure they're safe and payable?"},{"title":"Vetting a curated x402 API list","prompt":"I found a list of pay-per-call endpoints on x402scan and want to verify they're all legitimate before adding them to my toolkit — can you run a batch x402 preflight on these URLs and tell me which ones return a 'payable' verdict?"},{"title":"Debugging x402 payment failures in bulk","prompt":"Several of my agent's x402 API calls are failing and I'm not sure if the endpoints themselves are the problem — can you batch-check all of them with a preflight to see which ones are actually safe to pay and which aren't?"}],"resultDescription":"Returns a JSON object with an 'ok' boolean, a 'count' of URLs checked, a 'results' array with per-URL details, a 'safe_to_pay' boolean indicating whether all URLs passed safety checks, and an 'overall_verdict' string (e.g. 'payable') summarizing the batch assessment.","failureModes":["Missing or malformed 'urls' query parameter returns an error or empty results","Unreachable URLs in the batch may cause individual result failures while others succeed","Invalid HTTP method (not GET, HEAD, or DELETE) is rejected by schema validation","Rate limiting or payment failure via x402 may prevent the preflight from executing","URLs that don't implement x402 may return non-payable verdicts"],"whenToPreferThis":"Use this endpoint when you need to validate multiple x402 payment endpoints in a single call before your agent commits USDC. It is more efficient than calling the single-URL x402-preflight endpoint repeatedly and gives an aggregated 'overall_verdict' across all URLs. Prefer it when building automated payment workflows that must gate spending on confirmed URL legitimacy.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T12:42:45.322Z","isFirstParty":false,"canonicalSlug":"x402-preflight-batch-url-safety-check-81615936"}