example-data.com

flights / #86

Oct
28
Wed

United Airlines UA4284

3:21 AM – 5:06 PM

DFW → MEX

From AUD1355.66

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/flights/86"
)
flight = res.json()
{
  "id": 86,
  "flightNumber": "UA4284",
  "airline": "United Airlines",
  "departureAirport": "DFW",
  "arrivalAirport": "MEX",
  "departureAt": "2026-10-28T03:21:43.287Z",
  "arrivalAt": "2026-10-28T17:06:43.287Z",
  "durationMinutes": 825,
  "status": "scheduled",
  "priceFrom": 1355.66,
  "currency": "AUD",
  "createdAt": "2026-08-05T03:21:43.287Z"
}
Draftbit