example-data.com

flights / #184

Nov
1
Sat

Lufthansa LH4290

4:08 PM – 2:55 AM

NRT → LHR

From GBP306.01

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/flights/184"
)
flight = res.json()
{
  "id": 184,
  "flightNumber": "LH4290",
  "airline": "Lufthansa",
  "departureAirport": "NRT",
  "arrivalAirport": "LHR",
  "departureAt": "2025-11-01T16:08:20.507Z",
  "arrivalAt": "2025-11-02T02:55:20.507Z",
  "durationMinutes": 647,
  "status": "scheduled",
  "priceFrom": 306.01,
  "currency": "GBP",
  "createdAt": "2025-08-12T16:08:20.507Z"
}
Draftbit