example-data.com
Menu
Browse docs and collections

Overview

properties / #159

Olenchester Loft

loft · Olenchester · $877.7/night · ★ 2.6 (217)

227 Gutmann Plains

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 159,
  "name": "Olenchester Loft",
  "slug": "olenchester-loft-159",
  "type": "loft",
  "countryAlpha2": "BR",
  "city": "Olenchester",
  "address": "227 Gutmann Plains",
  "latitude": 23.693168,
  "longitude": 98.518149,
  "bedrooms": 1,
  "bathrooms": 2,
  "maxGuests": 3,
  "pricePerNight": 877.7,
  "currency": "GBP",
  "rating": 2.6,
  "ratingCount": 217,
  "hostUserId": 191,
  "createdAt": "2024-07-28T17:02:38.509Z",
  "updatedAt": "2025-06-10T07:36:26.865Z"
}