example-data.com

flights / #36

Feb
6
Fri

Singapore Airlines SQ2501

3:11 PM – 6:29 PM

SIN → MAD

From EUR1527.15

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/flights/36"
)
flight = res.json()
{
  "id": 36,
  "flightNumber": "SQ2501",
  "airline": "Singapore Airlines",
  "departureAirport": "SIN",
  "arrivalAirport": "MAD",
  "departureAt": "2026-02-06T15:11:44.925Z",
  "arrivalAt": "2026-02-06T18:29:44.925Z",
  "durationMinutes": 198,
  "status": "in_air",
  "priceFrom": 1527.15,
  "currency": "EUR",
  "createdAt": "2025-11-24T15:11:44.925Z"
}
Draftbit