listings

Get a listing by VIN

Changed on

The listing for a VIN, with the vehicle, the seller and the model's specs. Same response as GET /v2/vin/{vin}/listings. 404 when we have no listing for the VIN. Costs 1 credit.

get/v2/listings/vin/{vin}

Request

  • Base URL
    https://api.cardog.app
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

vin, string required

17-character VIN

Response

The listing; spec is null when the listing is not matched to a model

ListingDetail required
id, string required

The listing ID

vin, string required

The vehicle's VIN

price, number required

Asking price, in currency

currency, string

Currency code, e.g. "CAD" or "USD"

odometer, number nullable

Odometer reading, as the seller listed it

year, integer required

Model year

make, string required

Make name to show

model, string required

Model name to show

trim, string nullable

Trim, as listed

makeRef, string nullable

The make ID, e.g. "make:toyota"

modelRef, string nullable

The model ID, e.g. "model:toyota/rav4"

nano, string nullable

The build code (see nano on the VIN decode)

media, object[]

Photos from the listing

variant, object nullable required

The factory configuration this listing matches. Null when not matched.

spec, object nullable required

The full spec sheet for that configuration, keyed by attribute ID. Null when not matched.

Changes

    • info

      added the optional property requestId to the response with the status

    • info

      added the optional property requestId to the response with the status

    • info

      added the optional property requestId to the response with the status

    2 more changes in this revision