example-data.com

flights / #78

Dec
31
Wed

Lufthansa LH4466

2:30 AM – 7:26 AM

YYZ → SYD

From CAD1973.44

Component variants

curl -sS \
  "https://example-data.com/api/v1/flights/78" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/flights/78"
);
const flight = await res.json();
import type { Flight } from "https://example-data.com/types/flights.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/flights/78"
);
const flight = (await res.json()) as Flight;
import requests

res = requests.get(
    "https://example-data.com/api/v1/flights/78"
)
flight = res.json()
{
  "id": 78,
  "flightNumber": "LH4466",
  "airline": "Lufthansa",
  "departureAirport": "YYZ",
  "arrivalAirport": "SYD",
  "departureAt": "2025-12-31T02:30:58.876Z",
  "arrivalAt": "2025-12-31T07:26:58.876Z",
  "durationMinutes": 296,
  "status": "in_air",
  "priceFrom": 1973.44,
  "currency": "CAD",
  "createdAt": "2025-12-17T02:30:58.876Z"
}
Draftbit