Oct
15
Wed
Japan Airlines JL3634
5:20 AM – 7:02 AM
LHR → JFK
From GBP 1682.47
Overview
flights / #191
5:20 AM – 7:02 AM
LHR → JFK
From GBP 1682.47
Request
curl example
curl -sS \ "https://example-data.com/api/v1/flights/191" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/flights/191" ); 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/191"
);
const flight = (await res.json()) as Flight; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/flights/191"
)
flight = res.json() Response
{
"id": 191,
"flightNumber": "JL3634",
"airline": "Japan Airlines",
"departureAirport": "LHR",
"arrivalAirport": "JFK",
"departureAt": "2025-10-15T05:20:38.519Z",
"arrivalAt": "2025-10-15T07:02:38.519Z",
"durationMinutes": 102,
"status": "cancelled",
"priceFrom": 1682.47,
"currency": "GBP",
"createdAt": "2025-09-24T05:20:38.519Z"
}