example-data.com

flights / #170

Oct
25
Sat

Lufthansa LH6594

8:11 AM – 11:09 AM

FRA → FCO

From JPY933.30

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/flights/170"
)
flight = res.json()
{
  "id": 170,
  "flightNumber": "LH6594",
  "airline": "Lufthansa",
  "departureAirport": "FRA",
  "arrivalAirport": "FCO",
  "departureAt": "2025-10-25T08:11:41.693Z",
  "arrivalAt": "2025-10-25T11:09:41.693Z",
  "durationMinutes": 178,
  "status": "boarding",
  "priceFrom": 933.3,
  "currency": "JPY",
  "createdAt": "2025-09-22T08:11:41.693Z"
}
Draftbit