example-data.com
Menu
Browse docs and collections

Overview

properties / #6

Elizabeth House

house · Elizabeth · $1173.48/night · ★ 3.4 (973)

60027 Goyette Camp

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 6,
  "name": "Elizabeth House",
  "slug": "elizabeth-house-6",
  "type": "house",
  "countryAlpha2": "VN",
  "city": "Elizabeth",
  "address": "60027 Goyette Camp",
  "latitude": 41.765772,
  "longitude": 178.658884,
  "bedrooms": 0,
  "bathrooms": 2.5,
  "maxGuests": 2,
  "pricePerNight": 1173.48,
  "currency": "AED",
  "rating": 3.4,
  "ratingCount": 973,
  "hostUserId": 121,
  "createdAt": "2024-11-28T01:16:09.969Z",
  "updatedAt": "2026-01-16T04:56:31.013Z"
}