Feb
18
Thu
Air France AF6075
8:33 PM – 4:39 AM
ATL → ORD
From AUD 2388.48
Overview
flights / #94
8:33 PM – 4:39 AM
ATL → ORD
From AUD 2388.48
Request
curl example
curl -sS \ "https://example-data.com/api/v1/flights/94" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/flights/94" ); 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/94"
);
const flight = (await res.json()) as Flight; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/flights/94"
)
flight = res.json() Response
{
"id": 94,
"flightNumber": "AF6075",
"airline": "Air France",
"departureAirport": "ATL",
"arrivalAirport": "ORD",
"departureAt": "2027-02-18T20:33:08.754Z",
"arrivalAt": "2027-02-19T04:39:08.754Z",
"durationMinutes": 486,
"status": "delayed",
"priceFrom": 2388.48,
"currency": "AUD",
"createdAt": "2026-12-30T20:33:08.754Z"
}