KongAir Route API

Get the shortest flight route

Retrieve the shortest flight path from the origin airport to the destination airport.

get
https://api.kongair.com/v1/routes

Query Parameters

originstringrequired

IATA code of the departure airport.

Example:JFK

destinationstringrequired

IATA code of the arrival airport.

Example:LAX

Response

200 application/json

Shortest flight route retrieved successfully.

Route

originstring

Example:JFK

destinationstring

Example:LAX

total_distancenumber(float)

Total distance of the route in kilometers.

Example:3972

total_durationstring

Total estimated duration of the route in HH:MM:SS format.

Example:06:15:00

flightsarray[object]

List of flights in the shortest route.

Show Child Parameters
get/routes
 
200 application/json

Route

object
originstring

Example:JFK

destinationstring

Example:LAX

total_distancenumber(float)

Total distance of the route in kilometers.

Example:3972

total_durationstring

Total estimated duration of the route in HH:MM:SS format.

Example:06:15:00

flightsarray[object]

List of flights in the shortest route.

Show Child Parameters
Example

FlightSegment

object
flight_numberstring

Example:KA1234

airlinestring

Example:KongAir

departure_airportstring

Example:JFK

arrival_airportstring

Example:LAX

departure_timestring(date-time)

Example:2025-06-01T08:30:00Z

arrival_timestring(date-time)

Example:2025-06-01T11:30:00Z

durationstring

Flight duration in HH:MM:SS format.

Example:06:15:00

Example