cURL
curl --request GET \ --url https://1a557de0-701c-477d-bedd-433520441dae.mock.pstmn.io/api/flights \ --header 'Authorization: <api-key>'
{ "flights": [ { "id": "QR001-20240101", "flightNumber": "QR001", "origin": "DOH", "destination": "LHR", "departureDate": "2024-01-01", "departureTime": "08:00", "arrivalDate": "2024-01-01", "arrivalTime": "12:00", "aircraftType": "B777", "status": "scheduled" } ], "pagination": { "page": 1, "limit": 10, "total": 100, "totalPages": 10 } }
Get flight timetables and legs with dates and aircraft types
Page number
Items per page
Filter by origin airport
Filter by destination airport
Filter by flight status
Filter by flight date
Flight timetables
Show child attributes