example-data.com
Menu
Browse docs and collections

cars

cars

Page 4 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": 73,
      "make": "Toyota",
      "model": "Tundra",
      "year": 2016,
      "trim": null,
      "vin": "AGDZRAKGN0MABWKEE",
      "color": "Brown",
      "mileage": 70975,
      "price": 109940,
      "currency": "USD",
      "transmission": "automatic",
      "fuelType": "gas",
      "bodyType": "truck",
      "listingType": "sale",
      "city": "North Kavonfort",
      "region": "Connecticut",
      "countryAlpha2": "PK",
      "sellerUserId": 81,
      "isSold": false,
      "createdAt": "2025-01-21T17:47:24.913Z",
      "updatedAt": "2025-06-02T01:51:14.929Z"
    },
    {
      "id": 74,
      "make": "Mercedes",
      "model": "AMG GT",
      "year": 2014,
      "trim": null,
      "vin": "53798PBF2V6N4MY7H",
      "color": "Beige",
      "mileage": 180220,
      "price": 82450,
      "currency": "USD",
      "transmission": "automatic",
      "fuelType": "gas",
      "bodyType": "truck",
      "listingType": "sale",
      "city": "Onastad",
      "region": "Nevada",
      "countryAlpha2": "MX",
      "sellerUserId": 103,
      "isSold": false,
      "createdAt": "2024-06-19T12:42:19.023Z",
      "updatedAt": "2025-05-31T07:18:07.591Z"
    },
    {
      "id": 75,
      "make": "Tesla",
      "model": "Model Y",
      "year": 2022,
      "trim": "Platinum",
      "vin": "4G03LVZ18LV9HN2FG",
      "color": "Silver",
      "mileage": 35673,
      "price": 66710,
      "currency": "USD",
      "transmission": "automatic",
      "fuelType": "gas",
      "bodyType": "hatchback",
      "listingType": "sale",
      "city": "East Estell",
      "region": "Pennsylvania",
      "countryAlpha2": "ZA",
      "sellerUserId": 244,
      "isSold": true,
      "createdAt": "2024-08-15T15:46:01.697Z",
      "updatedAt": "2025-01-27T11:33:20.031Z"
    }
  ],
  "meta": {
    "page": 4,
    "limit": 24,
    "total": 200,
    "totalPages": 9
  },
  "links": {
    "self": "/api/v1/cars?page=4&limit=24",
    "first": "/api/v1/cars?page=1&limit=24",
    "last": "/api/v1/cars?page=9&limit=24",
    "next": "/api/v1/cars?page=5&limit=24",
    "prev": "/api/v1/cars?page=3&limit=24"
  }
}