Discover/flysfo API
live

flysfo APIflysfo.com

Get real-time TSA and TSA PreCheck security checkpoint wait times for all SFO terminals via a single API endpoint.

This API takes change requests — .
Endpoint health
verified 3h ago
get_security_wait_times
1/1 passing latest checkself-healing
Endpoints
1
Updated
4h ago

What is the flysfo API?

The flysfo.com API exposes 1 endpoint — get_security_wait_times — that returns live security checkpoint wait times across every terminal at San Francisco International Airport. Each record in the response includes both general lane and TSA PreCheck lane wait times per checkpoint, reflecting current conditions at the time of the request. This is useful for any application that needs to surface real-time SFO queue data to travelers or operations teams.

Try it

No input parameters required.

api.parse.bot/scraper/2f83e82a-83e5-4989-b8cd-042ffdaee2e9/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/2f83e82a-83e5-4989-b8cd-042ffdaee2e9/get_security_wait_times' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace flysfo-com-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.


"""Walkthrough: SFO Airport SDK — bounded, re-runnable; every call capped."""
from parse_apis.flysfo_com_api import SFO, ParseError

client = SFO()

# Fetch current security checkpoint wait times across all terminals.
for checkpoint in client.checkpoints.list(limit=3):
    print(checkpoint.checkpoint, checkpoint.general_wait_time, checkpoint.tsa_precheck_wait_time)

# Get a single checkpoint for quick inspection.
first = client.checkpoints.list(limit=1).first()
try:
    print(first.checkpoint, first.general_wait_time)
except ParseError as e:
    print(f"error: {e.code}")

print("exercised: checkpoints.list")
All endpoints · 1 totalmissing one? ·

Returns current security checkpoint wait times for all SFO terminals. Each checkpoint reports general and TSA PreCheck lane wait times. Wait times are subject to change and reflect live conditions. All gates are accessible from any checkpoint; checkpoint letters reference closest gates (e.g. Checkpoint B for Gate B1).

Input

No input parameters required.

Response
{
  "type": "object",
  "fields": {
    "checkpoints": "array of checkpoint wait time records"
  },
  "sample": {
    "checkpoints": [
      {
        "checkpoint": "Checkpoint A",
        "general_wait_time": "1 mins",
        "tsa_precheck_wait_time": "1 mins"
      },
      {
        "checkpoint": "Checkpoint B",
        "general_wait_time": "11 mins",
        "tsa_precheck_wait_time": "7 mins"
      },
      {
        "checkpoint": "Checkpoint B - Mezzanine Level",
        "general_wait_time": "Not Available",
        "tsa_precheck_wait_time": "4 mins"
      },
      {
        "checkpoint": "Checkpoint D",
        "general_wait_time": "1 mins",
        "tsa_precheck_wait_time": "1 mins"
      },
      {
        "checkpoint": "Checkpoint F",
        "general_wait_time": "1 mins",
        "tsa_precheck_wait_time": "1 mins"
      },
      {
        "checkpoint": "Checkpoint G",
        "general_wait_time": "1 mins",
        "tsa_precheck_wait_time": "1 mins"
      }
    ]
  }
}

About the flysfo API

What the API Returns

The single get_security_wait_times endpoint requires no input parameters and returns a checkpoints array. Each element in that array represents one security checkpoint at SFO and carries at minimum: the checkpoint identifier (referenced by letter, indicating closest gates), a general-lane wait time, and a TSA PreCheck-lane wait time. Because the data reflects live conditions, values can shift between consecutive requests.

Checkpoint Coverage

All SFO terminals are covered. Checkpoint letters in the response map to the nearest gate cluster, but as the endpoint description notes, all gates are accessible from any checkpoint — the letter is a proximity reference, not an access restriction. This means a single API call gives you a complete picture of airport-wide security throughput at that moment.

Freshness and Behavior

