Pushbuild

Airline Fares API – US Domestic Airfares by Route and Airline

Average, median and percentile fares and passenger counts for every US domestic airport pair by airline and quarter since 2010, nonstop or connecting, from the DOT Origin and Destination Survey (DB1B).

$0.80 per 1,000 records

Get an API key

Example request

POST /airline-fares/run
{
  "origins": [
    "BOS"
  ],
  "maxItems": 20
}

What it returns

What travelers actually paid to fly between US airports, every quarter since 2010: for each origin and destination airport and each ticketing airline (or all airlines combined), nonstop, connecting or all itineraries, the passengers in the sample and the estimated total, the average fare, the 10th, 25th, 50th, 75th and 90th percentile fares, the nonstop distance and the average fare in cents per mile.

Filter by origin, destination (one or both directions), airport, state, airline, itinerary type, quarter range or minimum passengers, and sort by traffic, cheapest, priciest or cents per mile, for fare benchmarking, route pricing and competition analysis.

Source: the US Department of Transportation Airline Origin and Destination Survey (DB1B Market), a 10% sample of domestic airline tickets, updated quarterly about five months after each quarter ends. Fares are one-way market fares per passenger; fares under $25 (mostly award travel) and bulk fares are excluded.

Charged per row returned.

Request

POST https://api.pushbuild.com/airline-fares/run with a JSON body. Send your key in the X-API-Key header.

FieldTypeDescription
originslist of stringsThree-letter airport codes, e.g. BOS.
destinationslist of stringsThree-letter airport codes, e.g. LAX.
bothDirectionsbooleanWith origins and destinations, also include trips in the reverse direction.
airportslist of stringsTrips starting or ending at any of these airports.
originStateslist of stringsTwo-letter state codes.
destStateslist of stringsTwo-letter state codes.
carrierslist of stringsAirline codes, e.g. AA, DL, UA, WN, B6, NK. Default ALL (every airline combined).
itinerarystring: all, nonstop, connectingall (default), nonstop or connecting.
quarterFromstringYYYY-Qn or YYYY. Without a range, the latest quarter.
quarterTostringYYYY-Qn or YYYY.
allQuartersbooleanEvery quarter since 2010 instead of the latest.
minPassengersintegerOnly routes with at least this many estimated passengers in the quarter.
sortstring: passengers, cheapest, priciest, newest, centsPerMilepassengers (default), cheapest, priciest, newest or centsPerMile.
maxItemsintegerMaximum items to return (1-500). Default: 100.

Example

curl -X POST https://api.pushbuild.com/airline-fares/run \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"origins": ["BOS"], "maxItems": 20}'

Response

{"count": 20, "truncated": false, "seconds": 1.4, "items": [ { ... } ]}

Each call returns up to 500 items. Records that fail validation or are not found are flagged in the items and not charged.

Pricing

Pay only for results returned: $0.80 per 1,000 records. No charge for errors or empty searches.

Use it from Claude, ChatGPT or Cursor

This API is also an MCP server: https://api.pushbuild.com/mcp/airline-fares. Add it to any assistant that supports remote MCP servers, with your key in the X-API-Key header. Same prices. Setup for each app.

Tell us what you need built.

Questions about this API, higher volumes, or a data source you need that we don't cover yet.

hello@pushbuild.com

(617) 299-8887

Tell us about your project

A few questions so we can come back with a written scope. We reply within one business day.

Want this data inside your own app or CRM? API integrations and data sync