Legacy v1
Market Analysis
Last updated:
API reference for vehicle market analysis and pricing insights.
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
| Parameter | Type | Description |
|---|---|---|
activeOnly | boolean | Filter to active listings only (default: true). |
daysCutoff | number | Maximum age of listings to include in days. |
maxTopMakes | number | Maximum number of top makes to return (default: 10). |
maxTopModels | number | Maximum number of top models per make to return (default: 5). |
priceRangeMin | number | Minimum price for distribution buckets. |
priceRangeMax | number | Maximum price for distribution buckets. |
priceRangeIncrement | number | Price 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 keysGet 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
| Parameter | Type | Description |
|---|---|---|
vin | string | 17-character Vehicle Identification Number. |
Optional parameters
| Parameter | Type | Description |
|---|---|---|
maxResults | number | Maximum 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 keysGet cohort overview
GET /v1/market/:make/:model/:year/overview
Get overview statistics for a specific make/model/year combination.
Required parameters
| Parameter | Type | Description |
|---|---|---|
make | string | Vehicle manufacturer. |
model | string | Vehicle model. |
year | number | Vehicle 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); // 131import 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 keysGet price distribution
GET /v1/market/:make/:model/:year/pricing
Get the price distribution for a specific make/model/year combination.
Required parameters
| Parameter | Type | Description |
|---|---|---|
make | string | Vehicle manufacturer. |
model | string | Vehicle model. |
year | number | Vehicle 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 keysGet odometer analysis
GET /v1/market/:make/:model/:year/odometer
Get odometer-based analysis showing price trends across different mileage segments.
Required parameters
| Parameter | Type | Description |
|---|---|---|
make | string | Vehicle manufacturer. |
model | string | Vehicle model. |
year | number | Vehicle 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 keysGet geographic analysis
GET /v1/market/:make/:model/:year/geography
Get geographic market analysis showing price and listing distribution by region.
Required parameters
| Parameter | Type | Description |
|---|---|---|
make | string | Vehicle manufacturer. |
model | string | Vehicle model. |
year | number | Vehicle 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 keysGet market trends
GET /v1/market/:make/:model/:year/trends
Get time-series market trends showing price changes and listing volume over time.
Required parameters
| Parameter | Type | Description |
|---|---|---|
make | string | Vehicle manufacturer. |
model | string | Vehicle model. |
year | number | Vehicle model year. |
Optional parameters
| Parameter | Type | Description |
|---|---|---|
period | string | Time 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 keysGet 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
| Parameter | Type | Description |
|---|---|---|
listingId | string | Unique 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); // -994import 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 keysGet 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
| Parameter | Type | Description |
|---|---|---|
make | string | Vehicle manufacturer. |
model | string | Vehicle model. |
year | number | Vehicle 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 keysGet similar listings
GET /v1/market/listings/:listingId/similar
Get similar vehicle listings based on the characteristics of a specific listing.
Required parameters
| Parameter | Type | Description |
|---|---|---|
listingId | string | Unique identifier for the listing. |
Optional parameters
| Parameter | Type | Description |
|---|---|---|
limit | number | Maximum 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 keysWas this helpful?