example-data.com

properties / #3

Portland Cabin

cabin · Portland · $659.37/night · ★ 2.8 (1310)

6376 N Oak Street

Component variants

curl -sS \
  "https://example-data.com/api/v1/properties/3" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/properties/3"
);
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/3"
);
const propertie = (await res.json()) as Propertie;
import requests

res = requests.get(
    "https://example-data.com/api/v1/properties/3"
)
propertie = res.json()
{
  "id": 3,
  "name": "Portland Cabin",
  "slug": "portland-cabin-3",
  "type": "cabin",
  "countryAlpha2": "PL",
  "city": "Portland",
  "address": "6376 N Oak Street",
  "latitude": -0.198966,
  "longitude": 137.062324,
  "bedrooms": 3,
  "bathrooms": 1.5,
  "maxGuests": 1,
  "pricePerNight": 659.37,
  "currency": "SGD",
  "rating": 2.8,
  "ratingCount": 1310,
  "hostUserId": 139,
  "createdAt": "2024-11-28T16:36:17.147Z",
  "updatedAt": "2026-03-09T22:09:04.022Z"
}
Draftbit