What it returns
How many people flew yesterday, and how does that compare with last year? This API returns the TSA's daily count of travelers screened at US airport checkpoints, every day since January 2019, already lined up against the same weekday a year earlier and smoothed with a 7-day average. It also returns the Bureau of Transportation Statistics' monthly indicators: airline passengers, airline on-time performance, air cargo, freight rail carloads, truck tonnage, transit ridership and the Transportation Services Index. Used by travel, airline and hotel analysts, and by traders tracking airline stocks and consumer demand.
TSA daily** (`tsaDaily`): date, weekday, travelers, same weekday last year, year-over-year %, 7-day average, and its year-over-year %. BTS monthly** (`btsMonthly`): one row per series per month, with value, previous month, month-over-month %, same month last year, and year-over-year %. More than 130 series are available.
Request
POST https://api.pushbuild.com/tsa-checkpoint-travel-data/run with a JSON body. Send your key in the X-API-Key header.
| Field | Type | Description |
|---|---|---|
dataset | string: tsaDaily, btsMonthly | TSA daily passenger screenings, or BTS monthly indicators. Default: "tsaDaily". |
dateFrom | string | YYYY-MM-DD (TSA) or YYYY-MM (BTS). Default: last 30 days (TSA) or last 13 months (BTS). TSA data starts 2019-01-01. |
dateTo | string | YYYY-MM-DD or YYYY-MM. Default: today. |
series | list of strings | BTS only. Keep series whose name contains any of these, e.g. "on-time performance", "Airline Traffic", "Freight Rail". Leave unset for the airline, freight and transit set; an empty list returns all 130+ series. |
newestFirst | boolean | TSA only: sort newest day first. Default: true. |
maxItems | integer | Maximum items to return (1-500). Default: 100. |
Example
curl -X POST https://api.pushbuild.com/tsa-checkpoint-travel-data/run \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"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.40 per 1,000 rows. No charge for errors or empty searches.
Related APIs
Public Holidays API
Public and bank holidays for 100+ countries by year or date range, with regional (state/province) holidays, holiday types, long weekends with bridge days, worldwide upcoming holidays, and an is-it-a-holiday check for any list of dates..
Tide Times API
Official NOAA tide predictions (high/low and hourly), observed water levels, water and air temperature, wind and pressure for 3,000+ US coastal stations.
US Weather API
National Weather Service data for any US ZIP code, city or coordinates: 7-day forecast, hourly forecast, latest observed conditions and active severe-weather alerts.
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