example-data.com
Menu
Browse docs and collections

Overview

cars / #23

2024 Chevrolet Suburban

Chevrolet

USD80.00

automatic · diesel · 38754 mi · Gray

Component variants

Related

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/cars/23" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/cars/23"
);
const car = 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 } from "./types/cars";

const res = await fetch(
  "https://example-data.com/api/v1/cars/23"
);
const car = (await res.json()) as Car;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/cars/23"
)
car = res.json()

Response

{
  "id": 23,
  "make": "Chevrolet",
  "model": "Suburban",
  "year": 2024,
  "trim": "EX",
  "vin": "WUA72YN8FD54K6J8X",
  "color": "Gray",
  "mileage": 38754,
  "price": 80,
  "currency": "USD",
  "transmission": "automatic",
  "fuelType": "diesel",
  "bodyType": "suv",
  "listingType": "rent",
  "city": "Burbank",
  "region": "Maine",
  "countryAlpha2": "DK",
  "sellerUserId": 228,
  "isSold": false,
  "createdAt": "2025-12-20T22:53:20.223Z",
  "updatedAt": "2026-04-13T14:24:15.588Z"
}