example-data.com

flights / #180

Oct
16
Thu

United Airlines UA7475

10:36 PM – 12:45 PM

SIN → CDG

From AED2147.99

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/flights/180"
)
flight = res.json()
{
  "id": 180,
  "flightNumber": "UA7475",
  "airline": "United Airlines",
  "departureAirport": "SIN",
  "arrivalAirport": "CDG",
  "departureAt": "2025-10-16T22:36:43.813Z",
  "arrivalAt": "2025-10-17T12:45:43.813Z",
  "durationMinutes": 849,
  "status": "scheduled",
  "priceFrom": 2147.99,
  "currency": "AED",
  "createdAt": "2025-10-08T22:36:43.813Z"
}
Draftbit