example-data.com
Menu
Browse docs and collections

Overview

properties / #122

Collinsshire Villa

villa · Collinsshire · $656.75/night · ★ 3.0 (995)

898 Cristal Cove

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 122,
  "name": "Collinsshire Villa",
  "slug": "collinsshire-villa-122",
  "type": "villa",
  "countryAlpha2": "FR",
  "city": "Collinsshire",
  "address": "898 Cristal Cove",
  "latitude": -31.394072,
  "longitude": 105.439748,
  "bedrooms": 1,
  "bathrooms": 0.5,
  "maxGuests": 2,
  "pricePerNight": 656.75,
  "currency": "GBP",
  "rating": 3,
  "ratingCount": 995,
  "hostUserId": 217,
  "createdAt": "2025-05-06T09:44:21.302Z",
  "updatedAt": "2026-05-21T00:53:26.141Z"
}