Jan
5
Tue
Lufthansa LH6917
6:21 AM – 9:49 AM
CDG → SYD
From AUD 500.11
Overview
flights / #59
6:21 AM – 9:49 AM
CDG → SYD
From AUD 500.11
Request
curl example
curl -sS \ "https://example-data.com/api/v1/flights/59" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/flights/59" ); 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/59"
);
const flight = (await res.json()) as Flight; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/flights/59"
)
flight = res.json() Response
{
"id": 59,
"flightNumber": "LH6917",
"airline": "Lufthansa",
"departureAirport": "CDG",
"arrivalAirport": "SYD",
"departureAt": "2027-01-05T06:21:41.453Z",
"arrivalAt": "2027-01-05T09:49:41.453Z",
"durationMinutes": 208,
"status": "boarding",
"priceFrom": 500.11,
"currency": "AUD",
"createdAt": "2026-12-11T06:21:41.453Z"
}