example-data.com
Menu
Browse docs and collections

Overview

cars / #17

2026 Nissan Rogue

Nissan

USD11590.00

automatic · gas · 51 mi · Green

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 17,
  "make": "Nissan",
  "model": "Rogue",
  "year": 2026,
  "trim": null,
  "vin": "48SCRJL8HPF54Y9X6",
  "color": "Green",
  "mileage": 51,
  "price": 11590,
  "currency": "USD",
  "transmission": "automatic",
  "fuelType": "gas",
  "bodyType": "coupe",
  "listingType": "sale",
  "city": "Wittingfort",
  "region": "Wyoming",
  "countryAlpha2": "NG",
  "sellerUserId": 123,
  "isSold": false,
  "createdAt": "2025-06-10T08:25:31.138Z",
  "updatedAt": "2025-09-03T22:42:50.680Z"
}