example-data.com

flights / #120

Jul
31
Thu

Singapore Airlines SQ9779

5:19 PM – 1:57 AM

FCO → SIN

From SGD1039.41

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/flights/120"
)
flight = res.json()
{
  "id": 120,
  "flightNumber": "SQ9779",
  "airline": "Singapore Airlines",
  "departureAirport": "FCO",
  "arrivalAirport": "SIN",
  "departureAt": "2025-07-31T17:19:28.854Z",
  "arrivalAt": "2025-08-01T01:57:28.854Z",
  "durationMinutes": 518,
  "status": "boarding",
  "priceFrom": 1039.41,
  "currency": "SGD",
  "createdAt": "2025-06-27T17:19:28.854Z"
}
Draftbit