example-data.com
Menu
Browse docs and collections

Overview

cars / #170

2018 Honda HR-V

Honda

USD92880.00

automatic · hybrid · 110760 mi · Red

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 170,
  "make": "Honda",
  "model": "HR-V",
  "year": 2018,
  "trim": null,
  "vin": "G2U5HEMM7U6G5EVZ0",
  "color": "Red",
  "mileage": 110760,
  "price": 92880,
  "currency": "USD",
  "transmission": "automatic",
  "fuelType": "hybrid",
  "bodyType": "suv",
  "listingType": "sale",
  "city": "Wisozkstead",
  "region": "Wyoming",
  "countryAlpha2": "IE",
  "sellerUserId": 133,
  "isSold": false,
  "createdAt": "2025-03-02T15:43:35.020Z",
  "updatedAt": "2025-07-27T16:50:40.038Z"
}