example-data.com

flights / #161

Nov
3
Tue

Lufthansa LH8357

7:08 AM – 4:56 PM

YYZ → SYD

From SGD1714.80

Component variants

curl -sS \
  "https://example-data.com/api/v1/flights/161" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/flights/161"
);
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/161"
);
const flight = (await res.json()) as Flight;
import requests

res = requests.get(
    "https://example-data.com/api/v1/flights/161"
)
flight = res.json()
{
  "id": 161,
  "flightNumber": "LH8357",
  "airline": "Lufthansa",
  "departureAirport": "YYZ",
  "arrivalAirport": "SYD",
  "departureAt": "2026-11-03T07:08:25.021Z",
  "arrivalAt": "2026-11-03T16:56:25.021Z",
  "durationMinutes": 588,
  "status": "cancelled",
  "priceFrom": 1714.8,
  "currency": "SGD",
  "createdAt": "2026-08-09T07:08:25.021Z"
}
Draftbit