example-data.com

flights / #54

Dec
29
Tue

Air France AF9115

11:15 AM – 1:42 PM

LHR → DFW

From GBP1793.17

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/flights/54"
)
flight = res.json()
{
  "id": 54,
  "flightNumber": "AF9115",
  "airline": "Air France",
  "departureAirport": "LHR",
  "arrivalAirport": "DFW",
  "departureAt": "2026-12-29T11:15:37.280Z",
  "arrivalAt": "2026-12-29T13:42:37.280Z",
  "durationMinutes": 147,
  "status": "delayed",
  "priceFrom": 1793.17,
  "currency": "GBP",
  "createdAt": "2026-11-01T11:15:37.280Z"
}
Draftbit