example-data.com
Menu
Browse docs and collections

Overview

hotels / #94

Tangible Resort Raleigh

hotel · Raleigh · $605.67+/night · ★ 4.5 (3208)

758 13th Street

barcasinogym

Component variants

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 94,
  "name": "Tangible Resort Raleigh",
  "slug": "tangible-resort-raleigh-94",
  "brand": "Hilton",
  "countryAlpha2": "AT",
  "city": "Raleigh",
  "address": "758 13th Street",
  "latitude": -19.345735,
  "longitude": -174.471688,
  "starRating": 3,
  "rating": 4.5,
  "ratingCount": 3208,
  "priceFromPerNight": 605.67,
  "currency": "TRY",
  "amenities": [
    "bar",
    "casino",
    "gym"
  ],
  "createdAt": "2026-02-13T01:45:04.715Z"
}