example-data.com

flights / #191

Oct
15
Wed

Japan Airlines JL3634

5:20 AM – 7:02 AM

LHR → JFK

From GBP1682.47

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/flights/191"
)
flight = res.json()
{
  "id": 191,
  "flightNumber": "JL3634",
  "airline": "Japan Airlines",
  "departureAirport": "LHR",
  "arrivalAirport": "JFK",
  "departureAt": "2025-10-15T05:20:38.519Z",
  "arrivalAt": "2025-10-15T07:02:38.519Z",
  "durationMinutes": 102,
  "status": "cancelled",
  "priceFrom": 1682.47,
  "currency": "GBP",
  "createdAt": "2025-09-24T05:20:38.519Z"
}
Draftbit