Legacy v1

Market Analysis

Last updated:

API reference for vehicle market analysis and pricing insights.

Docs for the previous API generation. v1 endpoints keep working, but new work should target v2. See v2 Instruments reference.

The market analysis API returns vehicle pricing, market trends, and comparable listings. Use these endpoints to analyze market conditions, find similar vehicles, and get pricing guidance.

Get market overview

GET /v1/market/overview

Get market overview analytics across the entire vehicle database, including price distribution, make/model distribution, year distribution, and days on market.

Optional parameters

ParameterTypeDescription
activeOnlybooleanFilter to active listings only (default: true).
daysCutoffnumberMaximum age of listings to include in days.
maxTopMakesnumberMaximum number of top makes to return (default: 10).
maxTopModelsnumberMaximum number of top models per make to return (default: 5).
priceRangeMinnumberMinimum price for distribution buckets.
priceRangeMaxnumberMaximum price for distribution buckets.
priceRangeIncrementnumberPrice increment for distribution buckets.
curl https://api.cardog.app/v1/market/overview \
  -H "x-api-key: YOUR_API_KEY"
import { CardogClient } from "@cardog/api";

const client = new CardogClient({ apiKey: "your-api-key" });

// Get overall market pulse
const pulse = await client.market.pulse({
  priceRangeMin: 20000,
  priceRangeMax: 50000,
});

console.log(pulse.overview.totalListings);
console.log(pulse.overview.medianPrice);
import requests
response = requests.get('https://api.cardog.app/v1/market/overview',
  headers={'x-api-key': 'your-api-key'})
data = response.json()

Example

6 keys
"response": {
"overview": {
"totalListings": 331078,
"avgPrice": 47329,
"medianPrice": 41590,
"minPrice": -5999,
"maxPrice": 3350000,
"stdDev": 31037
},
"priceDistribution": [
0: {2 items},
1: {2 items},
2: {2 items}
],
"makeDistribution": [
0: {2 items},
1: {2 items},
2: {2 items}
],
"modelDistribution": {
"Ford": [2 items]
},
"yearDistribution": [
0: {2 items},
1: {2 items}
],
"daysOnMarketByPrice": [
0: {2 items},
1: {2 items}
]
}

Get market analysis by VIN

GET /v1/market/analysis/vin/:vin

Get market analysis for a specific vehicle by VIN, including similar listings, price analysis, market trends, and pricing guidance.

Required parameters

ParameterTypeDescription
vinstring17-character Vehicle Identification Number.

Optional parameters

ParameterTypeDescription
maxResultsnumberMaximum number of similar listings to return (default: 100).

Comparable listings are selected by the VIN's identity (the same make, model and model-year refs GET /v2/vin/{vin} returns). A VIN we cannot identify, or one with no active listings, returns 404 with the reason in message.

curl https://api.cardog.app/v1/market/analysis/vin/1HGCM82633A123456 \
  -H "x-api-key: YOUR_API_KEY"
import { CardogClient } from "@cardog/api";

const client = new CardogClient({ apiKey: "your-api-key" });

// Get comprehensive market analysis by VIN
const analysis = await client.market.analysis("1HGCM82633A123456");

console.log(analysis.priceAnalysis.median);
console.log(analysis.pricingGuidance.suggested);
console.log(analysis.similarListings.length);
import requests
response = requests.get('https://api.cardog.app/v1/market/analysis/vin/1HGCM82633A123456',
  headers={'x-api-key': 'your-api-key'})
data = response.json()

Example

4 keys
"response": {
"similarListings": [
0: {11 items}
],
"priceAnalysis": {
"count": 2,
"min": 2900,
"max": 4888,
"average": 3894,
"median": 3894,
"standardDev": 1406,
"priceDistribution": [2 items]
},
"marketTrends": {
"averageDaysOnMarket": 167,
"priceTrend": 0,
"listingVolume": 0
},
"pricingGuidance": {
"suggested": 3894,
"confidence": "low"
}
}

Get cohort overview

GET /v1/market/:make/:model/:year/overview

Get overview statistics for a specific make/model/year combination.

Required parameters

ParameterTypeDescription
makestringVehicle manufacturer.
modelstringVehicle model.
yearnumberVehicle model year.
curl https://api.cardog.app/v1/market/Honda/Accord/2020/overview \
  -H "x-api-key: YOUR_API_KEY"
import { CardogClient } from "@cardog/api";

const client = new CardogClient({ apiKey: "your-api-key" });

// Get market overview for a specific vehicle
const overview = await client.market.overview("Honda", "Accord", 2020);

