example-data.com
Menu
Browse docs and collections

Overview

properties / #186

Rowlandberg House

house · Rowlandberg · $291.84/night · ★ 3.1 (186)

92378 S 5th Street

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 186,
  "name": "Rowlandberg House",
  "slug": "rowlandberg-house-186",
  "type": "house",
  "countryAlpha2": "JP",
  "city": "Rowlandberg",
  "address": "92378 S 5th Street",
  "latitude": 9.177091,
  "longitude": -58.658764,
  "bedrooms": 1,
  "bathrooms": 3,
  "maxGuests": 1,
  "pricePerNight": 291.84,
  "currency": "AED",
  "rating": 3.1,
  "ratingCount": 186,
  "hostUserId": 190,
  "createdAt": "2025-01-30T16:28:10.808Z",
  "updatedAt": "2025-02-08T16:38:26.442Z"
}