Flight Info API

FREEMIUM
Por OAG Aviation Worldwide Limited | Actualizada 2 महीने पहले | Travel
Popularidad

9.5 / 10

Latencia

707ms

Nivel de servicio

100%

Health Check

N/A

Volver a todas las conversaciones

Empty data returned

Rapid account: Cespedes
cespedes
5 महीने पहले

Hi,

I’m sending the required data: const url =
'https://flight-info-api.p.rapidapi.com/status?DepartureAirport=LAX&DepartureDateTime=2024-01-12T01%3A00%3A00&CodeType=IATA&version=v2&ArrivalDateTime=2024-01-15T01%3A00%3A00&ArrivalAirport=CDG
but am getting empty data returned:
{
“data”: [],
“paging”: {
“limit”: 100,
“totalCount”: 0,
“totalPages”: 0,
“next”: “”
}
}

“data” is an empty array. Am I missing something?

Rapid account: Donatas Mazeika OAG
DonatasMazeikaOAG Commented 4 महीने पहले

Hi, thank you for your question. Please make sure that you are specifying either DepartureDateTime or ArrivalDateTime. The API query you have constructed is searching for flights departing on 2024-01-12, and the same flight should arrive three days later, which is unlikely.
If you would like to retrieve all flights departing from 2024-01-12 to 2024-01-15, please use the following format for the DepartureDateTime parameter: 2024-01-12/2024-01-15.
Please let us know if you have more questions.

Únase a la conversación, añada un comentario a continuación:

Inicie sesió/Regístrese para publicar nuevos comentarios