example-data.com
Menu
Browse docs and collections

Overview

properties / #49

Spencerworth Condo

condo · Spencerworth · $302.62/night · ★ 4.6 (1960)

3155 Odessa Course

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 49,
  "name": "Spencerworth Condo",
  "slug": "spencerworth-condo-49",
  "type": "condo",
  "countryAlpha2": "PH",
  "city": "Spencerworth",
  "address": "3155 Odessa Course",
  "latitude": 55.97198,
  "longitude": -18.6536,
  "bedrooms": 0,
  "bathrooms": 0.5,
  "maxGuests": 2,
  "pricePerNight": 302.62,
  "currency": "GBP",
  "rating": 4.6,
  "ratingCount": 1960,
  "hostUserId": 237,
  "createdAt": "2025-03-23T03:28:50.907Z",
  "updatedAt": "2025-07-14T03:31:01.009Z"
}