{"uid":"cap_FT3i8SJQlI2nuaUPIE42i","slug":"api-strale-io-7775f06f","name":"Paid API Preflight Check","description":"Verify any paid API endpoint before your agent spends money. Checks reachability, SSL, response time, and validates the payment protocol handshake (L402, x402, MPP). Returns a proceed/caution/avoid recommendation with parsed payment details. Use this befo…","url":"https://api.strale.io/x402/paid-api-preflight","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 paid API endpoint URL to check before paying"}}}},"additionalProperties":false}}},"responseSchema":null,"example":{"request":{"url":"https://api.example.com/weather"},"response":{"url":"https://api.example.com/weather","_meta":{"payment":{"method":"x402","price_usd":0.0216,"settlement_id":"0xbced6fd51529332ae1c4fadc61301b5945a34600022a67c9ca22f3c9131adf7e"},"capability":"paid-api-preflight","latency_ms":11,"provenance":{"source":"http-request","fetched_at":"2026-06-16T01:20:01.571Z"}},"issues":["Unreachable: fetch failed"],"server":null,"ssl_valid":true,"status_code":0,"is_reachable":false,"recommendation":"avoid","payment_details":{},"payment_protocol":"unknown","response_time_ms":10,"facilitator_reachable":null,"payment_handshake_valid":false}},"exampleRequest":{"url":"https://api.example.com/weather"},"tags":["x402"],"displayCostAmount":"0.0216","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.0216/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0216","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0216","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__x24fw-NWKn5FTL-FQ3dS","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0216","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Verifies a paid API endpoint's reachability, SSL, response time, and payment protocol handshake before an agent spends money on it","exampleAgentPrompt":"Before we call that paid weather API at https://api.example.com/weather, can you run a preflight check on it to make sure it's reachable, SSL is valid, and the payment handshake is legitimate — I want a proceed/caution/avoid recommendation before we spend anything.","exampleUseCases":null,"resultDescription":"Returns a structured report including a proceed/caution/avoid recommendation, reachability status, SSL validity, response time, detected payment protocol (L402/x402/MPP), parsed payment details (asset, price, payTo address, network), and a list of any issues found.","failureModes":["Target URL is unreachable or returns unexpected errors","SSL certificate invalid or expired on target endpoint","Payment protocol handshake not recognized or malformed","Missing required 'url' query parameter returns validation error","Target API does not implement a recognized payment protocol"],"whenToPreferThis":"Use this endpoint whenever an AI agent is about to call an unknown or untrusted paid API and needs to verify it is legitimate, reachable, and correctly implements a payment protocol (x402, L402, MPP) before committing funds. Especially valuable in agentic workflows where automated spending decisions are made without human review of each individual call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T13:07:29.794Z","isFirstParty":false}