Nov
30
Sun
Lufthansa LH1583
4:32 PM – 11:13 PM
ICN → YYZ
From EUR 94.45
Overview
flights / #262
4:32 PM – 11:13 PM
ICN → YYZ
From EUR 94.45
Request
curl example
curl -sS \ "https://example-data.com/api/v1/flights/262" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/flights/262" ); 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/262"
);
const flight = (await res.json()) as Flight; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/flights/262"
)
flight = res.json() Response
{
"id": 262,
"flightNumber": "LH1583",
"airline": "Lufthansa",
"departureAirport": "ICN",
"arrivalAirport": "YYZ",
"departureAt": "2025-11-30T16:32:20.064Z",
"arrivalAt": "2025-11-30T23:13:20.064Z",
"durationMinutes": 401,
"status": "scheduled",
"priceFrom": 94.45,
"currency": "EUR",
"createdAt": "2025-11-08T16:32:20.064Z"
}