example-data.com

flights / #11

Jan
11
Mon

Japan Airlines JL8586

3:51 AM – 9:43 AM

LHR → GRU

From AUD1383.57

Component variants

curl -sS \
  "https://example-data.com/api/v1/flights/11" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/flights/11"
);
const flight = await res.json();
import type { Flight } from "https://example-data.com/types/flights.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/flights/11"
);
const flight = (await res.json()) as Flight;
import requests

res = requests.get(
    "https://example-data.com/api/v1/flights/11"
)
flight = res.json()
{
  "id": 11,
  "flightNumber": "JL8586",
  "airline": "Japan Airlines",
  "departureAirport": "LHR",
  "arrivalAirport": "GRU",
  "departureAt": "2027-01-11T03:51:13.731Z",
  "arrivalAt": "2027-01-11T09:43:13.731Z",
  "durationMinutes": 352,
  "status": "landed",
  "priceFrom": 1383.57,
  "currency": "AUD",
  "createdAt": "2026-12-07T03:51:13.731Z"
}
Draftbit