example-data.com
Menu
Browse docs and collections

properties

properties

Page 8 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": 169,
      "name": "Pomona Villa",
      "slug": "pomona-villa-169",
      "type": "villa",
      "countryAlpha2": "IL",
      "city": "Pomona",
      "address": "8542 Harrison Avenue",
      "latitude": -10.637726,
      "longitude": -147.419506,
      "bedrooms": 6,
      "bathrooms": 3,
      "maxGuests": 11,
      "pricePerNight": 629.35,
      "currency": "BRL",
      "rating": 3.3,
      "ratingCount": 929,
      "hostUserId": 195,
      "createdAt": "2025-07-11T16:31:53.016Z",
      "updatedAt": "2025-08-07T21:19:42.317Z"
    },
    {
      "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"
    },
    {
      "id": 171,
      "name": "Krystalport Apartment",
      "slug": "krystalport-apartment-171",
      "type": "apartment",
      "countryAlpha2": "IE",
      "city": "Krystalport",
      "address": "6473 Frami Fall",
      "latitude": 4.9134,
      "longitude": 112.275329,
      "bedrooms": 4,
      "bathrooms": 2,
      "maxGuests": 2,
      "pricePerNight": 1396.63,
      "currency": "JPY",
      "rating": 4.1,
      "ratingCount": 1458,
      "hostUserId": 247,
      "createdAt": "2024-06-14T00:09:19.967Z",
      "updatedAt": "2024-07-03T00:21:45.173Z"
    }
  ],
  "meta": {
    "page": 8,
    "limit": 24,
    "total": 200,
    "totalPages": 9
  },
  "links": {
    "self": "/api/v1/properties?page=8&limit=24",
    "first": "/api/v1/properties?page=1&limit=24",
    "last": "/api/v1/properties?page=9&limit=24",
    "next": "/api/v1/properties?page=9&limit=24",
    "prev": "/api/v1/properties?page=7&limit=24"
  }
}