example-data.com
Menu
Browse docs and collections

Overview

properties / #54

Goodwinside Villa

villa · Goodwinside · $405.57/night · ★ 3.0 (1963)

35763 Balistreri Knoll

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 54,
  "name": "Goodwinside Villa",
  "slug": "goodwinside-villa-54",
  "type": "villa",
  "countryAlpha2": "ZA",
  "city": "Goodwinside",
  "address": "35763 Balistreri Knoll",
  "latitude": 34.0317,
  "longitude": -165.944846,
  "bedrooms": 1,
  "bathrooms": 0.5,
  "maxGuests": 2,
  "pricePerNight": 405.57,
  "currency": "JPY",
  "rating": 3,
  "ratingCount": 1963,
  "hostUserId": 218,
  "createdAt": "2024-11-04T07:55:47.280Z",
  "updatedAt": "2025-06-19T15:59:43.051Z"
}