{"uid":"cap_qTyqjFQN6vgrDxwkS-7EX","slug":"apiosk-gateway-aviationstack-execute-e9eebd52","name":"Apiosk Gateway – Aviationstack Execute","description":"Pay-per-call API gateway on the x402 protocol (HTTP 402 + USDC on Base). This document covers the gateway's discovery and execution meta-endpoints. Individual provider APIs are reachable at /{api_slug}/{path} and described by GET /{api_slug}/metadata.","url":"https://gateway.apiosk.com/aviationstack/execute","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"string","description":"JSON payload forwarded to the selected operation."},"operation":{"type":"string","description":"Operation id, /path, or METHOD /path selector."}}},"responseSchema":{"type":"object","required":["status","result"],"properties":{"api":{"type":"string"},"cost":{"type":"string"},"result":{"description":"Upstream response body."},"status":{"type":"string"},"latency":{"type":"number"},"operation":{"type":"string"},"upstream_status":{"type":"integer"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0805","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.07/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.07","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.07","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_N-5f_ztE3UTRLmie6oaNS","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.07","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Executes a pay-per-call aviation data query via Aviationstack through the Apiosk x402 gateway, returning real-time flight, airline, and route information.","exampleAgentPrompt":"Look up the current status and arrival time of Delta flight DL405 today — use the Aviationstack flight status operation.","exampleUseCases":[{"title":"Real-time flight status check","prompt":"What's the current status of United flight UA789 today? Is it on time, delayed, or cancelled, and when is it expected to land?"},{"title":"Airport departure board lookup","prompt":"Show me all flights scheduled to depart from Chicago O'Hare (ORD) in the next two hours — I need carrier names, destinations, and departure times."},{"title":"Airline route research","prompt":"I need details on all routes operated by British Airways between London Heathrow and New York JFK — give me flight numbers, schedules, and aircraft types."}],"resultDescription":"Returns a JSON object containing the upstream Aviationstack API response body (flight status, schedule, airline, or airport data), along with metadata fields: the API slug ('aviationstack'), cost of the call (e.g. '0.07 USDC'), HTTP status from upstream, operation identifier, and latency in milliseconds.","failureModes":["Invalid operation selector returns an error in the result field","Malformed JSON payload causes upstream rejection with a non-200 upstream_status","Insufficient USDC balance or x402 payment failure blocks execution","Aviationstack upstream downtime or rate limiting results in 5xx upstream_status","Unknown flight number or airport code returns empty data arrays from Aviationstack","Missing required fields in the input JSON payload causes a 400-level error"],"whenToPreferThis":"Choose this endpoint when you need real-time or historical aviation data — flight status, schedules, airline info, or airport details — and are operating in an x402/USDC payment context. It is preferred over direct Aviationstack API calls when you need a pay-per-call model without managing API keys, or when integrating with other Apiosk gateway services in the same workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:57:54.273Z","isFirstParty":false}