VA APIFlightsSearch
Search Flights
Search for available flights with optional parameters to filter a search
AuthorizationBearer <token>
In: header
Query Parameters
departureAirport?string
The ICAO code for the departure airport
Match
^[A-Z]{4}$
arrivalAirport?string
The ICAO code for the arrival airport
Match
^[A-Z]{4}$
minimumFlightTime?number
Format
float
Range
0 <= value
maximumFlightTime?number
Format
float
Range
0 <= value
minimumDistance?number
Format
float
Range
0 <= value
maximumDistance?number
Format
float
Range
0 <= value
aircraft?integer
The ID of the aircraft to search for
Range
0 <= value
callsign?string
A callsign pattern to search for (does not have to be exact)
Response Body
curl -X GET "https://loading/flights/search?departureAirport=string&arrivalAirport=string&minimumFlightTime=0.1&maximumFlightTime=0.1&minimumDistance=0.1&maximumDistance=0.1&aircraft=0&callsign=string"
[
{
"code": "string",
"number": "string",
"type": "string",
"departureAirport": "string",
"arrivalAirport": "string",
"route": [
"string"
],
"aircraft": 0,
"flightLevel": 999,
"distance": 0.1,
"departureTime": "string",
"arrivalTime": "string",
"flightTime": 0.1,
"daysOfWeek": [
"string"
],
"subfleets": [
"string"
],
"notes": "string",
"id": 0
}
]
{
"message": "string"
}
{
"message": "string"
}