example-data.com
Menu
Browse docs and collections

Overview

properties / #1

Asheville Villa

villa · Asheville · $786.38/night · ★ 4.1 (1093)

265 George Street

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 1,
  "name": "Asheville Villa",
  "slug": "asheville-villa-1",
  "type": "villa",
  "countryAlpha2": "CN",
  "city": "Asheville",
  "address": "265 George Street",
  "latitude": 8.16773,
  "longitude": -78.851336,
  "bedrooms": 3,
  "bathrooms": 2,
  "maxGuests": 8,
  "pricePerNight": 786.38,
  "currency": "GBP",
  "rating": 4.1,
  "ratingCount": 1093,
  "hostUserId": 30,
  "createdAt": "2025-06-19T22:09:24.110Z",
  "updatedAt": "2026-01-01T16:46:13.640Z"
}