Oct
11
Sat
Delta Air Lines DL3146
1:44 AM – 2:22 PM
FRA → YYZ
From GBP 766.05
Overview
flights / #255
1:44 AM – 2:22 PM
FRA → YYZ
From GBP 766.05
Request
curl example
curl -sS \ "https://example-data.com/api/v1/flights/255" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/flights/255" ); 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/255"
);
const flight = (await res.json()) as Flight; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/flights/255"
)
flight = res.json() Response
{
"id": 255,
"flightNumber": "DL3146",
"airline": "Delta Air Lines",
"departureAirport": "FRA",
"arrivalAirport": "YYZ",
"departureAt": "2025-10-11T01:44:10.274Z",
"arrivalAt": "2025-10-11T14:22:10.274Z",
"durationMinutes": 758,
"status": "cancelled",
"priceFrom": 766.05,
"currency": "GBP",
"createdAt": "2025-08-16T01:44:10.274Z"
}