example-data.com
Menu
Browse docs and collections

Overview

cars / #72

2022 Audi RS6

Audi

USD210.00

manual · hybrid · 41926 mi · Beige

Component variants

Related

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/cars/72"
);
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/72"
);
const car = (await res.json()) as Car;

Python example

import requests

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

Response

{
  "id": 72,
  "make": "Audi",
  "model": "RS6",
  "year": 2022,
  "trim": "LX",
  "vin": "BH2RERBSUT2G9V3ST",
  "color": "Beige",
  "mileage": 41926,
  "price": 210,
  "currency": "USD",
  "transmission": "manual",
  "fuelType": "hybrid",
  "bodyType": "truck",
  "listingType": "rent",
  "city": "Newtonburgh",
  "region": "Indiana",
  "countryAlpha2": "NL",
  "sellerUserId": 225,
  "isSold": false,
  "createdAt": "2025-11-09T20:49:46.956Z",
  "updatedAt": "2025-12-20T03:56:37.894Z"
}