# TSA Wait Times API

> TSA Wait Times returns estimated airport security waits, hourly patterns, and checkpoint details as a workflow and API.

TSA Wait Times returns crowd-sourced estimated security waits, PreCheck availability, and checkpoint details for a U.S. airport. Get security wait time also returns hourly waits and identifies the busiest and quietest hours; provide an airport name, city, or three-letter code.

- Page: https://fous.com/workflows/tsa-wait-times
- Handle: `@tsa-wait-times`
- Category: [Travel](https://fous.com/workflows/category/travel)
- Source website: https://tsawaittimes.com
- Last verified: Sep 29, 2026
- Fous is not affiliated with TSA Wait Times.

## Methods

### Get security wait time

Operation `get_security_wait_time`, version 1. 1 credit per call.

Get today’s estimated security wait and hourly pattern for a US airport by name, city, or code, with PreCheck and checkpoint details. These are crowd-sourced estimates, not official TSA figures. Date-specific historical or future estimates are not shown on the public pages.

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `airport` | string | yes | `"Atlanta"` | US airport name, city or three-letter airport code, such as Atlanta or ATL. |

**Input schema**

```json
{
  "type": "object",
  "required": [
    "airport"
  ],
  "properties": {
    "airport": {
      "type": "string",
      "description": "US airport name, city or three-letter airport code, such as Atlanta or ATL.",
      "examples": [
        "Atlanta",
        "ATL",
        "Boston"
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "airport": "Atlanta"
    },
    {
      "airport": "ATL"
    },
    {
      "airport": "Boston"
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `page_link` | string | `"https://www.tsawaittimes.com/security-wait-times/ATL/Hartsfield-Jackson-Atlanta-International"` |  |
| `checkpoints` | array |  |  |
| `checkpoints[].name` | string | `"Concourse E Checkpoint"` |  |
| `checkpoints[].terminal` | string or null | `"Terminal FIS"` |  |
| `checkpoints[].status_or_hours` | string or null | `"Closed"` |  |
| `airport_code` | string | `"ATL"` |  |
| `airport_name` | string | `"Hartsfield-Jackson Atlanta International"` |  |
| `hourly_waits` | array |  |  |
| `hourly_waits[].hour` | string | `"00:00"` | Airport local hour, HH:00. |
| `hourly_waits[].wait_minutes` | integer | `13` |  |
| `busiest_hours` | array |  |  |
| `quietest_hours` | array |  |  |
| `current_wait_text` | string | `"15 min"` |  |
| `current_wait_minutes` | integer | `15` |  |
| `tsa_precheck_available` | boolean | `true` |  |

**Example input**

```json
{
  "airport": "Atlanta"
}
```

**Example output**

```json
{
  "page_link": "https://www.tsawaittimes.com/security-wait-times/ATL/Hartsfield-Jackson-Atlanta-International",
  "checkpoints": [
    {
      "name": "Concourse E Checkpoint",
      "terminal": "Terminal FIS",
      "status_or_hours": "Closed"
    },
    {
      "name": "Main Checkpoint",
      "terminal": "Terminal MAIN",
      "status_or_hours": "Closed"
    },
    {
      "name": "Concourse F Departure",
      "terminal": "Terminal MHJIT",
      "status_or_hours": "Closed"
    }
  ],
  "airport_code": "ATL",
  "airport_name": "Hartsfield-Jackson Atlanta International",
  "hourly_waits": [
    {
      "hour": "00:00",
      "wait_minutes": 13
    },
    {
      "hour": "01:00",
      "wait_minutes": 11
    },
    {
      "hour": "02:00",
      "wait_minutes": 15
    }
  ],
  "busiest_hours": [
    "07:00",
    "11:00"
  ],
  "quietest_hours": [
    "18:00",
    "21:00"
  ],
  "current_wait_text": "15 min",
  "current_wait_minutes": 15,
  "tsa_precheck_available": true
}
```

## Quick start

Call the API with a Fous API key (`FOUS_API_KEY`). To create one, turn on Developer mode in Fous Studio, then open Keys & connections → API keys (https://app.fous.com/keys).

```bash
# First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
: "${FOUS_API_KEY:?Set FOUS_API_KEY before running this example}"

curl 'https://api.fous.com/v1/query' \
  --fail-with-body --silent --show-error --max-time 120 \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "api": "@tsa-wait-times",
  "visibility": "public",
  "operation": "get_security_wait_time",
  "version": 1,
  "input": {
    "airport": "Atlanta"
  },
  "response": {
    "format": "json"
  }
}'
```

```python
# Save as fous.py and run with python3 fous.py. No packages needed.
# First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
import json
import os
import urllib.error
import urllib.request

api_key = os.environ.get("FOUS_API_KEY")
if not api_key:
    raise RuntimeError("Set FOUS_API_KEY before running this example")

