example-data.com

flights / #8

Jun
26
Fri

United Airlines UA9699

4:27 PM – 5:55 AM

FCO → MEX

From AUD2410.06

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/flights/8"
)
flight = res.json()
{
  "id": 8,
  "flightNumber": "UA9699",
  "airline": "United Airlines",
  "departureAirport": "FCO",
  "arrivalAirport": "MEX",
  "departureAt": "2026-06-26T16:27:19.237Z",
  "arrivalAt": "2026-06-27T05:55:19.237Z",
  "durationMinutes": 808,
  "status": "cancelled",
  "priceFrom": 2410.06,
  "currency": "AUD",
  "createdAt": "2026-05-10T16:27:19.237Z"
}
Draftbit