Nov
27
Fri
Emirates EK452
3:04 PM – 4:05 PM
YYZ → CDG
From AUD 1251.61
Overview
flights / #83
3:04 PM – 4:05 PM
YYZ → CDG
From AUD 1251.61
Request
curl example
curl -sS \ "https://example-data.com/api/v1/flights/83" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/flights/83" ); 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/83"
);
const flight = (await res.json()) as Flight; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/flights/83"
)
flight = res.json() Response
{
"id": 83,
"flightNumber": "EK452",
"airline": "Emirates",
"departureAirport": "YYZ",
"arrivalAirport": "CDG",
"departureAt": "2026-11-27T15:04:03.581Z",
"arrivalAt": "2026-11-27T16:05:03.581Z",
"durationMinutes": 61,
"status": "in_air",
"priceFrom": 1251.61,
"currency": "AUD",
"createdAt": "2026-11-16T15:04:03.581Z"
}