example-data.com

flights / #65

Oct
6
Tue

Japan Airlines JL9289

2:25 AM – 11:43 AM

AMS → JFK

From AUD1352.78

Component variants

curl -sS \
  "https://example-data.com/api/v1/flights/65" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/flights/65"
);
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/65"
);
const flight = (await res.json()) as Flight;
import requests

res = requests.get(
    "https://example-data.com/api/v1/flights/65"
)
flight = res.json()
{
  "id": 65,
  "flightNumber": "JL9289",
  "airline": "Japan Airlines",
  "departureAirport": "AMS",
  "arrivalAirport": "JFK",
  "departureAt": "2026-10-06T02:25:03.950Z",
  "arrivalAt": "2026-10-06T11:43:03.950Z",
  "durationMinutes": 558,
  "status": "cancelled",
  "priceFrom": 1352.78,
  "currency": "AUD",
  "createdAt": "2026-08-12T02:25:03.950Z"
}
Draftbit