example-data.com
Menu
Browse docs and collections

Overview

hotels / #66

Blank Hotel Port Robbie

hotel · Port Robbie · $1453.96+/night · ★ 4.6 (1995)

197 Vilma Rue

airport-shuttlerestaurantbarlaundrywifiroom-servicespapool

Component variants

Related

Referenced by

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 66,
  "name": "Blank Hotel Port Robbie",
  "slug": "blank-hotel-port-robbie-66",
  "brand": null,
  "countryAlpha2": "ZA",
  "city": "Port Robbie",
  "address": "197 Vilma Rue",
  "latitude": -32.859001,
  "longitude": 36.125229,
  "starRating": 4,
  "rating": 4.6,
  "ratingCount": 1995,
  "priceFromPerNight": 1453.96,
  "currency": "USD",
  "amenities": [
    "airport-shuttle",
    "restaurant",
    "bar",
    "laundry",
    "wifi",
    "room-service",
    "spa",
    "pool"
  ],
  "createdAt": "2025-11-06T16:54:47.029Z"
}