example-data.com

flights / #138

Sep
24
Wed

United Airlines UA8730

9:28 AM – 4:18 PM

FCO → MEX

From CAD176.69

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/flights/138"
)
flight = res.json()
{
  "id": 138,
  "flightNumber": "UA8730",
  "airline": "United Airlines",
  "departureAirport": "FCO",
  "arrivalAirport": "MEX",
  "departureAt": "2025-09-24T09:28:29.753Z",
  "arrivalAt": "2025-09-24T16:18:29.753Z",
  "durationMinutes": 410,
  "status": "landed",
  "priceFrom": 176.69,
  "currency": "CAD",
  "createdAt": "2025-09-05T09:28:29.753Z"
}
Draftbit