example-data.com
Menu
Browse docs and collections

Overview

cars / #99

2020 Mercedes E-Class

Mercedes

USD27010.00

manual · electric · 65769 mi · Beige

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 99,
  "make": "Mercedes",
  "model": "E-Class",
  "year": 2020,
  "trim": "Touring",
  "vin": "HCF6S0P68GMYLYTCC",
  "color": "Beige",
  "mileage": 65769,
  "price": 27010,
  "currency": "USD",
  "transmission": "manual",
  "fuelType": "electric",
  "bodyType": "coupe",
  "listingType": "sale",
  "city": "Port Robertafort",
  "region": "Louisiana",
  "countryAlpha2": "US",
  "sellerUserId": 5,
  "isSold": false,
  "createdAt": "2025-07-12T09:23:18.375Z",
  "updatedAt": "2025-12-28T22:30:06.512Z"
}