example-data.com
Menu
Browse docs and collections

Overview

properties / #158

Arleneborough Cabin

cabin · Arleneborough · $729.98/night · ★ 3.7 (1074)

698 S Central Avenue

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 158,
  "name": "Arleneborough Cabin",
  "slug": "arleneborough-cabin-158",
  "type": "cabin",
  "countryAlpha2": "IS",
  "city": "Arleneborough",
  "address": "698 S Central Avenue",
  "latitude": 21.526512,
  "longitude": 169.690128,
  "bedrooms": 6,
  "bathrooms": 3.5,
  "maxGuests": 11,
  "pricePerNight": 729.98,
  "currency": "CAD",
  "rating": 3.7,
  "ratingCount": 1074,
  "hostUserId": 109,
  "createdAt": "2025-03-22T22:11:47.119Z",
  "updatedAt": "2025-05-23T17:17:09.667Z"
}