example-data.com
Menu
Browse docs and collections

Overview

hotels / #143

Early Inn Lake Abelstead

hotel · Lake Abelstead · $1628.55+/night · ★ 3.2 (2714)

185 Eliza Overpass

restaurantairport-shuttlespalaundrygympet-friendly

Component variants

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/hotels/143"
);
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/143"
);
const hotel = (await res.json()) as Hotel;

Python example

import requests

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

Response

{
  "id": 143,
  "name": "Early Inn Lake Abelstead",
  "slug": "early-inn-lake-abelstead-143",
  "brand": null,
  "countryAlpha2": "MY",
  "city": "Lake Abelstead",
  "address": "185 Eliza Overpass",
  "latitude": -18.678505,
  "longitude": 169.0041,
  "starRating": 3,
  "rating": 3.2,
  "ratingCount": 2714,
  "priceFromPerNight": 1628.55,
  "currency": "AED",
  "amenities": [
    "restaurant",
    "airport-shuttle",
    "spa",
    "laundry",
    "gym",
    "pet-friendly"
  ],
  "createdAt": "2026-03-20T01:13:37.224Z"
}