example-data.com

flights / #94

Feb
18
Thu

Air France AF6075

8:33 PM – 4:39 AM

ATL → ORD

From AUD2388.48

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/flights/94"
)
flight = res.json()
{
  "id": 94,
  "flightNumber": "AF6075",
  "airline": "Air France",
  "departureAirport": "ATL",
  "arrivalAirport": "ORD",
  "departureAt": "2027-02-18T20:33:08.754Z",
  "arrivalAt": "2027-02-19T04:39:08.754Z",
  "durationMinutes": 486,
  "status": "delayed",
  "priceFrom": 2388.48,
  "currency": "AUD",
  "createdAt": "2026-12-30T20:33:08.754Z"
}
Draftbit