Wait times are sourced directly from the live SFO passenger information system, so the data is as current as the airport's own display boards. There is no historical data, no trend aggregation, and no filtering by terminal — the endpoint always returns all checkpoints in one response. Applications that need time-series comparisons will need to poll the endpoint and store the results themselves.

Reliability & maintenanceVerified

The flysfo API is a managed, monitored endpoint for flysfo.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when flysfo.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official flysfo.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
3h ago
Latest check
1/1 endpoint passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Display real-time SFO security wait times inside a flight-tracker or airport companion app
  • Alert frequent flyers when TSA PreCheck lanes at SFO exceed a self-set threshold
  • Feed checkpoint wait times into a departure-time recommendation engine for SFO travelers
  • Show side-by-side general vs. PreCheck lane comparisons to help travelers choose a checkpoint
  • Integrate live SFO wait times into corporate travel dashboards for teams with frequent SFO routes
  • Archive polled wait-time snapshots to build a historical dataset for SFO security queue analysis
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does SFO have an official developer API for security wait times?+
SFO does not publish a documented public developer API for security checkpoint wait times. The data appears on the flysfo.com passenger information pages but is not available through an officially documented REST or GraphQL endpoint for third-party developers.
What does each record in the `checkpoints` array include?+
Each record identifies the checkpoint by its letter designation and provides two wait time values: one for the standard (general) lane and one for the TSA PreCheck lane. The checkpoint letter indicates the closest gate cluster, though the endpoint notes that all gates remain accessible from any checkpoint.
Can I retrieve wait times for a specific terminal or checkpoint only?+
The endpoint returns all checkpoints in a single response and does not accept filter parameters — there is no way to request a subset by terminal or checkpoint letter. The API covers the full set of SFO checkpoints in every call. You can fork it on Parse and revise to add filtering logic on top of the returned array.
Does the API include historical or average wait time data?+
Not currently. The API covers only the current live snapshot — there is no historical record, daily average, or trend data in the response. You can fork it on Parse and revise to add a polling-and-storage layer that builds a historical dataset from repeated calls.
How current are the wait times returned by the API?+
Wait times reflect live conditions at the time of the request, matching what SFO displays to passengers on-site. Because conditions change continuously, two requests made minutes apart may return different values. There is no explicit timestamp field in the response, so callers should record the request time themselves if they need to track when a reading was taken.
Page content last updated . Spec covers 1 endpoint from flysfo.com.
Related APIs in TravelSee all →
jfkairport.com API
Access data from jfkairport.com.
queue-times.com API
Monitor real-time wait times, crowd levels, and historical data across 130+ theme parks worldwide to plan your visits and avoid peak hours. Get daily statistics and predictions to make informed decisions about when and where to experience attractions with minimal wait times.
nasstatus.faa.gov API
Monitor real-time FAA airspace conditions to check airport delays, closures, ground stops, and active events affecting flights. Track forecasts, reroutes, and flow program changes to stay informed about current and upcoming disruptions across the National Airspace System.
flightradar24.com API
Track live flights worldwide, view real-time airport schedules, and search for specific flights with detailed information about aircraft and routes. Monitor the most tracked flights and get comprehensive airport details including gates, terminals, and operational status.
bart.gov API
Track live BART train departures and arrival estimates across all Bay Area stations in real-time. Find your nearest station and see exactly when the next train is arriving on every platform.
skiplagged.com API
Search for flights across airlines including hidden-city ticketing options, and look up airport information by name or code to find the best travel deals. Access Skiplagged's flight inventory and routing data to discover cheaper itineraries and alternative airport combinations.
united.com API
Search United Airlines flights, check real-time flight status, and view detailed seat maps to plan your perfect trip. Compare fare options and use airport autocomplete to quickly find your departure and arrival cities.
flightradar.com API
Track flights in real-time, search for specific flight details, and look up information about airports and airlines worldwide. Monitor nearby aircraft by location, identify which airlines operate specific routes, and get comprehensive aviation data all in one place.