example-data.com
Menu
Browse docs and collections

Overview

properties / #18

Nigelbury Apartment

apartment · Nigelbury · $1123.19/night · ★ 2.8 (1072)

800 E 1st Street

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 18,
  "name": "Nigelbury Apartment",
  "slug": "nigelbury-apartment-18",
  "type": "apartment",
  "countryAlpha2": "IS",
  "city": "Nigelbury",
  "address": "800 E 1st Street",
  "latitude": 30.451499,
  "longitude": 39.800927,
  "bedrooms": 0,
  "bathrooms": 0.5,
  "maxGuests": 1,
  "pricePerNight": 1123.19,
  "currency": "SGD",
  "rating": 2.8,
  "ratingCount": 1072,
  "hostUserId": 84,
  "createdAt": "2025-05-20T11:05:17.423Z",
  "updatedAt": "2026-03-07T10:40:25.474Z"
}