example-data.com
Menu
Browse docs and collections

Overview

properties / #86

Gerholdtown Apartment

apartment · Gerholdtown · $1041.02/night · ★ 2.8 (415)

87625 The Meadows

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 86,
  "name": "Gerholdtown Apartment",
  "slug": "gerholdtown-apartment-86",
  "type": "apartment",
  "countryAlpha2": "GB",
  "city": "Gerholdtown",
  "address": "87625 The Meadows",
  "latitude": 41.692512,
  "longitude": 110.952547,
  "bedrooms": 1,
  "bathrooms": 4,
  "maxGuests": 1,
  "pricePerNight": 1041.02,
  "currency": "GBP",
  "rating": 2.8,
  "ratingCount": 415,
  "hostUserId": 7,
  "createdAt": "2024-12-08T12:23:03.943Z",
  "updatedAt": "2025-08-17T23:35:29.590Z"
}