example-data.com
Menu
Browse docs and collections

Overview

properties / #55

Emmanuelhaven Apartment

apartment · Emmanuelhaven · $479.97/night · ★ 2.6 (798)

20909 Warren Close

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 55,
  "name": "Emmanuelhaven Apartment",
  "slug": "emmanuelhaven-apartment-55",
  "type": "apartment",
  "countryAlpha2": "ES",
  "city": "Emmanuelhaven",
  "address": "20909 Warren Close",
  "latitude": 14.591837,
  "longitude": 29.105232,
  "bedrooms": 2,
  "bathrooms": 3,
  "maxGuests": 5,
  "pricePerNight": 479.97,
  "currency": "JPY",
  "rating": 2.6,
  "ratingCount": 798,
  "hostUserId": 199,
  "createdAt": "2025-04-11T06:59:32.096Z",
  "updatedAt": "2025-09-08T20:42:14.864Z"
}