example-data.com
Menu
Browse docs and collections

Overview

cars / #34

2019 Mercedes GLC

Mercedes

USD91050.00

automatic · gas · 30534 mi · Yellow

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 34,
  "make": "Mercedes",
  "model": "GLC",
  "year": 2019,
  "trim": "Touring",
  "vin": "WUC1MNE8HE73P1TRZ",
  "color": "Yellow",
  "mileage": 30534,
  "price": 91050,
  "currency": "USD",
  "transmission": "automatic",
  "fuelType": "gas",
  "bodyType": "sedan",
  "listingType": "sale",
  "city": "New Mauricioberg",
  "region": "Missouri",
  "countryAlpha2": "ES",
  "sellerUserId": 32,
  "isSold": false,
  "createdAt": "2026-05-11T11:50:31.300Z",
  "updatedAt": "2026-05-11T21:28:53.998Z"
}