Jul
23
Thu
Singapore Airlines SQ122
11:53 AM – 10:23 PM
YYZ → SYD
From CAD 1385.22
Overview
flights / #29
11:53 AM – 10:23 PM
YYZ → SYD
From CAD 1385.22
Request
curl example
curl -sS \ "https://example-data.com/api/v1/flights/29" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/flights/29" ); 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/29"
);
const flight = (await res.json()) as Flight; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/flights/29"
)
flight = res.json() Response
{
"id": 29,
"flightNumber": "SQ122",
"airline": "Singapore Airlines",
"departureAirport": "YYZ",
"arrivalAirport": "SYD",
"departureAt": "2026-07-23T11:53:22.738Z",
"arrivalAt": "2026-07-23T22:23:22.738Z",
"durationMinutes": 630,
"status": "scheduled",
"priceFrom": 1385.22,
"currency": "CAD",
"createdAt": "2026-07-19T11:53:22.738Z"
}