Fares
GET
/v1/faresThe average domestic air fare at a US airport each quarter, weighted by passengers over its largest markets, with daily passengers; US for the country.
Analyst plan and upKey requiredJSON or CSVCached until the next release
Parameters
| Name | Type | Description |
|---|---|---|
| airportoptional | string query | A three-letter US airport code, or US for the country (the default) e.g. LAX |
| fromoptional | period query | First period to return e.g. 2025-01 |
| tooptional | period query | Last period to return e.g. 2026-08 |
| limitoptional | integer query | Rows per page, 1 to 1000 e.g. 100 |
Request
# US air fares by airport
curl "https://api.tourismapi.com/v1/fares?airport=LAX&from=2024" \
-H "X-API-Key: $TOURISM_API_KEY"const res = await fetch("https://api.tourismapi.com/v1/fares?airport=LAX&from=2024", {
headers: { "X-API-Key": process.env.TOURISM_API_KEY }
});
if (!res.ok) throw new Error(`Tourism API ${res.status}`);
const { meta, data } = await res.json();
console.log(meta.data_as_of, data);import os, requests
r = requests.get(
"https://api.tourismapi.com/v1/fares?airport=LAX&from=2024",
headers={"X-API-Key": os.environ["TOURISM_API_KEY"]},
timeout=10,
)
r.raise_for_status()
body = r.json()
print(body["meta"]["data_as_of"], body["data"])$ch = curl_init("https://api.tourismapi.com/v1/fares?airport=LAX&from=2024");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-API-Key: " . getenv("TOURISM_API_KEY")],
]);
$body = json_decode(curl_exec($ch), true);
print_r($body["data"]);
Example response
{
"meta": {
"request_id": "req_7740143b28",
"data_as_of": "2026-11-07T04:51:41Z",
"count": 9,
"airport": "LAX",
"name": "LAX (Los Angeles, CA (Metropolitan Area))",
"freq": "Q",
"note": "Passenger-weighted average one-way fare on the largest US domestic markets with this airport at one end; passengers are average daily passengers in those markets."
},
"data": [
{
"airport": "LAX",
"period": "2024-Q1",
"average_fare_usd": 271.04,
"passengers_per_day": 76457
},
{
"airport": "LAX",
"period": "2024-Q2",
"average_fare_usd": 268.29,
"passengers_per_day": 94297
},
{
"airport": "LAX",
"period": "2024-Q3",
"average_fare_usd": 251.04,
"passengers_per_day": 92191
}
]
}Response fields
| Field | Type | Example |
|---|---|---|
| airport | string | LAX |
| period | string | 2024-Q1 |
| average_fare_usd | number | 271.04 |
| passengers_per_day | number | 76457 |