---
title: "Airports and Air Routes"
method: GET
path: "/airports"
tags: ["Transportation"]
---

# Airports and Air Routes

`GET /airports`

## Request

- Base URL: `https://api.dataporium.io`
- URL: `https://api.dataporium.io/airports`
- Auth: API key in query parameter `apikey`

Airports ranked for a period by departing passengers, flights, on-time %, delays or cancellations (/airports), one airport with its monthly series, airlines and top routes (/airports/{airport}), non-stop routes ranked by passengers (/air-routes) and passengers on flights within, to and from the US by month (/air-travelers), from official public data.

Answers are {period, total, limit, offset, sort, order, rows, as_of, about}. /air-travelers answers {total, rows: [{month, passengers, domestic_passengers, international_passengers, seats, departures, load_factor_pct, change_pct}]}.

## Query parameters

- `period` string
- `sort` string
- `state` string
- `airport` string
- `limit` integer

## Response `200`

Successful response (JSON).

- object

## Other responses

- `401`: No API key in the request.
- `403`: The API key is not valid or has expired.

---

[API](https://skmtc.dev/dataporium/apis/dataporium-data-api.md) · [All operations](https://skmtc.dev/dataporium/apis/dataporium-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dataporium/apis/dataporium-data-api/revisions/8bc593179dc8?raw)
