example-data.com
Menu
Browse docs and collections

Overview

properties / #174

Priceside House

house · Priceside · $513.82/night · ★ 4.2 (1988)

92465 Mount Pleasant

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 174,
  "name": "Priceside House",
  "slug": "priceside-house-174",
  "type": "house",
  "countryAlpha2": "SG",
  "city": "Priceside",
  "address": "92465 Mount Pleasant",
  "latitude": 19.161323,
  "longitude": 129.740992,
  "bedrooms": 2,
  "bathrooms": 0.5,
  "maxGuests": 5,
  "pricePerNight": 513.82,
  "currency": "MXN",
  "rating": 4.2,
  "ratingCount": 1988,
  "hostUserId": 48,
  "createdAt": "2025-03-28T20:19:13.063Z",
  "updatedAt": "2025-04-21T02:46:43.771Z"
}