example-data.com
Menu
Browse docs and collections

Overview

properties / #170

Perth Amboy Villa

villa · Perth Amboy · $397.76/night · ★ 2.8 (1730)

2096 Nash Turnpike

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 170,
  "name": "Perth Amboy Villa",
  "slug": "perth-amboy-villa-170",
  "type": "villa",
  "countryAlpha2": "PL",
  "city": "Perth Amboy",
  "address": "2096 Nash Turnpike",
  "latitude": -31.208555,
  "longitude": 86.088663,
  "bedrooms": 4,
  "bathrooms": 1,
  "maxGuests": 8,
  "pricePerNight": 397.76,
  "currency": "GBP",
  "rating": 2.8,
  "ratingCount": 1730,
  "hostUserId": 224,
  "createdAt": "2025-04-10T02:41:01.523Z",
  "updatedAt": "2026-03-14T15:07:45.366Z"
}