example-data.com
Menu
Browse docs and collections

properties

properties

Page 6 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": 121,
      "name": "Coon Rapids Loft",
      "slug": "coon-rapids-loft-121",
      "type": "loft",
      "countryAlpha2": "GB",
      "city": "Coon Rapids",
      "address": "3099 West Lane",
      "latitude": 34.956008,
      "longitude": 92.079226,
      "bedrooms": 1,
      "bathrooms": 1,
      "maxGuests": 3,
      "pricePerNight": 1340,
      "currency": "USD",
      "rating": 3.6,
      "ratingCount": 157,
      "hostUserId": 32,
      "createdAt": "2026-01-06T16:22:08.786Z",
      "updatedAt": "2026-02-10T23:09:26.930Z"
    },
    {
      "id": 122,
      "name": "Collinsshire Villa",
      "slug": "collinsshire-villa-122",
      "type": "villa",
      "countryAlpha2": "FR",
      "city": "Collinsshire",
      "address": "898 Cristal Cove",
      "latitude": -31.394072,
      "longitude": 105.439748,
      "bedrooms": 1,
      "bathrooms": 0.5,
      "maxGuests": 2,
      "pricePerNight": 656.75,
      "currency": "GBP",
      "rating": 3,
      "ratingCount": 995,
      "hostUserId": 217,
      "createdAt": "2025-05-06T09:44:21.302Z",
      "updatedAt": "2026-05-21T00:53:26.141Z"
    },
    {
      "id": 123,
      "name": "Gastonia Apartment",
      "slug": "gastonia-apartment-123",
      "type": "apartment",
      "countryAlpha2": "TH",
      "city": "Gastonia",
      "address": "296 Canal Street",
      "latitude": 59.637371,
      "longitude": -162.514823,
      "bedrooms": 0,
      "bathrooms": 4,
      "maxGuests": 2,
      "pricePerNight": 786.34,
      "currency": "GBP",
      "rating": 3.4,
      "ratingCount": 847,
      "hostUserId": 20,
      "createdAt": "2026-01-11T16:13:03.774Z",
      "updatedAt": "2026-04-09T03:11:56.703Z"
    }
  ],
  "meta": {
    "page": 6,
    "limit": 24,
    "total": 200,
    "totalPages": 9
  },
  "links": {
    "self": "/api/v1/properties?page=6&limit=24",
    "first": "/api/v1/properties?page=1&limit=24",
    "last": "/api/v1/properties?page=9&limit=24",
    "next": "/api/v1/properties?page=7&limit=24",
    "prev": "/api/v1/properties?page=5&limit=24"
  }
}