example-data.com

flights / #102

Oct
15
Wed

Singapore Airlines SQ6855

2:23 PM – 1:16 AM

MEX → LAX

From JPY1202.08

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/flights/102"
)
flight = res.json()
{
  "id": 102,
  "flightNumber": "SQ6855",
  "airline": "Singapore Airlines",
  "departureAirport": "MEX",
  "arrivalAirport": "LAX",
  "departureAt": "2025-10-15T14:23:33.174Z",
  "arrivalAt": "2025-10-16T01:16:33.174Z",
  "durationMinutes": 653,
  "status": "landed",
  "priceFrom": 1202.08,
  "currency": "JPY",
  "createdAt": "2025-08-29T14:23:33.174Z"
}
Draftbit