Dec
31
Thu
American Airlines AA5383
6:40 PM – 10:28 PM
LHR → DXB
From EUR 937.11
Overview
flights / #163
6:40 PM – 10:28 PM
LHR → DXB
From EUR 937.11
Request
curl example
curl -sS \ "https://example-data.com/api/v1/flights/163" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/flights/163" ); const flight = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/flights.d.ts https://example-data.com/types/flights.d.ts
import type { Flight } from "./types/flights";
const res = await fetch(
"https://example-data.com/api/v1/flights/163"
);
const flight = (await res.json()) as Flight; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/flights/163"
)
flight = res.json() Response
{
"id": 163,
"flightNumber": "AA5383",
"airline": "American Airlines",
"departureAirport": "LHR",
"arrivalAirport": "DXB",
"departureAt": "2026-12-31T18:40:07.923Z",
"arrivalAt": "2026-12-31T22:28:07.923Z",
"durationMinutes": 228,
"status": "boarding",
"priceFrom": 937.11,
"currency": "EUR",
"createdAt": "2026-12-17T18:40:07.923Z"
}