TSA checkpoint volumes
TSA passenger screening volumes: national daily counts and hourly counts per airport checkpoint
- Connector software
- Free and open source
- Service credentials
- Not needed
- Query Farm hosting
- Available · $10/month organization minimum
Use with an agent
Install the Orchard skill in your project to help your agent find connectors, configure them, and verify SQL results.
npx skills add Query-farm/vgi-skills --skill orchard
Copy this request into your coding agent to get started.
Use https://query.farm/products/orchard/connectors/tsa/index.md to help me query TSA checkpoint volumes with DuckDB or Haybarn 2.0.1 and VGI protocol 3.4. Ask only for missing details about the result I need or whether I want local execution, self-hosting or Query Farm hosting. Check the connector's actual hosting availability, credentials and input requirements. Read one format of each needed reference and the exact object declarations before writing SQL. Use a released connector, and distinguish a saved example result from anything you actually execute. If you cannot run the query, tell me what remains to verify.
The ten airports that screened the most passengers in the week of 1 November 2026
Example output · captured
- Connector release
- v0.2.0
- Engine
- 2.0.1
- VGI protocol
- 3.4.0
SELECT airport, sum(throughput) AS passengers
FROM tsa.main.checkpoint_throughput(DATE '2026-11-01', DATE '2026-11-07')
GROUP BY airport
ORDER BY passengers DESC
LIMIT 10
| airport | passengers |
|---|---|
| LAX | 629,102 |
| JFK | 580,709 |
| ORD | 579,983 |
| ATL | 552,603 |
| DFW | 493,717 |
Quick start
Choose where to run TSA checkpoint volumes, then follow the steps below.
The connector runs alongside DuckDB or Haybarn. No Query Farm account is needed.
1. Install the vgi extension
Run this in your SQL client. On DuckDB, keep FROM query_farm on LOAD in later sessions.
SET allow_extension_repositories = 'allowed';
CREATE EXTENSION REPOSITORY IF NOT EXISTS query_farm
WITH PREFIX 'https://duckdb-extensions.query.farm';
INSTALL vgi FROM query_farm;
LOAD vgi FROM query_farm;
INSTALL vgi FROM community;
LOAD vgi;
2. Attach the connector
Attach with uvx
Needs uv. uvx builds the worker from its release tag on first attach and reuses the cached environment after that.
ATTACH 'tsa' AS tsa (
TYPE vgi,
LOCATION 'uvx --from git+https://github.com/Query-farm/[email protected] vgi-tsa-worker'
);
Attach the signed image
Needs Docker, Podman or another OCI runtime. The extension runs the container and talks to it over stdio.
ATTACH 'tsa' AS tsa (
TYPE vgi,
LOCATION 'oci://ghcr.io/query-farm/vgi-tsa:0.2.0'
);
3. Run a query
SELECT airport, sum(throughput) AS passengers
FROM tsa.main.checkpoint_throughput(DATE '2026-11-01', DATE '2026-11-07')
GROUP BY airport
ORDER BY passengers DESC
LIMIT 10
Run the connector on a server you manage. You operate the service and choose who can connect.
1. Deploy the connector on your server
Follow the connector’s deployment instructions. Use its supported HTTP transport, or launch it remotely over SSH. The connection guide explains both options.
2. Install the vgi extension
Run this in your SQL client. On DuckDB, keep FROM query_farm on LOAD in later sessions.
SET allow_extension_repositories = 'allowed';
CREATE EXTENSION REPOSITORY IF NOT EXISTS query_farm
WITH PREFIX 'https://duckdb-extensions.query.farm';
INSTALL vgi FROM query_farm;
LOAD vgi FROM query_farm;
INSTALL vgi FROM community;
LOAD vgi;
3. Attach the connector
For an HTTP deployment, replace the example URL with your endpoint. Add the authentication options your deployment requires. For SSH, use the SSH connection instructions.
ATTACH 'tsa' AS tsa
(TYPE vgi, LOCATION 'https://your-connector.example.com');
4. Run a query
SELECT airport, sum(throughput) AS passengers
FROM tsa.main.checkpoint_throughput(DATE '2026-11-01', DATE '2026-11-07')
GROUP BY airport
ORDER BY passengers DESC
LIMIT 10
Query Farm operates TSA checkpoint volumes for your team. Hosting has a $10 monthly minimum per organization; usage counts toward it. From $2.97 per instance-month ($10 monthly minimum).
1. Create your hosted connector
Open the console, choose your organization and deployment size, and add any service credentials there.
2. Install the vgi extension
SET allow_extension_repositories = 'allowed';
CREATE EXTENSION REPOSITORY IF NOT EXISTS query_farm
WITH PREFIX 'https://duckdb-extensions.query.farm';
INSTALL vgi FROM query_farm;
LOAD vgi FROM query_farm;
INSTALL vgi FROM community;
LOAD vgi;
3. Attach your deployment
Copy the ATTACH statement from your deployment in the console and run it in DuckDB or Haybarn. Use tsa as the catalog alias for the query below.
4. Run a query
SELECT airport, sum(throughput) AS passengers
FROM tsa.main.checkpoint_throughput(DATE '2026-11-01', DATE '2026-11-07')
GROUP BY airport
ORDER BY passengers DESC
LIMIT 10
Technical details
- Verified connector release
- v0.2.0
- Engine
- 2.0.1
- VGI protocol
- 3.4.0
- Verified on
- December 1, 2026
Pin a version for production
When running the connector yourself, keep a specific release until you’re ready to upgrade. Replace the ATTACH statement above with this one and follow the same extension and credential setup.
Attach with uvx
Needs uv. uvx builds the worker from its release tag on first attach and reuses the cached environment after that.
ATTACH 'tsa' AS tsa (
TYPE vgi,
LOCATION 'uvx --from git+https://github.com/Query-farm/[email protected] vgi-tsa-worker'
);
Attach the signed image
Needs Docker, Podman or another OCI runtime. The extension runs the container and talks to it over stdio.
ATTACH 'tsa' AS tsa (
TYPE vgi,
LOCATION 'oci://ghcr.io/query-farm/vgi-tsa:0.2.0'
);
Overview
TSA checkpoint passenger volumes in DuckDB: the national daily traveler count since 2019 and hourly throughput per airport checkpoint parsed from TSA's weekly FOIA reports. Published with a lag of days to weeks; not real time.
Passenger volumes screened at Transportation Security Administration checkpoints, from tsa.gov:
- National daily counts since 2019, from TSA's passenger-volumes pages.
- Hourly counts per airport checkpoint, parsed from the weekly throughput PDFs in TSA's FOIA reading room.
Nothing here is real time: the national daily count is posted with a lag of about one to three days, and the hourly checkpoint reports arrive as weekly PDFs one to two weeks after the week ends.
Data is fetched when a query needs it and cached on disk. TSA publications are U.S. government works and in the public domain.
ATTACH options
- cache_dir
- Directory for cached tsa.gov pages and parsed weekly reports (about 1 MB of Parquet per week). Default: the per-user cache directory, e.g. ~/.cache/vgi-tsa or ~/Library/Caches/vgi-tsa.VARCHAR
- base_url
- Where pages and PDFs are fetched from: https://www.tsa.gov (default), a mirror URL, or a local directory laid out like tsa.gov (travel/passenger-volumes/index.html, travel/passenger-volumes/<year>/index.html, foia/readingroom/page-<n>.html, sites/default/files/foia-readingroom/<report>.pdf).VARCHAR
- user_agent
- User-Agent sent to tsa.gov (default 'vgi-tsa/0.1 (+https://query.farm)').VARCHAR
- max_reports
- Most weekly report PDFs one checkpoint_throughput query may download and parse (default 8; each is ~5 MB and ~15 s). Cached weeks do not count.BIGINT
- offline
- Never touch the network: use only what is cached, even if stale (default false).BOOLEAN
Catalog
Everything tsa exposes once attached — read straight from the worker's
released build.
main 3 tables · 2 functions
TSA passenger screening volumes: the nationwide daily count and hourly per-checkpoint counts from the weekly FOIA throughput reports, plus the report listing and the local cache.
Schema examples (9)
The ten airports that screened the most passengers in the week of 1 November 2026
SELECT airport, sum(throughput) AS passengers
FROM tsa.main.checkpoint_throughput(DATE '2026-11-01', DATE '2026-11-07')
GROUP BY airport
ORDER BY passengers DESC
LIMIT 10;
| airport | passengers |
|---|---|
| LAX | 629,102 |
| JFK | 580,709 |
| ORD | 579,983 |
| ATL | 552,603 |
| DFW | 493,717 |
JFK's passengers by hour of day over one week
SELECT hour, sum(throughput) AS passengers
FROM tsa.main.checkpoint_throughput(DATE '2026-11-01', DATE '2026-11-07', airport := 'JFK')
GROUP BY hour
ORDER BY hour;
Confirm a weekly report parsed cleanly: 0 rejects means every row passed validation
SELECT count(*) AS rejects, count(DISTINCT reason) AS reasons,
min(page) AS first_page
FROM tsa.main.checkpoint_throughput_rejects(DATE '2026-11-01', DATE '2026-11-07');
Travelers screened per calendar year, 2019 through 2025
SELECT year(date) AS year, sum(travelers) AS travelers
FROM tsa.main.daily_throughput
WHERE date < DATE '2026-01-01'
GROUP BY ALL
ORDER BY year;
5 more examples
Daily travelers around Thanksgiving 2025 with a seven-day moving average
SELECT date, travelers,
round(avg(travelers) OVER (ORDER BY date ROWS 6 PRECEDING)) AS seven_day_avg
FROM tsa.main.daily_throughput
WHERE date >= DATE '2025-11-01' AND date < DATE '2025-12-15'
ORDER BY date;
The five most recent weekly checkpoint reports
SELECT start_date, end_date, title
FROM tsa.main.throughput_reports
WHERE end_date >= DATE '2026-09-01'
ORDER BY end_date DESC
LIMIT 5;
How many weekly reports exist for each year
SELECT year(start_date) AS year, count(*) AS weeks
FROM tsa.main.throughput_reports
WHERE start_date IS NOT NULL
GROUP BY ALL
ORDER BY year;
How many files, parsed weeks and bytes are cached
SELECT count(*) AS files,
count(*) FILTER (WHERE kind = 'checkpoint_report') AS weeks,
coalesce(sum(bytes), 0) AS bytes
FROM tsa.main.cache_info;
Weekly reports parsed so far, with their row and reject totals
SELECT count(*) AS weeks, coalesce(sum(rows), 0) AS hourly_rows,
coalesce(sum(rejected_rows), 0) AS rejected
FROM tsa.main.cache_info
WHERE kind = 'checkpoint_report';
cache_info
Files in the local cache: daily volume pages, the report index and parsed weekly reports
How many files, parsed weeks and bytes are cached
SELECT count(*) AS files,
count(*) FILTER (WHERE kind = 'checkpoint_report') AS weeks,
coalesce(sum(bytes), 0) AS bytes
FROM tsa.main.cache_info;
Weekly reports parsed so far, with their row and reject totals
SELECT count(*) AS weeks, coalesce(sum(rows), 0) AS hourly_rows,
coalesce(sum(rejected_rows), 0) AS rejected
FROM tsa.main.cache_info
WHERE kind = 'checkpoint_report';
daily_throughput
Travelers screened at TSA checkpoints nationwide per day since 2019, posted 1-3 days late
Travelers screened per calendar year, 2019 through 2025
SELECT year(date) AS year, sum(travelers) AS travelers
FROM tsa.main.daily_throughput
WHERE date < DATE '2026-01-01'
GROUP BY ALL
ORDER BY year;
Daily travelers around Thanksgiving 2025 with a seven-day moving average
SELECT date, travelers,
round(avg(travelers) OVER (ORDER BY date ROWS 6 PRECEDING)) AS seven_day_avg
FROM tsa.main.daily_throughput
WHERE date >= DATE '2025-11-01' AND date < DATE '2025-12-15'
ORDER BY date;
The three busiest days of 2024
SELECT date, travelers
FROM tsa.main.daily_throughput
WHERE date BETWEEN DATE '2024-01-01' AND DATE '2024-12-31'
ORDER BY travelers DESC
LIMIT 3;
throughput_reports
Weekly TSA throughput reports in the FOIA reading room, with the dates each covers
The five most recent weekly checkpoint reports
SELECT start_date, end_date, title
FROM tsa.main.throughput_reports
WHERE end_date >= DATE '2026-09-01'
ORDER BY end_date DESC
LIMIT 5;
How many weekly reports exist for each year
SELECT year(start_date) AS year, count(*) AS weeks
FROM tsa.main.throughput_reports
WHERE start_date IS NOT NULL
GROUP BY ALL
ORDER BY year;
The first three weekly reports TSA posted in the reading room
SELECT start_date, end_date
FROM tsa.main.throughput_reports
WHERE start_date IS NOT NULL
ORDER BY start_date
LIMIT 3;
checkpoint_throughput (start_date DATE, end_date DATE, airport := VARCHAR, state := VARCHAR)
Hourly passengers screened per airport checkpoint from TSA's weekly FOIA reports (weeks late)
The ten airports that screened the most passengers in the week of 1 November 2026
SELECT airport, sum(throughput) AS passengers
FROM tsa.main.checkpoint_throughput(DATE '2026-11-01', DATE '2026-11-07')
GROUP BY airport
ORDER BY passengers DESC
LIMIT 10;
| airport | passengers |
|---|---|
| LAX | 629,102 |
| JFK | 580,709 |
| ORD | 579,983 |
| ATL | 552,603 |
| DFW | 493,717 |
JFK's passengers by hour of day over one week
SELECT hour, sum(throughput) AS passengers
FROM tsa.main.checkpoint_throughput(DATE '2026-11-01', DATE '2026-11-07', airport := 'JFK')
GROUP BY hour
ORDER BY hour;
SELECT checkpoint, throughput
FROM tsa.main.checkpoint_throughput(DATE '2026-11-01', DATE '2026-11-01', airport := 'ATL')
WHERE hour = 0
ORDER BY checkpoint;
checkpoint_throughput_rejects (start_date DATE, end_date DATE)
Rows of TSA's weekly throughput reports that the parser could not validate, with raw cells
Confirm a weekly report parsed cleanly: 0 rejects means every row passed validation
SELECT count(*) AS rejects, count(DISTINCT reason) AS reasons,
min(page) AS first_page
FROM tsa.main.checkpoint_throughput_rejects(DATE '2026-11-01', DATE '2026-11-07');
SELECT count(*) AS rejects
FROM tsa.main.checkpoint_throughput_rejects(DATE '2026-11-01', DATE '2026-11-07');
Try these queries
JFK's passengers by hour of day over one week
SELECT hour, sum(throughput) AS passengers
FROM tsa.main.checkpoint_throughput(DATE '2026-11-01', DATE '2026-11-07', airport := 'JFK')
GROUP BY hour
ORDER BY hour
Confirm a weekly report parsed cleanly: 0 rejects means every row passed validation
SELECT count(*) AS rejects, count(DISTINCT reason) AS reasons,
min(page) AS first_page
FROM tsa.main.checkpoint_throughput_rejects(DATE '2026-11-01', DATE '2026-11-07')
Travelers screened per calendar year, 2019 through 2025
SELECT year(date) AS year, sum(travelers) AS travelers
FROM tsa.main.daily_throughput
WHERE date < DATE '2026-01-01'
GROUP BY ALL
ORDER BY year
Uses daily_throughput
Daily travelers around Thanksgiving 2025 with a seven-day moving average
SELECT date, travelers,
round(avg(travelers) OVER (ORDER BY date ROWS 6 PRECEDING)) AS seven_day_avg
FROM tsa.main.daily_throughput
WHERE date >= DATE '2025-11-01' AND date < DATE '2025-12-15'
ORDER BY date
Uses daily_throughput
The five most recent weekly checkpoint reports
SELECT start_date, end_date, title
FROM tsa.main.throughput_reports
WHERE end_date >= DATE '2026-09-01'
ORDER BY end_date DESC
LIMIT 5
Uses throughput_reports
How many files, parsed weeks and bytes are cached
SELECT count(*) AS files,
count(*) FILTER (WHERE kind = 'checkpoint_report') AS weeks,
coalesce(sum(bytes), 0) AS bytes
FROM tsa.main.cache_info
Uses cache_info
6 more examples in the Catalog, each listed under the table or function it uses.
Questions it can answer
Plain-English questions from the worker's agent test tasks. An AI agent with this catalog attached should answer each one with SQL.
- Using the tsa worker, on which date in 2024 did TSA screen the most travelers nationwide, and how many?
- What is the most recent week covered by TSA's hourly airport checkpoint throughput reports? Give its first and last day.
- In the TSA hourly throughput report for November 1-7, 2026, how many passengers were screened at each checkpoint of Atlanta's airport (ATL) over the whole week?
- Compare total travelers screened by TSA nationwide in 2019 and in 2025.
TSA checkpoint volumes is an independent open-source connector from Query.Farm. It is not affiliated with, endorsed by or sponsored by the services, projects or organisations it works with. Product names, logos and trademarks belong to their respective owners.
Related workers
Cars & vehicle safety
Government & civic
EPA fuel economy, NHTSA VIN decoding, recalls, complaints and crash ratings for US vehicles
CKAN
Government & civic
Search datasets and read DataStore tables from any CKAN open-data portal
Opendatasoft
Government & civic
Any Opendatasoft (Huwise) portal's catalog and records as SQL, with ODSQL pushdown