example-data.com
Menu
Browse docs and collections

cars-saved

cars-saved

Page 17 of 17.

Overview

Request

curl example

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

JavaScript example

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

TypeScript example

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

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

Python example

import requests

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

Response

{
  "data": [
    {
      "id": 385,
      "userId": 240,
      "carId": 134,
      "savedAt": "2025-10-13T15:34:08.225Z"
    },
    {
      "id": 386,
      "userId": 241,
      "carId": 111,
      "savedAt": "2026-01-13T04:26:20.334Z"
    },
    {
      "id": 387,
      "userId": 241,
      "carId": 180,
      "savedAt": "2024-06-09T13:51:45.230Z"
    }
  ],
  "meta": {
    "page": 17,
    "limit": 24,
    "total": 400,
    "totalPages": 17
  },
  "links": {
    "self": "/api/v1/cars-saved?page=17&limit=24",
    "first": "/api/v1/cars-saved?page=1&limit=24",
    "last": "/api/v1/cars-saved?page=17&limit=24",
    "next": null,
    "prev": "/api/v1/cars-saved?page=16&limit=24"
  }
}