example-data.com
Menu
Browse docs and collections

Overview

cars / #87

2010 Audi Q7

Audi

USD83070.00

automatic · hybrid · 249187 mi · Green

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 87,
  "make": "Audi",
  "model": "Q7",
  "year": 2010,
  "trim": "Touring",
  "vin": "VDVEAAFK15DPV9WXA",
  "color": "Green",
  "mileage": 249187,
  "price": 83070,
  "currency": "USD",
  "transmission": "automatic",
  "fuelType": "hybrid",
  "bodyType": "sedan",
  "listingType": "sale",
  "city": "Lake Dereckcester",
  "region": "Texas",
  "countryAlpha2": "ET",
  "sellerUserId": 11,
  "isSold": true,
  "createdAt": "2025-01-12T16:14:53.443Z",
  "updatedAt": "2025-12-16T21:07:43.153Z"
}