Nov
5
Thu
Air France AF9388
11:19 PM – 2:14 PM
LAX → GRU
From EUR 1667.85
Overview
flights / #299
11:19 PM – 2:14 PM
LAX → GRU
From EUR 1667.85
Request
curl example
curl -sS \ "https://example-data.com/api/v1/flights/299" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/flights/299" ); 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/299"
);
const flight = (await res.json()) as Flight; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/flights/299"
)
flight = res.json() Response
{
"id": 299,
"flightNumber": "AF9388",
"airline": "Air France",
"departureAirport": "LAX",
"arrivalAirport": "GRU",
"departureAt": "2026-11-05T23:19:34.771Z",
"arrivalAt": "2026-11-06T14:14:34.771Z",
"durationMinutes": 895,
"status": "landed",
"priceFrom": 1667.85,
"currency": "EUR",
"createdAt": "2026-11-01T23:19:34.771Z"
}