example-data.com
Menu
Browse docs and collections

Overview

hotels / #45

Naughty Hotel Rochester Hills

hotel · Rochester Hills · $1504.75+/night · ★ 3.1 (2425)

5542 Gulgowski Center

laundryroom-serviceconciergegymbeach-accesspet-friendlyspa

Component variants

Related

Referenced by

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 45,
  "name": "Naughty Hotel Rochester Hills",
  "slug": "naughty-hotel-rochester-hills-45",
  "brand": null,
  "countryAlpha2": "AR",
  "city": "Rochester Hills",
  "address": "5542 Gulgowski Center",
  "latitude": 57.362861,
  "longitude": 88.899522,
  "starRating": 2,
  "rating": 3.1,
  "ratingCount": 2425,
  "priceFromPerNight": 1504.75,
  "currency": "USD",
  "amenities": [
    "laundry",
    "room-service",
    "concierge",
    "gym",
    "beach-access",
    "pet-friendly",
    "spa"
  ],
  "createdAt": "2025-06-20T18:21:38.315Z"
}