example-data.com
Menu
Browse docs and collections

Overview

properties / #136

Flint Villa

villa · Flint · $295.66/night · ★ 3.0 (1116)

2955 Damien Rapids

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 136,
  "name": "Flint Villa",
  "slug": "flint-villa-136",
  "type": "villa",
  "countryAlpha2": "CA",
  "city": "Flint",
  "address": "2955 Damien Rapids",
  "latitude": 14.790902,
  "longitude": -149.139846,
  "bedrooms": 0,
  "bathrooms": 0.5,
  "maxGuests": 1,
  "pricePerNight": 295.66,
  "currency": "GBP",
  "rating": 3,
  "ratingCount": 1116,
  "hostUserId": 231,
  "createdAt": "2024-11-10T20:38:04.593Z",
  "updatedAt": "2026-03-10T07:25:54.122Z"
}