How can we get Airline ICAO code based on the Flight Number only

Hi,

We are using you API’s to get data our requirements are like we need Airline ICAO code based on the Flight number so how can we get the Airline ICAO code and in which API will provide this Information.

When providing an “ident” to endpoints like FlightInfo a complete tail number or airline with flight number must be provided. A flight number alone does not provide enough context to generate a reliable result. IATA or ICAO airline codes may be used, with ICAO codes being preferred.

You could use the AirlineFlightSchedules method, which only requires a time range and flight number.

You may get a lot of results.

Do we need date and time for departure and arrival both to input ?

While using the AirlineFlightSchedule API we are getting the following results. But there is nothing called ICAO code or airline name.

Here is the result:

Parameters :-

'startDate' => '1536362160',
'endDate' =>'1536391500',
'airline' => 'UA',
'flightno' => '1882'

Flights Details :-1:
{
“AirlineFlightSchedulesResult”: {
“next_offset”: -1,
“data”: [{
“ident”: “ANZ9518”,
“actual_ident”: “UAL1882”,
“departuretime”: 1536387360,
“arrivaltime”: 1536405900,
“origin”: “KLAX”,
“destination”: “KEWR”,
“aircrafttype”: “B752”,
“meal_service”: “Business: Snack or brunch / Economy: Snack or brunch”,
“seats_cabin_first”: 0,
“seats_cabin_business”: 28,
“seats_cabin_coach”: 114
}, {
“ident”: “UAL1882”,
“actual_ident”: “”,
“departuretime”: 1536387360,
“arrivaltime”: 1536405900,
“origin”: “KLAX”,
“destination”: “KEWR”,
“aircrafttype”: “B752”,
“meal_service”: “Business: Snack or brunch / Economy: Food for sale”,
“seats_cabin_first”: 0,
“seats_cabin_business”: 28,
“seats_cabin_coach”: 114
}]
}
}

The first three characters of the ident/actual_ident is the airline ICAO code.

Thanks. It was very helpful.

If we want to get flight information do we need departure and arrival date and time. Can’t we get it with only the departure date and time.