API reference
Instruments
Last updated:
Market symbology + instrument cards
- GET
/v2/instrumentsSymbology search / most-liquid browse - GET
/v2/instruments/{ref}The instrument card: quote + history + live sample - GET
/v2/instruments/{ref}/mileagePrice against odometer, projected to one car
/v2/instrumentssince 2026-07-30Symbology search / most-liquid browse
With `q`: typeahead over live instruments. Without: the most-liquid screener rows.
Query parameters
qstringoptionalTypeahead query (min 2 chars)
limitintegeroptionalRow cap
curl "https://api.cardog.app/v2/instruments?q=cr-v" \
-H "x-api-key: $CARDOG_API_KEY" \
-H "Cardog-Version: 2026-10-26"Response
200InstrumentSearchquerystring | nulloptionalitemsobject[]refstringlabelstringoptionalmakeNamestringoptionalsparknumber[]optionalDaily median prices for the trailing 45 days, oldest first. Intended for an inline sparkline.
median30dnumber | nulloptionalMedian price 30 days ago. Compare with median to get the 30-day change.
countintegerNumber of live listings for this instrument
bestnumber | nullLowest live asking price
p25number | null25th percentile of live asking prices
mediannumber | nullMedian live asking price
p75number | null75th percentile of live asking prices
avgDomnumber | nullAverage days on market across the live listings
cuts30dinteger | nullNumber of price cuts observed in the trailing 30 days
cutPct30dnumber | nullAverage price cut as a percentage, trailing 30 days
sightings30dinteger | nullNumber of listing observations in the trailing 30 days
linksobjectoptionalRelated resources, keyed by relation name, each a server-relative path. Example: {"recalls": "/v2/recalls/entity/model-year:toyota/rav4/2021"}
Example response
3 keysErrors400401402429500every non-2xx body is the error envelope
/v2/instruments/{ref}since 2026-07-30The instrument card: quote + history + live sample
Path parameters
refstringrequiredAn instrument ref (model-year: or squish:). Slashes in refs must be URL-encoded (%2F).
Query parameters
window"1w" | "1m" | "3m" | "6m" | "ytd" | "1y" | "3y" | "5y" | "10y" | "all"optionalHistory window
curl "https://api.cardog.app/v2/instruments/model-year:honda%2Fcr-v%2F2026?window=1y" \
-H "x-api-key: $CARDOG_API_KEY" \
-H "Cardog-Version: 2026-10-26"Response
200InstrumentCardinstrumentobjectrefstringgrain"mmy" | "mmy.drive" | "mmy.fuel" | "mmy.body" | "squish"Level of detail the instrument is priced at: "mmy" (model year), "mmy.drive", "mmy.fuel" or "mmy.body" (model year split by drive type, fuel type, or body style), or "squish" (exact configuration: WMI + VDS + model year, plant-agnostic)
labelstringoptionalquoteobjectrefstringRef of the instrument (the thing being priced: a model year or a squish), e.g. "model-year:honda/cr-v/2026"
grain"mmy" | "mmy.drive" | "mmy.fuel" | "mmy.body" | "squish"Level of detail the instrument is priced at: "mmy" (model year), "mmy.drive", "mmy.fuel" or "mmy.body" (model year split by drive type, fuel type, or body style), or "squish" (exact configuration: WMI + VDS + model year, plant-agnostic)
liveCountintegerNumber of live listings the quote is computed from. Treat it as the sample size.
bestPricenumber | nullLowest live asking price
priceP25number | null25th percentile of live asking prices
priceMediannumber | nullMedian live asking price
priceP75number | null75th percentile of live asking prices
avgDomDaysnumber | nullAverage days on market across the live listings
cuts30dinteger | nullNumber of price cuts observed in the trailing 30 days
avgCutPct30dnumber | nullAverage price cut as a percentage, trailing 30 days
sightings30dinteger | nullNumber of listing observations in the trailing 30 days
asOfstringWhen the quote was last computed (ISO 8601)
linksobjectoptionalRelated resources, keyed by relation name, each a server-relative path. Example: {"recalls": "/v2/recalls/entity/model-year:toyota/rav4/2021"}
historyobject[]daystringThe day this bar covers (ISO date, YYYY-MM-DD)
mediannumber | nullMedian asking price that day
p25number | null25th percentile of asking prices that day
p75number | null75th percentile of asking prices that day
bestnumber | nullLowest asking price that day
countinteger | nullNumber of live listings that day. Set on bars with source "fold".
printsinteger | nullNumber of price observations aggregated into the bar. Set on bars with source "prints".
sourcestringHow the bar was built: "fold" (a once-daily snapshot of live listings) or "prints" (built from individual price observations). Other values may be added.
listingsobject[]A capped sample of the current set of live listings for this instrument
vinstringpricenumberodometernumber | nulldomainstring | nulllistedAtstringListing date (ISO 8601)
scorenumber | nullsourceUristring | nulllinksobjectoptionalRelated resources, keyed by relation name, each a server-relative path. Example: {"recalls": "/v2/recalls/entity/model-year:toyota/rav4/2021"}
Example response
5 keysErrors400401402404429500every non-2xx body is the error envelope
/v2/instruments/{ref}/mileagesince 2026-11-22Price against odometer, projected to one car
Fits asking price on odometer across the instrument's live listings (Theil–Sen: the median pairwise slope, robust to mispriced listings) and projects the band to `km`: the fit there plus the quartiles of its residuals. Outside the sample's odometer range the projection is clamped and flagged `extrapolated`. With `lat`/`lng`, the local market around that point: rings from `radiusKm` widened until `minLocal` listings are inside, then the `province`, each price moved to `km` along the fit. `exclude` takes one VIN out of every statistic. Live retail asking prices only, never sales.
Path parameters
refstringrequiredA model-year or squish instrument ref. Slashes in refs must be URL-encoded (%2F).
Query parameters
kmintegerrequiredThe odometer to project to, kilometres
excludestringoptionalA VIN to leave out of every statistic
latnumberoptionalLatitude of the local read's centre
lngnumberoptionalLongitude of the local read's centre
provincestringoptionalTwo-letter province of that point: the widest ring, and the province index
radiusKmintegeroptionalThe first local radius, kilometres
minLocalintegeroptionalListings a local read needs
curl "https://api.cardog.app/v2/instruments/model-year:honda%2Fcr-v%2F2026/mileage?km=%7Bkm%7D" \
-H "x-api-key: $CARDOG_API_KEY" \
-H "Cardog-Version: 2026-10-26"Response
200InstrumentMileageinstrumentobjectrefstringgrain"mmy" | "mmy.drive" | "mmy.fuel" | "mmy.body" | "squish"Level of detail the instrument is priced at: "mmy" (model year), "mmy.drive", "mmy.fuel" or "mmy.body" (model year split by drive type, fuel type, or body style), or "squish" (exact configuration: WMI + VDS + model year, plant-agnostic)
basis"asking"Always live retail asking prices
asOfstringWhen the live sample was read (ISO 8601)
subjectobjectkmintegerexcludedbooleanTrue when the exclude VIN was in the sample and was taken out
sampleobjectnintegerLive listings read, after the erroneous-price floor and the exclusion
withOdometerintegerOf those, listings with a stated odometer of at least 1,000 km (the fit's points)
kmMinnumber | nullkmMaxnumber | nullmedianDaysListednumber | nullMedian days since the sample's listings first appeared
cutShare30dnumber | nullShare of the sample (0..1) whose price was cut in the trailing 30 days
avgCutPct30dnumber | nullAverage size of those cuts, percent
nationalobjectThe sample's asking-price quartiles at every odometer, unadjusted
nintegerp25number | nullmediannumber | nullp75number | nullfitobjectstatus"ok" | "thin" | "no_spread" | "no_slope"ok: a usable fit. thin: too few listings with an odometer. no_spread: the odometers sit too close together to measure a slope. no_slope: price does not fall with distance in this sample (a trim or condition mix outweighs it), so no slope is served.
method"theil-sen"nintegerslopePer1000Kmnumber | nullChange in asking price per 1,000 km, dollars (negative: price falls with distance)
interceptnumber | nullThe fit's asking price at 0 km, dollars
r2number | nullShare of the price variance the fit explains (0..1)
madPctnumber | nullMedian absolute residual as a percent of the median price
kmMinnumber | nullkmMaxnumber | nullprojectedobject | nullThe band at the asked odometer; null unless the fit is ok
kmintegerThe odometer asked for
atKmintegerThe odometer the band was projected to: km, clamped into the sample's range
extrapolatedbooleanTrue when km was outside the sample's range and was clamped
p25numbermediannumberp75numberlocalobject | nullThe local market around lat,lng; null without a point
status"ok" | "thin"radiusKminteger | nullThe ring that reached minLocal; null when the read fell back to the province
provincestring | nullmileageAdjustedbooleanTrue when each local price was moved to km along the fit before the quartiles
stepsobject[]Each ring tried, innermost first; null is the province
radiusKminteger | nullnintegernintegerp25number | nullmediannumber | nullp75number | nullprovinceobject | nullcodestringnintegermediannumber | nullindexnumber | nullThis instrument's median in the province over its national median, both at km when the fit is ok
trimsobject[]Trims as listed in the sample, most common first
trimstringnintegermediannumber | nullMedian asking price of the trim, moved to km along the fit when it is ok
pointsobject[]Up to 80 of the fit's points, for a sparkline
kmnumberpricenumberlinksobjectoptionalRelated resources, keyed by relation name, each a server-relative path. Example: {"recalls": "/v2/recalls/entity/model-year:toyota/rav4/2021"}
Example response
13 keysErrors400401402404429500every non-2xx body is the error envelope
Generated from the contract. Machine-readable spec: GET https://api.cardog.app/v2/openapi.json · markdown twin: /docs/reference/instruments.md
Was this helpful?