example-data.com
Menu
Browse docs and collections

Overview

hotels / #61

Hard-to-find Hotel South Eldoraton

hotel · South Eldoraton · $752.92+/night · ★ 2.4 (4291)

84814 The Green

parkingroom-servicebeach-accessconciergerestaurant

Component variants

Related

Referenced by

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 61,
  "name": "Hard-to-find Hotel South Eldoraton",
  "slug": "hard-to-find-hotel-south-eldoraton-61",
  "brand": null,
  "countryAlpha2": "BE",
  "city": "South Eldoraton",
  "address": "84814 The Green",
  "latitude": -17.905403,
  "longitude": -137.084764,
  "starRating": 2,
  "rating": 2.4,
  "ratingCount": 4291,
  "priceFromPerNight": 752.92,
  "currency": "USD",
  "amenities": [
    "parking",
    "room-service",
    "beach-access",
    "concierge",
    "restaurant"
  ],
  "createdAt": "2025-09-19T19:30:12.991Z"
}