example-data.com
Menu
Browse docs and collections

cars

cars

Page 8 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": 169,
      "make": "Hyundai",
      "model": "Elantra",
      "year": 2011,
      "trim": "LX",
      "vin": "E8PZ6K5WVCDAYZDC1",
      "color": "Gray",
      "mileage": 201740,
      "price": 66940,
      "currency": "USD",
      "transmission": "automatic",
      "fuelType": "gas",
      "bodyType": "hatchback",
      "listingType": "sale",
      "city": "Christstad",
      "region": "Rhode Island",
      "countryAlpha2": "ES",
      "sellerUserId": 18,
      "isSold": false,
      "createdAt": "2025-10-29T04:04:00.259Z",
      "updatedAt": "2026-05-03T17:19:44.404Z"
    },
    {
      "id": 170,
      "make": "Honda",
      "model": "HR-V",
      "year": 2018,
      "trim": null,
      "vin": "G2U5HEMM7U6G5EVZ0",
      "color": "Red",
      "mileage": 110760,
      "price": 92880,
      "currency": "USD",
      "transmission": "automatic",
      "fuelType": "hybrid",
      "bodyType": "suv",
      "listingType": "sale",
      "city": "Wisozkstead",
      "region": "Wyoming",
      "countryAlpha2": "IE",
      "sellerUserId": 133,
      "isSold": false,
      "createdAt": "2025-03-02T15:43:35.020Z",
      "updatedAt": "2025-07-27T16:50:40.038Z"
    },
    {
      "id": 171,
      "make": "BMW",
      "model": "3 Series",
      "year": 2010,
      "trim": "LX",
      "vin": "CJRW34AR5XDMJ8YN4",
      "color": "Beige",
      "mileage": 227389,
      "price": 52610,
      "currency": "USD",
      "transmission": "automatic",
      "fuelType": "electric",
      "bodyType": "suv",
      "listingType": "sale",
      "city": "West Gudrun",
      "region": "North Dakota",
      "countryAlpha2": "AE",
      "sellerUserId": 167,
      "isSold": false,
      "createdAt": "2026-02-06T14:19:05.166Z",
      "updatedAt": "2026-05-15T07:34:19.141Z"
    }
  ],
  "meta": {
    "page": 8,
    "limit": 24,
    "total": 200,
    "totalPages": 9
  },
  "links": {
    "self": "/api/v1/cars?page=8&limit=24",
    "first": "/api/v1/cars?page=1&limit=24",
    "last": "/api/v1/cars?page=9&limit=24",
    "next": "/api/v1/cars?page=9&limit=24",
    "prev": "/api/v1/cars?page=7&limit=24"
  }
}