example-data.com

flights / #240

Jul
26
Sat

Singapore Airlines SQ1751

4:39 AM – 11:28 AM

GRU → CDG

From EUR2018.81

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/flights/240"
)
flight = res.json()
{
  "id": 240,
  "flightNumber": "SQ1751",
  "airline": "Singapore Airlines",
  "departureAirport": "GRU",
  "arrivalAirport": "CDG",
  "departureAt": "2025-07-26T04:39:09.074Z",
  "arrivalAt": "2025-07-26T11:28:09.074Z",
  "durationMinutes": 409,
  "status": "scheduled",
  "priceFrom": 2018.81,
  "currency": "EUR",
  "createdAt": "2025-07-02T04:39:09.074Z"
}
Draftbit