example-data.com
Menu
Browse docs and collections

Overview

properties / #77

Barnstable Town Condo

condo · Barnstable Town · $1270.47/night · ★ 4.0 (1944)

3543 7th Avenue

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 77,
  "name": "Barnstable Town Condo",
  "slug": "barnstable-town-condo-77",
  "type": "condo",
  "countryAlpha2": "DE",
  "city": "Barnstable Town",
  "address": "3543 7th Avenue",
  "latitude": 59.660186,
  "longitude": -99.925935,
  "bedrooms": 5,
  "bathrooms": 3,
  "maxGuests": 6,
  "pricePerNight": 1270.47,
  "currency": "JPY",
  "rating": 4,
  "ratingCount": 1944,
  "hostUserId": 84,
  "createdAt": "2025-10-29T16:20:17.668Z",
  "updatedAt": "2025-12-16T03:08:56.095Z"
}