example-data.com
Menu
Browse docs and collections

Overview

properties / #175

Fort Weldonfield Villa

villa · Fort Weldonfield · $41.55/night · ★ 4.0 (379)

684 Chapel Hill

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 175,
  "name": "Fort Weldonfield Villa",
  "slug": "fort-weldonfield-villa-175",
  "type": "villa",
  "countryAlpha2": "CN",
  "city": "Fort Weldonfield",
  "address": "684 Chapel Hill",
  "latitude": 6.947974,
  "longitude": 81.326593,
  "bedrooms": 5,
  "bathrooms": 0.5,
  "maxGuests": 2,
  "pricePerNight": 41.55,
  "currency": "GBP",
  "rating": 4,
  "ratingCount": 379,
  "hostUserId": 73,
  "createdAt": "2024-12-25T03:46:44.836Z",
  "updatedAt": "2026-02-05T01:52:36.811Z"
}