example-data.com

properties / #123

Gastonia Apartment

apartment · Gastonia · $786.34/night · ★ 3.4 (847)

296 Canal Street

Component variants

curl -sS \
  "https://example-data.com/api/v1/properties/123" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/properties/123"
);
const propertie = await res.json();
import type { Propertie } from "https://example-data.com/types/properties.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/properties/123"
);
const propertie = (await res.json()) as Propertie;
import requests

res = requests.get(
    "https://example-data.com/api/v1/properties/123"
)
propertie = res.json()
{
  "id": 123,
  "name": "Gastonia Apartment",
  "slug": "gastonia-apartment-123",
  "type": "apartment",
  "countryAlpha2": "TH",
  "city": "Gastonia",
  "address": "296 Canal Street",
  "latitude": 59.637371,
  "longitude": -162.514823,
  "bedrooms": 0,
  "bathrooms": 4,
  "maxGuests": 2,
  "pricePerNight": 786.34,
  "currency": "GBP",
  "rating": 3.4,
  "ratingCount": 847,
  "hostUserId": 20,
  "createdAt": "2026-01-11T16:13:03.774Z",
  "updatedAt": "2026-04-09T03:11:56.703Z"
}
Draftbit