Skip to content
Navigation

Current security, check-in, and immigration wait estimates

Current security, check-in, and immigration wait estimates for one airport.

Access: Premium (paid plan or Pro/Enterprise API key).

Alias: GET /api/v1/airports/{iata} returns the same response.

GET
https://flightqueue.com/api/v1/airports/{iata}/wait-times

Authorization

  • BearerAuth
    optional
    HTTP
  • ApiKeyAuth
    optional
    API key in header

Path parameters

  • iata
    string
    required

    Three-letter IATA airport code.

    pattern: ^[A-Za-z]{3}$

Returns

200

Success

JSON
  • success
    boolean
    required
  • data
    object
    required
    • airportCode
      string
      required

      Three-letter IATA airport code, upper case.

      pattern: ^[A-Z]{3}$
    • timestamp
      string
      required

      ISO 8601 timestamp in UTC.

      format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
    • security
      object
      required
      • estimatedMinutes
        number
        required
      • range
        object
        required
        • min
          number
          required

          Lowest estimated wait, in minutes.

        • max
          number
          required

          Highest estimated wait, in minutes.

      • dataSource
        string
        required

        Human-readable source label, such as an official feed or model estimate.

      • provenance
        live
        or
        model
        or
        historical
        required
      • coverageTier
        official_live
        or
        enhanced
        or
        estimate
        required
      • confidenceLevel
        high
        or
        medium
        or
        low
        required
      • reportedAt
        optional
        string

        When the underlying value was last updated.

    • checkIn
      object
      required
      • estimatedMinutes
        number
        required
      • range
        object
        required
        • min
          number
          required

          Lowest estimated wait, in minutes.

        • max
          number
          required

          Highest estimated wait, in minutes.

    • immigration
      object
      required
      • estimatedMinutes
        number
        required
      • range
        object
        required
        • min
          number
          required

          Lowest estimated wait, in minutes.

        • max
          number
          required

          Highest estimated wait, in minutes.

      • dataSource
        string
        required

        Human-readable source label, such as an official feed or model estimate.

      • provenance
        live
        or
        model
        or
        historical
        required
      • coverageTier
        official_live
        or
        enhanced
        or
        estimate
        required
      • confidenceLevel
        high
        or
        medium
        or
        low
        required
      • reportedAt
        optional
        string

        When the underlying value was last updated.

    • confidence
      number
      required

      Overall model confidence, 0 to 1.

  • meta
    object
    required
    • requestId
      string
      required

      Unique ID for this request. Quote it when you contact support.

      format: uuid · pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
    • timestamp
      string
      required

      ISO 8601 timestamp in UTC.

      format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$

401

Unauthorized
JSON
  • success
    boolean
    required
  • error
    object
    required
    • code
      MISSING_API_KEY
      or
      INVALID_API_KEY
      or
      RATE_LIMIT_EXCEEDED
      or
      PREMIUM_REQUIRED
      or
      ENTERPRISE_REQUIRED
      or
      INVALID_AIRPORT
      +5 more
      required

      Machine-readable error code.

    • message
      string
      required

      Human-readable explanation.

403

Forbidden
JSON
  • success
    boolean
    required
  • error
    object
    required
    • code
      MISSING_API_KEY
      or
      INVALID_API_KEY
      or
      RATE_LIMIT_EXCEEDED
      or
      PREMIUM_REQUIRED
      or
      ENTERPRISE_REQUIRED
      or
      INVALID_AIRPORT
      +5 more
      required

      Machine-readable error code.

    • message
      string
      required

      Human-readable explanation.

404

Not found
JSON
  • success
    boolean
    required
  • error
    object
    required
    • code
      MISSING_API_KEY
      or
      INVALID_API_KEY
      or
      RATE_LIMIT_EXCEEDED
      or
      PREMIUM_REQUIRED
      or
      ENTERPRISE_REQUIRED
      or
      INVALID_AIRPORT
      +5 more
      required

      Machine-readable error code.

    • message
      string
      required

      Human-readable explanation.

429

Too many requests
JSON
  • success
    boolean
    required
  • error
    object
    required
    • code
      MISSING_API_KEY
      or
      INVALID_API_KEY
      or
      RATE_LIMIT_EXCEEDED
      or
      PREMIUM_REQUIRED
      or
      ENTERPRISE_REQUIRED
      or
      INVALID_AIRPORT
      +5 more
      required

      Machine-readable error code.

    • message
      string
      required

      Human-readable explanation.

Type to search…

↑↓ navigate↵ selectEsc close