Feb
4
Wed
Japan Airlines JL7645
8:26 AM – 2:04 PM
DFW → LHR
From GBP 776.20
Overview
flights / #96
8:26 AM – 2:04 PM
DFW → LHR
From GBP 776.20
Request
curl example
curl -sS \ "https://example-data.com/api/v1/flights/96" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/flights/96" ); 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/96"
);
const flight = (await res.json()) as Flight; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/flights/96"
)
flight = res.json() Response
{
"id": 96,
"flightNumber": "JL7645",
"airline": "Japan Airlines",
"departureAirport": "DFW",
"arrivalAirport": "LHR",
"departureAt": "2026-02-04T08:26:23.146Z",
"arrivalAt": "2026-02-04T14:04:23.146Z",
"durationMinutes": 338,
"status": "delayed",
"priceFrom": 776.2,
"currency": "GBP",
"createdAt": "2025-12-03T08:26:23.146Z"
}