example-data.com

flights / #20

Jul
16
Wed

Singapore Airlines SQ9250

10:11 PM – 12:28 AM

LHR → DFW

From EUR335.03

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/flights/20"
)
flight = res.json()
{
  "id": 20,
  "flightNumber": "SQ9250",
  "airline": "Singapore Airlines",
  "departureAirport": "LHR",
  "arrivalAirport": "DFW",
  "departureAt": "2025-07-16T22:11:20.035Z",
  "arrivalAt": "2025-07-17T00:28:20.035Z",
  "durationMinutes": 137,
  "status": "boarding",
  "priceFrom": 335.03,
  "currency": "EUR",
  "createdAt": "2025-07-02T22:11:20.035Z"
}
Draftbit