example-data.com
Menu
Browse docs and collections

Overview

properties / #7

Greenholtside Villa

villa · Greenholtside · $98.26/night · ★ 3.0 (864)

15955 Gleichner Freeway

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 7,
  "name": "Greenholtside Villa",
  "slug": "greenholtside-villa-7",
  "type": "villa",
  "countryAlpha2": "GB",
  "city": "Greenholtside",
  "address": "15955 Gleichner Freeway",
  "latitude": 18.245419,
  "longitude": -159.540085,
  "bedrooms": 1,
  "bathrooms": 2,
  "maxGuests": 1,
  "pricePerNight": 98.26,
  "currency": "GBP",
  "rating": 3,
  "ratingCount": 864,
  "hostUserId": 125,
  "createdAt": "2024-11-19T15:50:22.678Z",
  "updatedAt": "2026-04-10T12:03:43.514Z"
}