example-data.com
Menu
Browse docs and collections

Overview

properties / #100

Lake Meagan Apartment

apartment · Lake Meagan · $745.89/night · ★ 2.5 (2)

600 McClure Flat

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 100,
  "name": "Lake Meagan Apartment",
  "slug": "lake-meagan-apartment-100",
  "type": "apartment",
  "countryAlpha2": "IL",
  "city": "Lake Meagan",
  "address": "600 McClure Flat",
  "latitude": 43.081871,
  "longitude": -158.968948,
  "bedrooms": 5,
  "bathrooms": 1,
  "maxGuests": 4,
  "pricePerNight": 745.89,
  "currency": "USD",
  "rating": 2.5,
  "ratingCount": 2,
  "hostUserId": 56,
  "createdAt": "2025-07-18T03:05:08.794Z",
  "updatedAt": "2025-12-30T07:52:55.000Z"
}