example-data.com
Menu
Browse docs and collections

cars

cars

Page 9 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": 193,
      "make": "Ford",
      "model": "Escape",
      "year": 2026,
      "trim": "Sport",
      "vin": "0F8W2SRMCG65S077U",
      "color": "Blue",
      "mileage": 4802,
      "price": 49360,
      "currency": "USD",
      "transmission": "automatic",
      "fuelType": "gas",
      "bodyType": "sedan",
      "listingType": "sale",
      "city": "West Darrellfield",
      "region": "Kentucky",
      "countryAlpha2": "BR",
      "sellerUserId": 155,
      "isSold": true,
      "createdAt": "2025-02-24T23:10:25.679Z",
      "updatedAt": "2025-08-05T20:05:17.370Z"
    },
    {
      "id": 194,
      "make": "Tesla",
      "model": "Model Y",
      "year": 2011,
      "trim": null,
      "vin": "PJ6LK94K6S857TF8H",
      "color": "Beige",
      "mileage": 203357,
      "price": 108390,
      "currency": "USD",
      "transmission": "automatic",
      "fuelType": "gas",
      "bodyType": "suv",
      "listingType": "sale",
      "city": "San Luis Obispo",
      "region": "Iowa",
      "countryAlpha2": "PK",
      "sellerUserId": 31,
      "isSold": false,
      "createdAt": "2026-02-26T17:30:22.109Z",
      "updatedAt": "2026-05-10T16:30:15.764Z"
    },
    {
      "id": 195,
      "make": "Audi",
      "model": "A6",
      "year": 2015,
      "trim": null,
      "vin": "9WC8R1NMZ7HH5TR1X",
      "color": "White",
      "mileage": 98859,
      "price": 8720,
      "currency": "USD",
      "transmission": "automatic",
      "fuelType": "gas",
      "bodyType": "suv",
      "listingType": "sale",
      "city": "Port Albinstead",
      "region": "Maryland",
      "countryAlpha2": "NZ",
      "sellerUserId": 114,
      "isSold": false,
      "createdAt": "2025-09-13T15:24:51.257Z",
      "updatedAt": "2025-10-02T14:06:05.074Z"
    }
  ],
  "meta": {
    "page": 9,
    "limit": 24,
    "total": 200,
    "totalPages": 9
  },
  "links": {
    "self": "/api/v1/cars?page=9&limit=24",
    "first": "/api/v1/cars?page=1&limit=24",
    "last": "/api/v1/cars?page=9&limit=24",
    "next": null,
    "prev": "/api/v1/cars?page=8&limit=24"
  }
}