example-data.com

flights / #22

Oct
12
Mon

Emirates EK3654

7:31 AM – 9:30 AM

ATL → NRT

From EUR990.42

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/flights/22"
)
flight = res.json()
{
  "id": 22,
  "flightNumber": "EK3654",
  "airline": "Emirates",
  "departureAirport": "ATL",
  "arrivalAirport": "NRT",
  "departureAt": "2026-10-12T07:31:59.752Z",
  "arrivalAt": "2026-10-12T09:30:59.752Z",
  "durationMinutes": 119,
  "status": "landed",
  "priceFrom": 990.42,
  "currency": "EUR",
  "createdAt": "2026-08-07T07:31:59.752Z"
}
Draftbit