> ## Documentation Index
> Fetch the complete documentation index at: https://lava.so/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# FlightAware

> Aviation data API (AeroAPI) providing real-time flight tracking, airport information, weather observations, and historical flight data across commercial and private aviation.

Aviation data API (AeroAPI) providing real-time flight tracking, airport information, weather observations, and historical flight data across commercial and private aviation. Best for travel workflows, logistics dashboards, or aviation analytics needing authoritative flight status and airport data. Per-request pricing ranges from $0.001 to $0.20 depending on endpoint.

54 endpoints available through Lava's AI Gateway. See the [FlightAware API docs](https://www.flightaware.com/aeroapi/portal/documentation) for full documentation.

<Info>Supports both **managed** (Lava's API keys) and **unmanaged** (bring your own credentials) mode.</Info>

## Endpoints

### Search flight positions

**GET** `https://aeroapi.flightaware.com/aeroapi/flights/search/positions` — \$0.05 / request

### Count matching flights

**GET** `https://aeroapi.flightaware.com/aeroapi/flights/search/count` — \$0.02 / request

### Search flights by route

**GET** `https://aeroapi.flightaware.com/aeroapi/flights/search?query=-destination+KJFK+-origin+KLAX` — \$0.05 / request

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://aeroapi.flightaware.com/aeroapi/flights/search?query=-destination+KJFK+-origin+KLAX', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Faeroapi.flightaware.com%2Faeroapi%2Fflights%2Fsearch%3Fquery%3D-destination%2BKJFK%2B-origin%2BKLAX" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

### Get flight counts

**GET** `https://aeroapi.flightaware.com/aeroapi/flights/counts` — \$0.10 / request

### Get flight info by identifier

**GET** `https://aeroapi.flightaware.com/aeroapi/flights/{ident}` — \$0.005 / request

### Get canonical flight identifier

**GET** `https://aeroapi.flightaware.com/aeroapi/flights/{ident}/canonical` — \$0.001 / request

### Get current flight position

**GET** `https://aeroapi.flightaware.com/aeroapi/flights/{ident}/position` — \$0.01 / request

### Get flight route

**GET** `https://aeroapi.flightaware.com/aeroapi/flights/{ident}/route` — \$0.01 / request

### Get flight track

**GET** `https://aeroapi.flightaware.com/aeroapi/flights/{ident}/track` — \$0.012 / request

### Get flight map image

**GET** `https://aeroapi.flightaware.com/aeroapi/flights/{ident}/map` — \$0.03 / request

### Set flight intents

**POST** `https://aeroapi.flightaware.com/aeroapi/flights/{ident}/intents` — Free

### Search foresight flights

**GET** `https://aeroapi.flightaware.com/aeroapi/foresight/flights/search` — \$0.06 / request

### Get foresight flight counts

**GET** `https://aeroapi.flightaware.com/aeroapi/foresight/flights/counts` — \$0.10 / request

### Get foresight flight data

**GET** `https://aeroapi.flightaware.com/aeroapi/foresight/flights/{ident}` — \$0.015 / request

### List airports

**GET** `https://aeroapi.flightaware.com/aeroapi/airports` — \$0.005 / request

### Find nearby airports

**GET** `https://aeroapi.flightaware.com/aeroapi/airports/nearby` — \$0.004 / request

### List airport delays

**GET** `https://aeroapi.flightaware.com/aeroapi/airports/delays` — \$0.05 / request

### Get airport details

**GET** `https://aeroapi.flightaware.com/aeroapi/airports/{ident}` — \$0.015 / request

### Get airport delays

**GET** `https://aeroapi.flightaware.com/aeroapi/airports/KJFK/delays` — \$0.01 / request

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://aeroapi.flightaware.com/aeroapi/airports/KJFK/delays', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Faeroapi.flightaware.com%2Faeroapi%2Fairports%2FKJFK%2Fdelays" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

### Get airport flights

**GET** `https://aeroapi.flightaware.com/aeroapi/airports/{ident}/flights` — \$0.02 / request

### Get scheduled departures

**GET** `https://aeroapi.flightaware.com/aeroapi/airports/{ident}/flights/scheduled_departures` — \$0.005 / request

### Get airport arrivals

**GET** `https://aeroapi.flightaware.com/aeroapi/airports/{ident}/flights/arrivals` — \$0.005 / request

### Get airport departures

**GET** `https://aeroapi.flightaware.com/aeroapi/airports/{ident}/flights/departures` — \$0.005 / request

### Get scheduled arrivals

**GET** `https://aeroapi.flightaware.com/aeroapi/airports/{ident}/flights/scheduled_arrivals` — \$0.005 / request

### Get airport routes

**GET** `https://aeroapi.flightaware.com/aeroapi/airports/{ident}/routes` — \$0.02 / request

### Get route between airports

**GET** `https://aeroapi.flightaware.com/aeroapi/airports/{ident}/routes/{dest}` — \$0.05 / request

### Get weather observations

**GET** `https://aeroapi.flightaware.com/aeroapi/airports/{ident}/weather/observations` — \$0.002 / request

### Get weather forecast

**GET** `https://aeroapi.flightaware.com/aeroapi/airports/{ident}/weather/forecast` — \$0.002 / request

### Get all weather data

**GET** `https://aeroapi.flightaware.com/aeroapi/airports/{ident}/weather/all` — \$0.002 / request

### Find nearby airports from a specific airport

**GET** `https://aeroapi.flightaware.com/aeroapi/airports/{ident}/nearby` — \$0.004 / request

### List operators

**GET** `https://aeroapi.flightaware.com/aeroapi/operators` — \$0.002 / request

### Get operator details

**GET** `https://aeroapi.flightaware.com/aeroapi/operators/{ident}` — \$0.015 / request

### Get canonical operator identifier

**GET** `https://aeroapi.flightaware.com/aeroapi/operators/{ident}/canonical` — \$0.001 / request

### Get operator flights

**GET** `https://aeroapi.flightaware.com/aeroapi/operators/{ident}/flights` — \$0.03 / request

### Get operator disruptions

**GET** `https://aeroapi.flightaware.com/aeroapi/disruptions/{ident}` — \$0.02 / request

### Get disruption counts

**GET** `https://aeroapi.flightaware.com/aeroapi/disruptions/{ident}/counts` — \$0.02 / request

### Get aircraft owner

**GET** `https://aeroapi.flightaware.com/aeroapi/aircraft/{ident}/owner` — \$0.002 / request

### List aircraft types

**GET** `https://aeroapi.flightaware.com/aeroapi/aircraft/types` — \$0.10 / request

### Search historical flights

**GET** `https://aeroapi.flightaware.com/aeroapi/history/flights/search` — \$0.05 / request

### Get last flight for identifier

**GET** `https://aeroapi.flightaware.com/aeroapi/history/flights/last/{ident}` — \$0.20 / request

### Get historical flights by identifier

**GET** `https://aeroapi.flightaware.com/aeroapi/history/flights/{ident}` — \$0.02 / request

### Get historical flight route

**GET** `https://aeroapi.flightaware.com/aeroapi/history/flights/{ident}/route` — \$0.04 / request

### Get historical flight track

**GET** `https://aeroapi.flightaware.com/aeroapi/history/flights/{ident}/track` — \$0.06 / request

### Get historical flight map

**GET** `https://aeroapi.flightaware.com/aeroapi/history/flights/{ident}/map` — \$0.14 / request

### Get historical airport flights

**GET** `https://aeroapi.flightaware.com/aeroapi/history/airports/{ident}/flights` — \$0.02 / request

### Get historical route between airports

**GET** `https://aeroapi.flightaware.com/aeroapi/history/airports/{ident}/routes/{dest}` — \$0.12 / request

### Get historical operator flights

**GET** `https://aeroapi.flightaware.com/aeroapi/history/operators/{ident}/flights` — \$0.02 / request

### Get flight schedules

**GET** `https://aeroapi.flightaware.com/aeroapi/schedules/{date_or_ident}` — \$0.02 / request

### List alerts

**GET** `https://aeroapi.flightaware.com/aeroapi/alerts` — Free

### Get alert by ID

**GET** `https://aeroapi.flightaware.com/aeroapi/alerts/{id}` — Free

### Create an alert

**POST** `https://aeroapi.flightaware.com/aeroapi/alerts` — Free

### Update an alert

**PUT** `https://aeroapi.flightaware.com/aeroapi/alerts/{id}` — Free

### Delete an alert

**DELETE** `https://aeroapi.flightaware.com/aeroapi/alerts/{id}` — Free

### Get account usage

**GET** `https://aeroapi.flightaware.com/aeroapi/account/usage` — Free

## Next Steps

<CardGroup cols={2}>
  <Card title="All Providers" icon="grid" href="/gateway/supported-providers">
    Browse all supported AI providers
  </Card>

  <Card title="Forward Proxy" icon="route" href="/gateway/forward-proxy">
    Learn how to construct proxy URLs and authenticate requests
  </Card>
</CardGroup>
