Nov
24
Mon
Emirates EK7390
6:21 AM – 9:19 PM
YYZ → ORD
From SGD 1875.28
Overview
flights / #304
6:21 AM – 9:19 PM
YYZ → ORD
From SGD 1875.28
Request
curl example
curl -sS \ "https://example-data.com/api/v1/flights/304" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/flights/304" ); 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/304"
);
const flight = (await res.json()) as Flight; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/flights/304"
)
flight = res.json() Response
{
"id": 304,
"flightNumber": "EK7390",
"airline": "Emirates",
"departureAirport": "YYZ",
"arrivalAirport": "ORD",
"departureAt": "2025-11-24T06:21:37.199Z",
"arrivalAt": "2025-11-24T21:19:37.199Z",
"durationMinutes": 898,
"status": "landed",
"priceFrom": 1875.28,
"currency": "SGD",
"createdAt": "2025-11-23T06:21:37.199Z"
}