example-data.com

flights / #149

Jul
7
Tue

Lufthansa LH9431

6:53 PM – 2:56 AM

FRA → BCN

From GBP1311.61

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/flights/149"
)
flight = res.json()
{
  "id": 149,
  "flightNumber": "LH9431",
  "airline": "Lufthansa",
  "departureAirport": "FRA",
  "arrivalAirport": "BCN",
  "departureAt": "2026-07-07T18:53:22.929Z",
  "arrivalAt": "2026-07-08T02:56:22.929Z",
  "durationMinutes": 483,
  "status": "scheduled",
  "priceFrom": 1311.61,
  "currency": "GBP",
  "createdAt": "2026-05-23T18:53:22.929Z"
}
Draftbit