example-data.com
Menu
Browse docs and collections

Overview

properties / #47

San Bernardino Cabin

cabin · San Bernardino · $429.41/night · ★ 2.9 (1886)

2339 Manuel Circle

Component variants

Related

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/properties/47"
);
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/47"
);
const property = (await res.json()) as Property;

Python example

import requests

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

Response

{
  "id": 47,
  "name": "San Bernardino Cabin",
  "slug": "san-bernardino-cabin-47",
  "type": "cabin",
  "countryAlpha2": "AR",
  "city": "San Bernardino",
  "address": "2339 Manuel Circle",
  "latitude": -54.001657,
  "longitude": 25.976279,
  "bedrooms": 6,
  "bathrooms": 1.5,
  "maxGuests": 13,
  "pricePerNight": 429.41,
  "currency": "GBP",
  "rating": 2.9,
  "ratingCount": 1886,
  "hostUserId": 86,
  "createdAt": "2026-02-03T13:17:57.200Z",
  "updatedAt": "2026-02-14T01:12:26.614Z"
}