example-data.com

flights / #186

May
9
Sat

Air France AF7277

2:50 AM – 2:33 PM

DFW → ATL

From JPY268.09

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/flights/186"
)
flight = res.json()
{
  "id": 186,
  "flightNumber": "AF7277",
  "airline": "Air France",
  "departureAirport": "DFW",
  "arrivalAirport": "ATL",
  "departureAt": "2026-05-09T02:50:55.080Z",
  "arrivalAt": "2026-05-09T14:33:55.080Z",
  "durationMinutes": 703,
  "status": "landed",
  "priceFrom": 268.09,
  "currency": "JPY",
  "createdAt": "2026-03-05T02:50:55.080Z"
}
Draftbit