instruments

Get an instrument

Changed on

Everything about one priced market group (instrument) in one call: its current prices, its daily price history over window, and a sample of its live listings. Costs 5 credits.

get/v2/instruments/{ref}

Request

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

Path parameters

ref, string required

The instrument's ref: a model-year: or squish: ref. Encode any slash in the ref as %2F.

Query parameters

window, '1w' | '1m' | '3m' | '6m' | 'ytd' | '1y' | '3y' | '5y' | '10y' | 'all'

How far back to go

Response

Current prices, daily history and a sample of live listings

InstrumentCard required
instrument, object required

The priced market group (instrument) this card is for

quote, object required

Current prices, as GET /v2/quotes/{ref} returns them

history, object[] required

One price bar per day over window, oldest first

listings, object[] required

A sample of the live listings, at most 120

links, object

Paths to related endpoints, ready to request, e.g. {"recalls": "/v2/recalls/entity/model-year:toyota/rav4/2021"}

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

    3 more changes in this revision