example-data.com
Menu
Browse docs and collections

properties-saved

properties-saved

Page 10 of 16.

Overview

Request

curl example

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

JavaScript example

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

TypeScript example

// Download once: mkdir -p types && curl -o types/properties-saved.d.ts https://example-data.com/types/properties-saved.d.ts
import type { PropertySaved, ListEnvelope } from "./types/properties-saved";

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

Python example

import requests

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

Response

{
  "data": [
    {
      "id": 217,
      "userId": 140,
      "propertyId": 200,
      "savedAt": "2024-07-14T15:40:59.543Z"
    },
    {
      "id": 218,
      "userId": 141,
      "propertyId": 137,
      "savedAt": "2024-06-01T23:33:24.264Z"
    },
    {
      "id": 219,
      "userId": 142,
      "propertyId": 23,
      "savedAt": "2025-12-03T15:52:53.339Z"
    }
  ],
  "meta": {
    "page": 10,
    "limit": 24,
    "total": 378,
    "totalPages": 16
  },
  "links": {
    "self": "/api/v1/properties-saved?page=10&limit=24",
    "first": "/api/v1/properties-saved?page=1&limit=24",
    "last": "/api/v1/properties-saved?page=16&limit=24",
    "next": "/api/v1/properties-saved?page=11&limit=24",
    "prev": "/api/v1/properties-saved?page=9&limit=24"
  }
}