example-data.com
Menu
Browse docs and collections

Overview

properties / #12

East Royalhaven Loft

loft · East Royalhaven · $747.51/night · ★ 2.6 (1694)

75120 Guillermo Pass

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 12,
  "name": "East Royalhaven Loft",
  "slug": "east-royalhaven-loft-12",
  "type": "loft",
  "countryAlpha2": "IE",
  "city": "East Royalhaven",
  "address": "75120 Guillermo Pass",
  "latitude": -21.624786,
  "longitude": 31.109307,
  "bedrooms": 5,
  "bathrooms": 2.5,
  "maxGuests": 2,
  "pricePerNight": 747.51,
  "currency": "GBP",
  "rating": 2.6,
  "ratingCount": 1694,
  "hostUserId": 136,
  "createdAt": "2025-09-30T01:16:39.723Z",
  "updatedAt": "2026-01-10T13:07:14.794Z"
}