example-data.com
Menu
Browse docs and collections

Overview

hotels / #11

Harmful Hotel South Alenebury

hotel · South Alenebury · $1578.33+/night · ★ 4.5 (1524)

960 Alfred Street

casinoconciergerestaurantroom-service

Component variants

Related

Referenced by

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 11,
  "name": "Harmful Hotel South Alenebury",
  "slug": "harmful-hotel-south-alenebury-11",
  "brand": "IHG",
  "countryAlpha2": "ES",
  "city": "South Alenebury",
  "address": "960 Alfred Street",
  "latitude": 9.975493,
  "longitude": 87.94959,
  "starRating": 3,
  "rating": 4.5,
  "ratingCount": 1524,
  "priceFromPerNight": 1578.33,
  "currency": "AUD",
  "amenities": [
    "casino",
    "concierge",
    "restaurant",
    "room-service"
  ],
  "createdAt": "2025-07-10T18:30:02.906Z"
}