example-data.com
Menu
Browse docs and collections

Overview

properties / #58

Port Mohamedton Loft

loft · Port Mohamedton · $834.82/night · ★ 3.8 (1729)

7746 Castle Street

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 58,
  "name": "Port Mohamedton Loft",
  "slug": "port-mohamedton-loft-58",
  "type": "loft",
  "countryAlpha2": "MX",
  "city": "Port Mohamedton",
  "address": "7746 Castle Street",
  "latitude": -31.064421,
  "longitude": 149.610304,
  "bedrooms": 6,
  "bathrooms": 1.5,
  "maxGuests": 12,
  "pricePerNight": 834.82,
  "currency": "USD",
  "rating": 3.8,
  "ratingCount": 1729,
  "hostUserId": 107,
  "createdAt": "2025-03-24T22:29:30.788Z",
  "updatedAt": "2025-10-20T06:21:53.797Z"
}