example-data.com

flights / #223

Feb
28
Sun

Singapore Airlines SQ3577

9:03 PM – 1:27 AM

ICN → AMS

From GBP452.94

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/flights/223"
)
flight = res.json()
{
  "id": 223,
  "flightNumber": "SQ3577",
  "airline": "Singapore Airlines",
  "departureAirport": "ICN",
  "arrivalAirport": "AMS",
  "departureAt": "2027-02-28T21:03:09.168Z",
  "arrivalAt": "2027-03-01T01:27:09.168Z",
  "durationMinutes": 264,
  "status": "landed",
  "priceFrom": 452.94,
  "currency": "GBP",
  "createdAt": "2026-12-23T21:03:09.168Z"
}
Draftbit