example-data.com
Menu
Browse docs and collections

cars

cars

Page 6 of 9.

Overview

Request

curl example

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

JavaScript example

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

TypeScript example

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

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

Python example

import requests

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

Response

{
  "data": [
    {
      "id": 121,
      "make": "Honda",
      "model": "HR-V",
      "year": 2017,
      "trim": "Sport",
      "vin": "P3NP503BPLV90NT64",
      "color": "Silver",
      "mileage": 92283,
      "price": 27470,
      "currency": "USD",
      "transmission": "automatic",
      "fuelType": "gas",
      "bodyType": "hatchback",
      "listingType": "sale",
      "city": "Irvingmouth",
      "region": "Iowa",
      "countryAlpha2": "EG",
      "sellerUserId": 52,
      "isSold": false,
      "createdAt": "2024-11-06T23:42:14.551Z",
      "updatedAt": "2024-11-09T13:05:33.430Z"
    },
    {
      "id": 122,
      "make": "Tesla",
      "model": "Cybertruck",
      "year": 2022,
      "trim": null,
      "vin": "NWA85NV7GNC5J72G7",
      "color": "Gray",
      "mileage": 76641,
      "price": 50,
      "currency": "USD",
      "transmission": "automatic",
      "fuelType": "gas",
      "bodyType": "sedan",
      "listingType": "rent",
      "city": "North Mitchell",
      "region": "Minnesota",
      "countryAlpha2": "TH",
      "sellerUserId": 58,
      "isSold": false,
      "createdAt": "2025-03-22T19:20:34.728Z",
      "updatedAt": "2025-08-27T09:04:28.804Z"
    },
    {
      "id": 123,
      "make": "Ford",
      "model": "Maverick",
      "year": 2024,
      "trim": null,
      "vin": "LBKFVTWJWMK83XZAU",
      "color": "Black",
      "mileage": 10745,
      "price": 104590,
      "currency": "USD",
      "transmission": "automatic",
      "fuelType": "gas",
      "bodyType": "coupe",
      "listingType": "sale",
      "city": "Zulaufchester",
      "region": "Washington",
      "countryAlpha2": "PH",
      "sellerUserId": 178,
      "isSold": false,
      "createdAt": "2024-06-09T11:44:55.308Z",
      "updatedAt": "2025-10-04T16:39:48.971Z"
    }
  ],
  "meta": {
    "page": 6,
    "limit": 24,
    "total": 200,
    "totalPages": 9
  },
  "links": {
    "self": "/api/v1/cars?page=6&limit=24",
    "first": "/api/v1/cars?page=1&limit=24",
    "last": "/api/v1/cars?page=9&limit=24",
    "next": "/api/v1/cars?page=7&limit=24",
    "prev": "/api/v1/cars?page=5&limit=24"
  }
}