example-data.com
Menu
Browse docs and collections

Overview

properties / #11

Lake Alainafort Cabin

cabin · Lake Alainafort · $480.2/night · ★ 2.9 (988)

785 Cross Street

Component variants

Related

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/properties/11"
);
const property = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/properties.d.ts https://example-data.com/types/properties.d.ts
import type { Property } from "./types/properties";

const res = await fetch(
  "https://example-data.com/api/v1/properties/11"
);
const property = (await res.json()) as Property;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/properties/11"
)
propertie = res.json()

Response

{
  "id": 11,
  "name": "Lake Alainafort Cabin",
  "slug": "lake-alainafort-cabin-11",
  "type": "cabin",
  "countryAlpha2": "JP",
  "city": "Lake Alainafort",
  "address": "785 Cross Street",
  "latitude": 55.951336,
  "longitude": 18.163942,
  "bedrooms": 1,
  "bathrooms": 2.5,
  "maxGuests": 4,
  "pricePerNight": 480.2,
  "currency": "GBP",
  "rating": 2.9,
  "ratingCount": 988,
  "hostUserId": 106,
  "createdAt": "2025-02-06T03:12:01.093Z",
  "updatedAt": "2026-04-16T07:42:29.987Z"
}