example-data.com

flights / #111

May
28
Thu

American Airlines AA8536

7:02 PM – 6:07 AM

NRT → ATL

From JPY1723.55

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/flights/111"
)
flight = res.json()
{
  "id": 111,
  "flightNumber": "AA8536",
  "airline": "American Airlines",
  "departureAirport": "NRT",
  "arrivalAirport": "ATL",
  "departureAt": "2026-05-28T19:02:33.192Z",
  "arrivalAt": "2026-05-29T06:07:33.192Z",
  "durationMinutes": 665,
  "status": "delayed",
  "priceFrom": 1723.55,
  "currency": "JPY",
  "createdAt": "2026-05-06T19:02:33.192Z"
}
Draftbit