example-data.com

flights / #158

Aug
16
Sun

Lufthansa LH7799

10:26 AM – 7:48 PM

FRA → YYZ

From SGD935.76

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/flights/158"
)
flight = res.json()
{
  "id": 158,
  "flightNumber": "LH7799",
  "airline": "Lufthansa",
  "departureAirport": "FRA",
  "arrivalAirport": "YYZ",
  "departureAt": "2026-08-16T10:26:25.358Z",
  "arrivalAt": "2026-08-16T19:48:25.358Z",
  "durationMinutes": 562,
  "status": "in_air",
  "priceFrom": 935.76,
  "currency": "SGD",
  "createdAt": "2026-06-20T10:26:25.358Z"
}
Draftbit