example-data.com
Menu
Browse docs and collections

Overview

properties / #76

Thousand Oaks Villa

villa · Thousand Oaks · $1437.29/night · ★ 3.0 (428)

63714 Otha Rest

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 76,
  "name": "Thousand Oaks Villa",
  "slug": "thousand-oaks-villa-76",
  "type": "villa",
  "countryAlpha2": "ET",
  "city": "Thousand Oaks",
  "address": "63714 Otha Rest",
  "latitude": -22.116404,
  "longitude": 79.847337,
  "bedrooms": 5,
  "bathrooms": 2,
  "maxGuests": 3,
  "pricePerNight": 1437.29,
  "currency": "EUR",
  "rating": 3,
  "ratingCount": 428,
  "hostUserId": 22,
  "createdAt": "2025-07-28T20:20:03.585Z",
  "updatedAt": "2026-01-02T09:14:36.884Z"
}