example-data.com
Menu
Browse docs and collections

Overview

properties / #194

Scottsdale Cabin

cabin · Scottsdale · $210.97/night · ★ 4.6 (604)

970 W Pine Street

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 194,
  "name": "Scottsdale Cabin",
  "slug": "scottsdale-cabin-194",
  "type": "cabin",
  "countryAlpha2": "ET",
  "city": "Scottsdale",
  "address": "970 W Pine Street",
  "latitude": -5.386993,
  "longitude": 48.127323,
  "bedrooms": 1,
  "bathrooms": 2.5,
  "maxGuests": 3,
  "pricePerNight": 210.97,
  "currency": "AED",
  "rating": 4.6,
  "ratingCount": 604,
  "hostUserId": 90,
  "createdAt": "2025-09-25T17:58:16.181Z",
  "updatedAt": "2026-03-31T10:16:03.496Z"
}