example-data.com
Menu
Browse docs and collections

Overview

properties / #125

Kingfort Cabin

cabin · Kingfort · $700.38/night · ★ 4.6 (142)

41175 Macejkovic Fork

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 125,
  "name": "Kingfort Cabin",
  "slug": "kingfort-cabin-125",
  "type": "cabin",
  "countryAlpha2": "VN",
  "city": "Kingfort",
  "address": "41175 Macejkovic Fork",
  "latitude": -23.611834,
  "longitude": 108.999358,
  "bedrooms": 2,
  "bathrooms": 1.5,
  "maxGuests": 4,
  "pricePerNight": 700.38,
  "currency": "AUD",
  "rating": 4.6,
  "ratingCount": 142,
  "hostUserId": 123,
  "createdAt": "2025-02-27T04:27:47.527Z",
  "updatedAt": "2025-10-11T12:16:54.390Z"
}