console.log(overview.totalListings);  // 80
console.log(overview.medianPrice);    // 27996
console.log(overview.avgDaysOnMarket); // 131
import requests
response = requests.get('https://api.cardog.app/v1/market/Honda/Accord/2020/overview',
  headers={'x-api-key': 'your-api-key'})
data = response.json()

Example

10 keys
"response": {
"vehicle": "2020 Honda Accord",
"totalListings": 80,
"avgPrice": 27768,
"medianPrice": 27996,
"minPrice": 17990,
"maxPrice": 34888,
"q1Price": 25882,
"q3Price": 30548,
"avgDaysOnMarket": 131,
"avgOdometer": 88045
}

Get price distribution

GET /v1/market/:make/:model/:year/pricing

Get the price distribution for a specific make/model/year combination.

Required parameters

ParameterTypeDescription
makestringVehicle manufacturer.
modelstringVehicle model.
yearnumberVehicle model year.
curl https://api.cardog.app/v1/market/Honda/Accord/2020/pricing \
  -H "x-api-key: YOUR_API_KEY"
import { CardogClient } from "@cardog/api";

const client = new CardogClient({ apiKey: "your-api-key" });

// Get price distribution
const pricing = await client.market.pricing("Honda", "Accord", 2020);

for (const bucket of pricing.distribution) {
  console.log(`${bucket.bucketMin}-${bucket.bucketMax}: ${bucket.count} listings`);
}
import requests
response = requests.get('https://api.cardog.app/v1/market/Honda/Accord/2020/pricing',
  headers={'x-api-key': 'your-api-key'})
data = response.json()

Example

1 keys
"response": {
"distribution": [
0: {4 items},
1: {4 items},
2: {4 items},
3: {4 items}
]
}

Get odometer analysis

GET /v1/market/:make/:model/:year/odometer

Get odometer-based analysis showing price trends across different mileage segments.

Required parameters

ParameterTypeDescription
makestringVehicle manufacturer.
modelstringVehicle model.
yearnumberVehicle model year.
curl https://api.cardog.app/v1/market/Honda/Accord/2020/odometer \
  -H "x-api-key: YOUR_API_KEY"
import { CardogClient } from "@cardog/api";

const client = new CardogClient({ apiKey: "your-api-key" });

// Get odometer vs price analysis
const odometer = await client.market.odometer("Honda", "Accord", 2020);

for (const segment of odometer.segments) {
  console.log(`${segment.odometerMin}-${segment.odometerMax}km: $${segment.avgPrice}`);
}
import requests
response = requests.get('https://api.cardog.app/v1/market/Honda/Accord/2020/odometer',
  headers={'x-api-key': 'your-api-key'})
data = response.json()

Example

1 keys
"response": {
"segments": [
0: {7 items},
1: {7 items},
2: {7 items}
]
}

Get geographic analysis

GET /v1/market/:make/:model/:year/geography

Get geographic market analysis showing price and listing distribution by region.

Required parameters

ParameterTypeDescription
makestringVehicle manufacturer.
modelstringVehicle model.
yearnumberVehicle model year.
curl https://api.cardog.app/v1/market/Honda/Accord/2020/geography \
  -H "x-api-key: YOUR_API_KEY"
import { CardogClient } from "@cardog/api";

const client = new CardogClient({ apiKey: "your-api-key" });

// Get geographic market breakdown
const geography = await client.market.geography("Honda", "Accord", 2020);

for (const market of geography.markets) {
  console.log(`${market.state}: ${market.listings} listings, avg $${market.avgPrice}`);
}
import requests
response = requests.get('https://api.cardog.app/v1/market/Honda/Accord/2020/geography',
  headers={'x-api-key': 'your-api-key'})
data = response.json()

Example

1 keys
"response": {
"markets": [
0: {8 items},
1: {8 items},
2: {8 items}
]
}

GET /v1/market/:make/:model/:year/trends

Get time-series market trends showing price changes and listing volume over time.

Required parameters

ParameterTypeDescription
makestringVehicle manufacturer.
modelstringVehicle model.
yearnumberVehicle model year.

Optional parameters

ParameterTypeDescription
periodstringTime period for trends: "week" or "month" (default: "week").
curl "https://api.cardog.app/v1/market/Honda/Accord/2020/trends?period=week" \
  -H "x-api-key: YOUR_API_KEY"
import { CardogClient } from "@cardog/api";

const client = new CardogClient({ apiKey: "your-api-key" });

