Oct
6
Tue
Lufthansa LH806
4:36 AM – 11:47 AM
NRT → AMS
From JPY 2202.42
Overview
flights / #303
4:36 AM – 11:47 AM
NRT → AMS
From JPY 2202.42
Request
curl example
curl -sS \ "https://example-data.com/api/v1/flights/303" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/flights/303" ); const flight = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/flights.d.ts https://example-data.com/types/flights.d.ts
import type { Flight } from "./types/flights";
const res = await fetch(
"https://example-data.com/api/v1/flights/303"
);
const flight = (await res.json()) as Flight; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/flights/303"
)
flight = res.json() Response
{
"id": 303,
"flightNumber": "LH806",
"airline": "Lufthansa",
"departureAirport": "NRT",
"arrivalAirport": "AMS",
"departureAt": "2026-10-06T04:36:08.048Z",
"arrivalAt": "2026-10-06T11:47:08.048Z",
"durationMinutes": 431,
"status": "scheduled",
"priceFrom": 2202.42,
"currency": "JPY",
"createdAt": "2026-10-04T04:36:08.048Z"
}