Mar
18
Wed
Singapore Airlines SQ8458
2:07 PM – 10:56 PM
SIN → YYZ
From JPY 2406.05
Overview
flights / #60
2:07 PM – 10:56 PM
SIN → YYZ
From JPY 2406.05
Request
curl example
curl -sS \ "https://example-data.com/api/v1/flights/60" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/flights/60" ); 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/60"
);
const flight = (await res.json()) as Flight; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/flights/60"
)
flight = res.json() Response
{
"id": 60,
"flightNumber": "SQ8458",
"airline": "Singapore Airlines",
"departureAirport": "SIN",
"arrivalAirport": "YYZ",
"departureAt": "2026-03-18T14:07:36.082Z",
"arrivalAt": "2026-03-18T22:56:36.082Z",
"durationMinutes": 529,
"status": "cancelled",
"priceFrom": 2406.05,
"currency": "JPY",
"createdAt": "2026-02-17T14:07:36.082Z"
}