# AviationStack Flights via gateway.apiosk.com

> AviationStack Flights via gateway.apiosk.com is a paid API for AI agents from gateway.apiosk.com, paid per call via x402, $0.12/call, status unknown (last checked 2026-09-14).

Retrieves real-time flight data including status, departure/arrival info, and schedules via the AviationStack API

## Facts

- Endpoint: GET https://gateway.apiosk.com/aviationstack/flights
- Price: $0.12/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aviationstack-flights-via-gateway-apiosk-com-eee3f66b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MR10j5lzaZdBXtw91AJ0_

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability aviationstack-flights-via-gateway-apiosk-com-eee3f66b
```

Example prompt: Can you pull up the latest flight info for flights arriving at JFK from LAX — show me up to 10 results and filter for scheduled flights only?

## When to prefer this

Use this endpoint when you need real-time or current flight data filtered by departure airport, arrival airport, or flight status. Prefer this over generic travel APIs when you need aviationstack-sourced data with IATA-code-based filtering, especially within an x402 micropayment-enabled agent workflow.

## Known failure modes

- Invalid IATA code returns empty results or error
- Unsupported flight_status value may return an error or empty set
- Exceeding rate limits or quota returns a 429 or API error
- Missing required credentials on the gateway returns a 401/402 payment required
- No matching flights for the given filters returns an empty list

## How this service works

Real-time and historical flights. Filter by flight_status, airline, airport, flight_number, etc.

## Output

A list of flight records matching the query, including flight status (e.g. scheduled, active, landed, cancelled), departure and arrival IATA codes, airline details, flight numbers, and schedule times. The number of records is bounded by the limit parameter.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aviationstack-flights-via-gateway-apiosk-com-eee3f66b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gateway.apiosk.com](https://www.zero.xyz/host/gateway.apiosk.com/llms.txt)
