example-data.com
Menu
Browse docs and collections

Overview

hotels / #10

Handsome Suites Ruthchester

hotel · Ruthchester · $541.59+/night · ★ 3.7 (2714)

480 Denesik Trace

spagymbeach-accessconciergewifiroom-servicepet-friendlybar

Component variants

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 10,
  "name": "Handsome Suites Ruthchester",
  "slug": "handsome-suites-ruthchester-10",
  "brand": "Radisson",
  "countryAlpha2": "ID",
  "city": "Ruthchester",
  "address": "480 Denesik Trace",
  "latitude": -37.50134,
  "longitude": 165.130272,
  "starRating": 3,
  "rating": 3.7,
  "ratingCount": 2714,
  "priceFromPerNight": 541.59,
  "currency": "CAD",
  "amenities": [
    "spa",
    "gym",
    "beach-access",
    "concierge",
    "wifi",
    "room-service",
    "pet-friendly",
    "bar"
  ],
  "createdAt": "2025-04-17T03:43:24.774Z"
}