example-data.com
Menu
Browse docs and collections

properties

properties

Page 2 of 9.

Overview

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/properties?limit=25"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/properties?limit=25"
);
const { data, meta } = 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, ListEnvelope } from "./types/properties";

const res = await fetch(
  "https://example-data.com/api/v1/properties?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<Property>;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/properties",
    params={"limit": 25},
)
data = res.json()

Response

{
  "data": [
    {
      "id": 25,
      "name": "Yostside Condo",
      "slug": "yostside-condo-25",
      "type": "condo",
      "countryAlpha2": "SA",
      "city": "Yostside",
      "address": "7112 Baker Street",
      "latitude": -19.185023,
      "longitude": -21.98831,
      "bedrooms": 6,
      "bathrooms": 2.5,
      "maxGuests": 6,
      "pricePerNight": 58.46,
      "currency": "MXN",
      "rating": 2.9,
      "ratingCount": 1930,
      "hostUserId": 138,
      "createdAt": "2025-12-14T01:39:32.207Z",
      "updatedAt": "2025-12-15T11:36:20.424Z"
    },
    {
      "id": 26,
      "name": "Joannyburgh House",
      "slug": "joannyburgh-house-26",
      "type": "house",
      "countryAlpha2": "BE",
      "city": "Joannyburgh",
      "address": "3221 Lueilwitz Rue",
      "latitude": -32.106351,
      "longitude": -103.474961,
      "bedrooms": 4,
      "bathrooms": 4,
      "maxGuests": 7,
      "pricePerNight": 1208.86,
      "currency": "JPY",
      "rating": 4.5,
      "ratingCount": 1281,
      "hostUserId": 193,
      "createdAt": "2025-11-23T06:54:50.345Z",
      "updatedAt": "2026-01-17T14:41:21.615Z"
    },
    {
      "id": 27,
      "name": "Huntington Park Villa",
      "slug": "huntington-park-villa-27",
      "type": "villa",
      "countryAlpha2": "IS",
      "city": "Huntington Park",
      "address": "6554 Main Road",
      "latitude": 6.738515,
      "longitude": -136.454347,
      "bedrooms": 4,
      "bathrooms": 0.5,
      "maxGuests": 5,
      "pricePerNight": 244.67,
      "currency": "GBP",
      "rating": 2.9,
      "ratingCount": 161,
      "hostUserId": 174,
      "createdAt": "2025-09-06T04:18:37.332Z",
      "updatedAt": "2026-01-23T10:46:08.086Z"
    }
  ],
  "meta": {
    "page": 2,
    "limit": 24,
    "total": 200,
    "totalPages": 9
  },
  "links": {
    "self": "/api/v1/properties?page=2&limit=24",
    "first": "/api/v1/properties?page=1&limit=24",
    "last": "/api/v1/properties?page=9&limit=24",
    "next": "/api/v1/properties?page=3&limit=24",
    "prev": "/api/v1/properties?page=1&limit=24"
  }
}