example-data.com
Menu
Browse docs and collections

Overview

properties / #127

Theresiastead Villa

villa · Theresiastead · $380.66/night · ★ 4.1 (1352)

80106 Vernice Forks

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 127,
  "name": "Theresiastead Villa",
  "slug": "theresiastead-villa-127",
  "type": "villa",
  "countryAlpha2": "IT",
  "city": "Theresiastead",
  "address": "80106 Vernice Forks",
  "latitude": -1.309619,
  "longitude": -112.593441,
  "bedrooms": 5,
  "bathrooms": 4,
  "maxGuests": 7,
  "pricePerNight": 380.66,
  "currency": "MXN",
  "rating": 4.1,
  "ratingCount": 1352,
  "hostUserId": 8,
  "createdAt": "2024-08-13T04:22:25.888Z",
  "updatedAt": "2025-04-21T10:43:10.167Z"
}