body = json.loads("{\n  \"api\": \"@tsa-wait-times\",\n  \"visibility\": \"public\",\n  \"operation\": \"get_security_wait_time\",\n  \"version\": 1,\n  \"input\": {\n    \"airport\": \"Atlanta\"\n  },\n  \"response\": {\n    \"format\": \"json\"\n  }\n}")
request = urllib.request.Request(
    "https://api.fous.com/v1/query",
    data=json.dumps(body).encode("utf-8"),
    headers={
        "Authorization": f"Bearer {api_key}",
        "Content-Type": "application/json",
    },
    method="POST",
)
try:
    with urllib.request.urlopen(request, timeout=120) as response:
        result = json.load(response)
except urllib.error.HTTPError as error:
    raise RuntimeError(f"HTTP {error.code}: {error.read().decode('utf-8', errors='replace')}") from error
if result.get("success") is False:
    raise RuntimeError(result.get("error", {}).get("message", "Request failed"))
print(json.dumps(result["data"]["output"], indent=2))
```

```typescript
// Save as fous.mts and run with npx tsx fous.mts.
// First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
const apiKey = process.env.FOUS_API_KEY;
if (!apiKey) throw new Error("Set FOUS_API_KEY before running this example");

const response = await fetch("https://api.fous.com/v1/query", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${apiKey}`,
    "Content-Type": "application/json",
  },
  signal: AbortSignal.timeout(120_000),
  body: JSON.stringify({
  "api": "@tsa-wait-times",
  "visibility": "public",
  "operation": "get_security_wait_time",
  "version": 1,
  "input": {
    "airport": "Atlanta"
  },
  "response": {
    "format": "json"
  }
}),
});
type ApiResult = { success: boolean; data?: { output: unknown }; error?: { message: string } };
const result: ApiResult = await response.json();
if (!response.ok || result.success === false) {
  throw new Error(result.error?.message ?? `HTTP ${response.status}`);
}
if (!result.data) throw new Error("Missing API response data");
console.log(result.data.output);
```

Or describe the data in plain language: send `{"api":"@tsa-wait-times","prompt":"Describe the data you need, with every detail"}` to the same URL. Fous fills in the input, runs the method that fits and returns only the fields you asked for; `data.route.calls[].request` is the exact call it made. Routing is free; the run costs the same.

## Use cases

- Compare estimated waits across airports before choosing a route
- Help travelers plan when to arrive at the airport
- Identify busy and quiet airport security hours
- Check checkpoint details and PreCheck availability

## FAQ

### Is Fous affiliated with TSA Wait Times?

No. Fous is not affiliated with TSA Wait Times. This workflow reads the public tsawaittimes.com website and returns its data.

### How much does it cost?

Each run costs 1 credit. With pay-as-you-go, a credit costs 1¢; monthly plans cost less per credit.

### Do I need a TSA Wait Times account?

No. You only need a Fous account.

### How current is the data?

Fous gets the data from tsawaittimes.com when you run it; repeating the same request within a day may return the saved result. Fous checks this workflow automatically; it last passed a check on Sep 29, 2026.

### What is the estimated security wait at an airport?

Get security wait time returns the current estimated wait for the airport you provide.

### Which hours are busiest or quietest?

Get security wait time returns the hourly wait pattern and identifies the busiest and quietest hours.

### Is PreCheck available at the airport?

Get security wait time returns whether TSA PreCheck is available.

## Related

- [FAA API](https://fous.com/workflows/faa.md): Federal Aviation Administration airport status and air traffic information.
- [FlightAware API](https://fous.com/workflows/flightaware.md): FlightAware provides public flight status and dated flight details, airport arrivals and departures limited to displayed history and 20 flights per direction, plus today’s delays and cancellations when shown.
- [CBP API](https://fous.com/workflows/cbp.md): US Customs and Border Protection travel information.
- [Flightradar24 API](https://fous.com/workflows/flightradar24.md): Flightradar24 provides live flight tracking, recent history, flight status and times, plus upcoming airport departures and arrivals; history and schedules are limited to recent and upcoming flights.
- [Amtrak API](https://fous.com/workflows/amtrak.md): Amtrak passenger train travel and status.
- [Time and Date API](https://fous.com/workflows/time-and-date.md): Time and Date provides current city times, zones, daylight-saving changes; meeting conversions (1970–2030); daily solar times and twilight; and business-day counts based on published holiday calendars.
- [The Weather Channel API](https://fous.com/workflows/the-weather-channel.md): The Weather Channel returns current conditions, today’s high/low, up to 15 daily forecasts (sometimes fewer), 1–48 local hourly forecasts, and active severe weather alerts.
- [National Weather Service API](https://fous.com/workflows/national-weather-service.md): National Weather Service provides U.S. day-and-night forecasts for seven days, hourly forecasts for up to 156 hours where available, active alerts, and latest nearby station observations.
- [All Travel workflows](https://fous.com/workflows/category/travel)