// Get market trends over time
const trends = await client.market.trends("Honda", "Accord", 2020, "week");

for (const point of trends.trends) {
  console.log(`${point.period}: $${point.avgPrice} (${point.priceChangePct}%)`);
}
import requests
response = requests.get('https://api.cardog.app/v1/market/Honda/Accord/2020/trends',
  params={'period': 'week'}, headers={'x-api-key': 'your-api-key'})
data = response.json()

Example

2 keys
"response": {
"trends": [
0: {5 items},
1: {5 items},
2: {5 items}
],
"period": "week"
}

Get listing market position

GET /v1/market/listings/:listingId/position

Get market position analysis for a specific listing, including price percentile and market comparison.

Required parameters

ParameterTypeDescription
listingIdstringUnique identifier for the listing.
curl https://api.cardog.app/v1/market/listings/f963c769-9a9a-436c-8edf-e478ecea3c6c/position \
  -H "x-api-key: YOUR_API_KEY"
import { CardogClient } from "@cardog/api";

const client = new CardogClient({ apiKey: "your-api-key" });

// Get market position for a specific listing
const position = await client.market.position("f963c769-9a9a-436c-8edf-e478ecea3c6c");

console.log(position.pricecategory);   // "Great Deal"
console.log(position.pricepercentile); // 50.0
console.log(position.pricevsmedian);   // -994
import requests
response = requests.get('https://api.cardog.app/v1/market/listings/f963c769-9a9a-436c-8edf-e478ecea3c6c/position',
  headers={'x-api-key': 'your-api-key'})
data = response.json()

Example

11 keys
"response": {
"id": "f963c769-9a9a-436c-8edf-e478ecea3c6c",
"price": 2900,
"odometer": 102695,
"trim": "EX",
"daysonmarket": "164",
"city": "Whitby",
"state": "ON",
"pricepercentile": "50.0",
"pricevsmedian": -994,
"pricecategory": "Great Deal",
"marketaverage": "3894"
}

Get trim breakdown

GET /v1/market/:make/:model/:year/breakdown

Get a trim-level breakdown for a specific make/model/year, including per-trim pricing statistics, odometer averages, days on market, and price comparison vs market average.

Required parameters

ParameterTypeDescription
makestringVehicle manufacturer.
modelstringVehicle model.
yearnumberVehicle model year.
curl https://api.cardog.app/v1/market/Honda/Accord/2020/breakdown \
  -H "x-api-key: YOUR_API_KEY"
import { CardogClient } from "@cardog/api";

const client = new CardogClient({ apiKey: "your-api-key" });

const breakdown = await client.market.breakdown("Honda", "Accord", 2020);

for (const trim of breakdown.trims) {
  console.log(`${trim.trim}: ${trim.count} listings, avg $${trim.avgPrice}`);
}
import requests
response = requests.get('https://api.cardog.app/v1/market/Honda/Accord/2020/breakdown',
  headers={'x-api-key': 'your-api-key'})
data = response.json()

Example

4 keys
"response": {
"vehicle": "2020 Honda Accord",
"totalListings": 80,
"overview": {
"avgPrice": 27768,
"medianPrice": 27996,
"minPrice": 17990,
"maxPrice": 34888
},
"trims": [
0: {9 items},
1: {9 items},
2: {9 items}
]
}

Get similar listings

GET /v1/market/listings/:listingId/similar

Get similar vehicle listings based on the characteristics of a specific listing.

Required parameters

ParameterTypeDescription
listingIdstringUnique identifier for the listing.

Optional parameters

ParameterTypeDescription
limitnumberMaximum number of similar listings to return (default: 10, max: 50).
curl "https://api.cardog.app/v1/market/listings/f963c769-9a9a-436c-8edf-e478ecea3c6c/similar?limit=5" \
  -H "x-api-key: YOUR_API_KEY"
import { CardogClient } from "@cardog/api";

const client = new CardogClient({ apiKey: "your-api-key" });

// Find similar listings
const similar = await client.market.similar("f963c769-9a9a-436c-8edf-e478ecea3c6c", 5);

for (const listing of similar.listings) {
  console.log(`${listing.year} ${listing.make} ${listing.model} - $${listing.price}`);
}
import requests
response = requests.get('https://api.cardog.app/v1/market/listings/f963c769-9a9a-436c-8edf-e478ecea3c6c/similar',
  params={'limit': 5}, headers={'x-api-key': 'your-api-key'})
data = response.json()

Example

3 keys
"response": {
"listings": [
],
"count": 0,
"requestedLimit": 5
}

Was this helpful?