Oct
25
Sat
Lufthansa LH6594
8:11 AM – 11:09 AM
FRA → FCO
From JPY 933.30
Overview
flights / #170
8:11 AM – 11:09 AM
FRA → FCO
From JPY 933.30
Request
curl example
curl -sS \ "https://example-data.com/api/v1/flights/170" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/flights/170" ); 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/170"
);
const flight = (await res.json()) as Flight; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/flights/170"
)
flight = res.json() Response
{
"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"
}