Nov
30
Sun
Air France AF3558
5:21 PM – 6:27 PM
NRT → DFW
From AUD 391.21
Overview
flights / #253
5:21 PM – 6:27 PM
NRT → DFW
From AUD 391.21
Request
curl example
curl -sS \ "https://example-data.com/api/v1/flights/253" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/flights/253" ); 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/253"
);
const flight = (await res.json()) as Flight; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/flights/253"
)
flight = res.json() Response
{
"id": 253,
"flightNumber": "AF3558",
"airline": "Air France",
"departureAirport": "NRT",
"arrivalAirport": "DFW",
"departureAt": "2025-11-30T17:21:18.329Z",
"arrivalAt": "2025-11-30T18:27:18.329Z",
"durationMinutes": 66,
"status": "landed",
"priceFrom": 391.21,
"currency": "AUD",
"createdAt": "2025-11-25T17:21:18.329Z"
}