example-data.com

flights / #29

Jul
23
Thu

Singapore Airlines SQ122

11:53 AM – 10:23 PM

YYZ → SYD

From CAD1385.22

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/flights/29"
)
flight = res.json()
{
  "id": 29,
  "flightNumber": "SQ122",
  "airline": "Singapore Airlines",
  "departureAirport": "YYZ",
  "arrivalAirport": "SYD",
  "departureAt": "2026-07-23T11:53:22.738Z",
  "arrivalAt": "2026-07-23T22:23:22.738Z",
  "durationMinutes": 630,
  "status": "scheduled",
  "priceFrom": 1385.22,
  "currency": "CAD",
  "createdAt": "2026-07-19T11:53:22.738Z"
}
Draftbit