example-data.com
Menu
Browse docs and collections

Overview

hotels / #55

Competent Lodge Fort Tressaburgh

hotel · Fort Tressaburgh · $1689.1+/night · ★ 2.3 (1714)

899 Tremaine Bridge

casinoairport-shuttlegymbeach-accessspa

Component variants

Related

Referenced by

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/hotels/55" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/hotels/55"
);
const hotel = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/hotels.d.ts https://example-data.com/types/hotels.d.ts
import type { Hotel } from "./types/hotels";

const res = await fetch(
  "https://example-data.com/api/v1/hotels/55"
);
const hotel = (await res.json()) as Hotel;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/hotels/55"
)
hotel = res.json()

Response

{
  "id": 55,
  "name": "Competent Lodge Fort Tressaburgh",
  "slug": "competent-lodge-fort-tressaburgh-55",
  "brand": "Wyndham",
  "countryAlpha2": "ET",
  "city": "Fort Tressaburgh",
  "address": "899 Tremaine Bridge",
  "latitude": 10.946743,
  "longitude": -62.668402,
  "starRating": 4,
  "rating": 2.3,
  "ratingCount": 1714,
  "priceFromPerNight": 1689.1,
  "currency": "SGD",
  "amenities": [
    "casino",
    "airport-shuttle",
    "gym",
    "beach-access",
    "spa"
  ],
  "createdAt": "2026-05-18T00:53:37.203Z"
}