example-data.com
Menu
Browse docs and collections

Overview

hotels / #74

Measly Resort Hillsboro

hotel · Hillsboro · $1371.91+/night · ★ 4.6 (4168)

889 Annette Squares

beach-accesspet-friendlyairport-shuttlelaundryrestaurantspa

Component variants

Related

Referenced by

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 74,
  "name": "Measly Resort Hillsboro",
  "slug": "measly-resort-hillsboro-74",
  "brand": "Hilton",
  "countryAlpha2": "ES",
  "city": "Hillsboro",
  "address": "889 Annette Squares",
  "latitude": -19.965426,
  "longitude": 8.931242,
  "starRating": 2,
  "rating": 4.6,
  "ratingCount": 4168,
  "priceFromPerNight": 1371.91,
  "currency": "AED",
  "amenities": [
    "beach-access",
    "pet-friendly",
    "airport-shuttle",
    "laundry",
    "restaurant",
    "spa"
  ],
  "createdAt": "2026-02-09T04:40:29.228Z"
}