Skip to content
Navigation

Look up a flight by number

GET
https://api.nicer.travel/search/flights/{flightNumber}

Resolves a flight number and a date to its scheduled legs, with airports from the travel reference, so a flight can be added to an itinerary without running a full search. Anonymous calls share one budget across the search routes, 600 per hour per IP; a valid bearer token lifts it.

Authorization

  • bearerAuth
    optional
    HTTP Bearer (JWT)

    Authorization: Bearer <token>

Path parameters

  • flightNumber
    string
    required

Query parameters

  • date
    string
    required

    Departure date, YYYY-MM-DD.

    format: date · 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])))$

Returns

200

OK

JSON
  • departingAt
    string
    required
  • arrivingAt
    required

    Any of the following:

    • string
    • null
  • origin
    object
    required
    • iataCode
      string
      required
    • name
      optional
      string
    • city
      optional
      string
    • country
      optional
      string
    • countryCode
      optional
      string
    • latitude
      optional
      number
    • longitude
      optional
      number
    • timeZone
      optional
      string
    • terminal
      optional
      string
    • gate
      optional
      string
  • destination
    object
    required
    • iataCode
      string
      required
    • name
      optional
      string
    • city
      optional
      string
    • country
      optional
      string
    • countryCode
      optional
      string
    • latitude
      optional
      number
    • longitude
      optional
      number
    • timeZone
      optional
      string
    • terminal
      optional
      string
    • gate
      optional
      string
  • operatingCarrier
    object
    required
    • iataCode
      string
      required
    • name
      required

      Any of the following:

      • string
      • null
  • operatingCarrierFlightNumber
    string
    required
  • aircraft
    optional
    string

400

Request failed. errorCode is stable; errorMessage is for humans.
JSON
  • errorCode
    string
    required
  • errorMessage
    string
    required

401

Request failed. errorCode is stable; errorMessage is for humans.
JSON
  • errorCode
    string
    required
  • errorMessage
    string
    required

403

Request failed. errorCode is stable; errorMessage is for humans.
JSON
  • errorCode
    string
    required
  • errorMessage
    string
    required

429

Request failed. errorCode is stable; errorMessage is for humans.
JSON
  • errorCode
    string
    required
  • errorMessage
    string
    required

Type to search…

↑↓ navigate↵ selectEsc close