example-data.com
Menu
Browse docs and collections

Overview

hotels / #46

Insidious Palace East Janaestead

hotel · East Janaestead · $93.31+/night · ★ 4.4 (1958)

68039 W Elm Street

conciergelaundryrestaurantcasinowifibarbeach-accessairport-shuttle

Component variants

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 46,
  "name": "Insidious Palace East Janaestead",
  "slug": "insidious-palace-east-janaestead-46",
  "brand": "Marriott",
  "countryAlpha2": "KR",
  "city": "East Janaestead",
  "address": "68039 W Elm Street",
  "latitude": 18.513507,
  "longitude": 135.095484,
  "starRating": 5,
  "rating": 4.4,
  "ratingCount": 1958,
  "priceFromPerNight": 93.31,
  "currency": "GBP",
  "amenities": [
    "concierge",
    "laundry",
    "restaurant",
    "casino",
    "wifi",
    "bar",
    "beach-access",
    "airport-shuttle"
  ],
  "createdAt": "2025-07-18T16:49:42.879Z"
}