Apr
17
Fri
British Airways BA9761
12:55 AM – 3:00 AM
AMS → SYD
From EUR 1364.64
Overview
flights / #296
12:55 AM – 3:00 AM
AMS → SYD
From EUR 1364.64
Request
curl example
curl -sS \ "https://example-data.com/api/v1/flights/296" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/flights/296" ); 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/296"
);
const flight = (await res.json()) as Flight; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/flights/296"
)
flight = res.json() Response
{
"id": 296,
"flightNumber": "BA9761",
"airline": "British Airways",
"departureAirport": "AMS",
"arrivalAirport": "SYD",
"departureAt": "2026-04-17T00:55:47.040Z",
"arrivalAt": "2026-04-17T03:00:47.040Z",
"durationMinutes": 125,
"status": "boarding",
"priceFrom": 1364.64,
"currency": "EUR",
"createdAt": "2026-02-18T00:55:47.040Z"
}