Feb
28
Sat
Southwest Airlines WN7679
9:55 AM – 10:04 PM
LHR → ICN
From CAD 493.87
Overview
flights / #320
9:55 AM – 10:04 PM
LHR → ICN
From CAD 493.87
Request
curl example
curl -sS \ "https://example-data.com/api/v1/flights/320" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/flights/320" ); 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/320"
);
const flight = (await res.json()) as Flight; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/flights/320"
)
flight = res.json() Response
{
"id": 320,
"flightNumber": "WN7679",
"airline": "Southwest Airlines",
"departureAirport": "LHR",
"arrivalAirport": "ICN",
"departureAt": "2026-02-28T09:55:43.229Z",
"arrivalAt": "2026-02-28T22:04:43.229Z",
"durationMinutes": 729,
"status": "scheduled",
"priceFrom": 493.87,
"currency": "CAD",
"createdAt": "2026-01-20T09:55:43.229Z"
}