example-data.com
Menu
Browse docs and collections

Overview

properties / #25

Yostside Condo

condo · Yostside · $58.46/night · ★ 2.9 (1930)

7112 Baker Street

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 25,
  "name": "Yostside Condo",
  "slug": "yostside-condo-25",
  "type": "condo",
  "countryAlpha2": "SA",
  "city": "Yostside",
  "address": "7112 Baker Street",
  "latitude": -19.185023,
  "longitude": -21.98831,
  "bedrooms": 6,
  "bathrooms": 2.5,
  "maxGuests": 6,
  "pricePerNight": 58.46,
  "currency": "MXN",
  "rating": 2.9,
  "ratingCount": 1930,
  "hostUserId": 138,
  "createdAt": "2025-12-14T01:39:32.207Z",
  "updatedAt": "2025-12-15T11:36:20.424Z"
}