example-data.com
Menu
Browse docs and collections

Overview

properties / #105

Fort Orinfort Condo

condo · Fort Orinfort · $853.35/night · ★ 3.8 (342)

121 Church Close

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 105,
  "name": "Fort Orinfort Condo",
  "slug": "fort-orinfort-condo-105",
  "type": "condo",
  "countryAlpha2": "PE",
  "city": "Fort Orinfort",
  "address": "121 Church Close",
  "latitude": -7.180897,
  "longitude": -19.077375,
  "bedrooms": 6,
  "bathrooms": 4,
  "maxGuests": 11,
  "pricePerNight": 853.35,
  "currency": "AUD",
  "rating": 3.8,
  "ratingCount": 342,
  "hostUserId": 117,
  "createdAt": "2024-06-06T22:03:27.360Z",
  "updatedAt": "2025-05-05T02:27:05.153Z"
}