Sep
11
Fri
British Airways BA437
12:39 PM – 5:37 PM
AMS → DFW
From USD 187.33
Overview
flights / #279
12:39 PM – 5:37 PM
AMS → DFW
From USD 187.33
Request
curl example
curl -sS \ "https://example-data.com/api/v1/flights/279" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/flights/279" ); 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/279"
);
const flight = (await res.json()) as Flight; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/flights/279"
)
flight = res.json() Response
{
"id": 279,
"flightNumber": "BA437",
"airline": "British Airways",
"departureAirport": "AMS",
"arrivalAirport": "DFW",
"departureAt": "2026-09-11T12:39:43.185Z",
"arrivalAt": "2026-09-11T17:37:43.185Z",
"durationMinutes": 298,
"status": "delayed",
"priceFrom": 187.33,
"currency": "USD",
"createdAt": "2026-08-29T12:39:43.185Z"
}