example-data.com

flights / #176

Aug
26
Tue

British Airways BA2211

2:39 PM – 3:40 AM

DXB → AMS

From AUD2108.69

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/flights/176"
)
flight = res.json()
{
  "id": 176,
  "flightNumber": "BA2211",
  "airline": "British Airways",
  "departureAirport": "DXB",
  "arrivalAirport": "AMS",
  "departureAt": "2025-08-26T14:39:26.838Z",
  "arrivalAt": "2025-08-27T03:40:26.838Z",
  "durationMinutes": 781,
  "status": "delayed",
  "priceFrom": 2108.69,
  "currency": "AUD",
  "createdAt": "2025-06-18T14:39:26.838Z"
}
Draftbit