example-data.com

flights / #77

Sep
19
Sat

United Airlines UA456

5:34 AM – 8:16 PM

DXB → MEX

From GBP371.80

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/flights/77"
)
flight = res.json()
{
  "id": 77,
  "flightNumber": "UA456",
  "airline": "United Airlines",
  "departureAirport": "DXB",
  "arrivalAirport": "MEX",
  "departureAt": "2026-09-19T05:34:42.439Z",
  "arrivalAt": "2026-09-19T20:16:42.439Z",
  "durationMinutes": 882,
  "status": "scheduled",
  "priceFrom": 371.8,
  "currency": "GBP",
  "createdAt": "2026-08-12T05:34:42.439Z"
}
Draftbit