example-data.com

flights / #202

Feb
21
Sat

British Airways BA1201

12:40 AM – 11:06 AM

ICN → CDG

From AUD1469.22

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/flights/202"
)
flight = res.json()
{
  "id": 202,
  "flightNumber": "BA1201",
  "airline": "British Airways",
  "departureAirport": "ICN",
  "arrivalAirport": "CDG",
  "departureAt": "2026-02-21T00:40:38.351Z",
  "arrivalAt": "2026-02-21T11:06:38.351Z",
  "durationMinutes": 626,
  "status": "in_air",
  "priceFrom": 1469.22,
  "currency": "AUD",
  "createdAt": "2026-01-11T00:40:38.351Z"
}
Draftbit