example-data.com
Menu
Browse docs and collections

cars

cars

Page 7 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": 145,
      "make": "Chevrolet",
      "model": "Traverse",
      "year": 2017,
      "trim": "Platinum",
      "vin": "H1DHZXTV07Z7VVM4E",
      "color": "Yellow",
      "mileage": 45269,
      "price": 114500,
      "currency": "USD",
      "transmission": "automatic",
      "fuelType": "hybrid",
      "bodyType": "truck",
      "listingType": "sale",
      "city": "West Margret",
      "region": "Alaska",
      "countryAlpha2": "PL",
      "sellerUserId": 181,
      "isSold": false,
      "createdAt": "2025-09-27T07:08:31.139Z",
      "updatedAt": "2026-05-09T08:40:37.464Z"
    },
    {
      "id": 146,
      "make": "Toyota",
      "model": "Highlander",
      "year": 2015,
      "trim": null,
      "vin": "MKRK6K352JDNVTGEC",
      "color": "White",
      "mileage": 99611,
      "price": 98920,
      "currency": "USD",
      "transmission": "cvt",
      "fuelType": "gas",
      "bodyType": "hatchback",
      "listingType": "sale",
      "city": "Collierstad",
      "region": "West Virginia",
      "countryAlpha2": "KE",
      "sellerUserId": 118,
      "isSold": false,
      "createdAt": "2025-02-20T03:22:33.988Z",
      "updatedAt": "2025-06-15T21:55:33.835Z"
    },
    {
      "id": 147,
      "make": "Nissan",
      "model": "Altima",
      "year": 2021,
      "trim": "SE",
      "vin": "C5NM5RG2TD3168TMB",
      "color": "Yellow",
      "mileage": 50803,
      "price": 85110,
      "currency": "USD",
      "transmission": "automatic",
      "fuelType": "diesel",
      "bodyType": "truck",
      "listingType": "sale",
      "city": "Adelafurt",
      "region": "Illinois",
      "countryAlpha2": "SA",
      "sellerUserId": 93,
      "isSold": false,
      "createdAt": "2025-02-28T03:59:19.376Z",
      "updatedAt": "2025-06-23T21:00:37.779Z"
    }
  ],
  "meta": {
    "page": 7,
    "limit": 24,
    "total": 200,
    "totalPages": 9
  },
  "links": {
    "self": "/api/v1/cars?page=7&limit=24",
    "first": "/api/v1/cars?page=1&limit=24",
    "last": "/api/v1/cars?page=9&limit=24",
    "next": "/api/v1/cars?page=8&limit=24",
    "prev": "/api/v1/cars?page=6&limit=24"
  }
}