example-data.com

flights / #139

Aug
2
Sun

Air France AF4412

9:47 PM – 10:37 AM

AMS → DXB

From AUD1253.60

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/flights/139"
)
flight = res.json()
{
  "id": 139,
  "flightNumber": "AF4412",
  "airline": "Air France",
  "departureAirport": "AMS",
  "arrivalAirport": "DXB",
  "departureAt": "2026-08-02T21:47:09.338Z",
  "arrivalAt": "2026-08-03T10:37:09.338Z",
  "durationMinutes": 770,
  "status": "cancelled",
  "priceFrom": 1253.6,
  "currency": "AUD",
  "createdAt": "2026-05-31T21:47:09.338Z"
}
Draftbit