Mar
31
Tue
Japan Airlines JL808
5:16 AM – 2:59 PM
SIN → BCN
From AUD 1979.43
Overview
flights / #63
5:16 AM – 2:59 PM
SIN → BCN
From AUD 1979.43
Request
curl example
curl -sS \ "https://example-data.com/api/v1/flights/63" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/flights/63" ); 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/63"
);
const flight = (await res.json()) as Flight; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/flights/63"
)
flight = res.json() Response
{
"id": 63,
"flightNumber": "JL808",
"airline": "Japan Airlines",
"departureAirport": "SIN",
"arrivalAirport": "BCN",
"departureAt": "2026-03-31T05:16:33.015Z",
"arrivalAt": "2026-03-31T14:59:33.015Z",
"durationMinutes": 583,
"status": "landed",
"priceFrom": 1979.43,
"currency": "AUD",
"createdAt": "2026-01-18T05:16:33.015Z"
}