Sep
7
Mon
Emirates EK8608
11:36 PM – 7:57 AM
ICN → AMS
From SGD 139.64
Overview
flights / #64
11:36 PM – 7:57 AM
ICN → AMS
From SGD 139.64
Request
curl example
curl -sS \ "https://example-data.com/api/v1/flights/64" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/flights/64" ); 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/64"
);
const flight = (await res.json()) as Flight; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/flights/64"
)
flight = res.json() Response
{
"id": 64,
"flightNumber": "EK8608",
"airline": "Emirates",
"departureAirport": "ICN",
"arrivalAirport": "AMS",
"departureAt": "2026-09-07T23:36:13.075Z",
"arrivalAt": "2026-09-08T07:57:13.075Z",
"durationMinutes": 501,
"status": "scheduled",
"priceFrom": 139.64,
"currency": "SGD",
"createdAt": "2026-07-24T23:36:13.075Z"
}