Jan
9
Fri
Air France AF9621
4:15 AM – 8:53 AM
AMS → NRT
From CAD 2229.44
Overview
flights / #256
4:15 AM – 8:53 AM
AMS → NRT
From CAD 2229.44
Request
curl example
curl -sS \ "https://example-data.com/api/v1/flights/256" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/flights/256" ); 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/256"
);
const flight = (await res.json()) as Flight; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/flights/256"
)
flight = res.json() Response
{
"id": 256,
"flightNumber": "AF9621",
"airline": "Air France",
"departureAirport": "AMS",
"arrivalAirport": "NRT",
"departureAt": "2026-01-09T04:15:36.386Z",
"arrivalAt": "2026-01-09T08:53:36.386Z",
"durationMinutes": 278,
"status": "landed",
"priceFrom": 2229.44,
"currency": "CAD",
"createdAt": "2025-12-12T04:15:36.386Z"
}