example-data.com

flights / #19

Jan
22
Thu

Singapore Airlines SQ9268

4:14 PM – 11:22 PM

DFW → AMS

From AUD513.10

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/flights/19"
)
flight = res.json()
{
  "id": 19,
  "flightNumber": "SQ9268",
  "airline": "Singapore Airlines",
  "departureAirport": "DFW",
  "arrivalAirport": "AMS",
  "departureAt": "2026-01-22T16:14:06.712Z",
  "arrivalAt": "2026-01-22T23:22:06.712Z",
  "durationMinutes": 428,
  "status": "landed",
  "priceFrom": 513.1,
  "currency": "AUD",
  "createdAt": "2026-01-20T16:14:06.712Z"
}
Draftbit