The Popular Cars API identifies the best-performing make-model combinations in the automotive market based on unit sales volume over the last 90 days. This powerful tool provides insights into consumer preferences and market trends by analyzing actual sales data across different geographic regions.
The API ranks vehicles by sales volume from highest to lowest, providing a clear picture of market demand and popularity. Data is regenerated monthly using the same 90-day rolling period as other market insight APIs, ensuring consistency and freshness of information.
This API delivers popularity rankings at multiple geographic levels:
The API supports both new and used vehicle markets, allowing you to understand popularity trends across different inventory types. This enables dealers, manufacturers, and market analysts to identify high-demand vehicles, understand regional preferences, and make informed decisions about inventory planning and marketing strategies.
GET https://api.marketcheck.com/v2/popular/cars
The following example demonstrates how to use the Popular Cars API to identify the most popular vehicle make-model combinations based on sales volume.
import axios from 'axios';
const options = {
method: 'GET',
url: 'https://api.marketcheck.com/v2/sales/car',
params: {api_key: 'YOUR_API_KEY', car_type: 'new'},
headers: {Accept: 'application/json'}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
The Popular Cars API requires you to specify the inventory type to generate meaningful popularity rankings. You can analyze popularity at different geographic levels, from national trends to city-specific preferences.
Your MarketCheck API authentication key. Required for every request, unless OAuth is used.
Inventory status for popular cars statistics. Allowed values — new
, used
. Required.
Filters popular cars statistics by US state code. 2-letter code (e.g., FL
, CA
).
City and state for popular cars statistics, pipe-separated (e.g., jacksonville|FL
).
Country for popular car queries (us
or ca
). Default — us
.
US
, but can be set to CA
for Canadian market analysisnew
, used
car_type=used
returns the most popular used vehiclesCA
for California, ON
for Ontario)state=TX
returns the most popular vehicles in Texascity_name|STATE_CODE
state
parameter if both are providedcity_state=Miami|FL
returns popular vehicles in Miami, FloridaUS
, CA
US
if not specifiedinterface PopularCarsResponse {
country: string; // Country code (e.g., "US", "CA")
count: number; // Number of vehicles sold (sales volume)
make: string; // Vehicle manufacturer
model: string; // Vehicle model
price_stats: Stats; // Price statistics for the make-model combination
miles_stats: Stats; // Mileage statistics for the make-model combination
dom_stats: Stats; // Days on market statistics for the make-model combination
}
interface Stats {
geometric_mean: number; // Geometric mean of the dataset
listings_count: number; // Number of listings included in the statistics
min: number; // Minimum value
median: number; // Median value
population_standard_deviation: number; // Population standard deviation
variance: number; // Variance of the dataset
max: number; // Maximum value
mean: number; // Arithmetic mean
trimmed_mean: number; // Mean with outliers removed
standard_deviation: number; // Sample standard deviation
iqr: number; // Interquartile range (Q3 - Q1)
}
200 OK
- Returns an array of popular vehicle objects ranked by sales volumecount
(sales volume) in descending orderStatus Code | Description | Common Causes |
---|---|---|
400 | Bad Request | Missing car_type parameter or invalid values |
401 | Unauthorized | Missing/invalid API key |
403 | Forbidden | Access denied to resource |
422 | Unprocessable Entity | Invalid parameter combination |
429 | Too Many Requests | Rate limit exceeded |
500 | Internal Server Error | Temporary server issues |
502 | Bad Gateway | Issues with upstream services |
503 | Service Unavailable | API maintenance or downtime |
Error Response Format
Most error responses follow this structure, except for 502 and 503 errors:
{
"code": <HTTP status code>,
"message": "<Error message describing the issue>"
}
Analyze the most popular vehicles across the entire country to understand overall market trends and consumer preferences. This is valuable for manufacturers, national dealers, and market researchers.
The API returns the top 50 most popular make-model combinations nationally, ranked by sales volume.
Example:
import axios from 'axios';
const options = {
method: 'GET',
url: 'https://api.marketcheck.com/v2/sales/car',
params: {api_key: 'YOUR_API_KEY', car_type: 'used', country: 'US'},
headers: {Accept: 'application/json'}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
Understand regional preferences by analyzing the most popular vehicles within specific states. This helps identify regional market variations and tailor inventory strategies accordingly.
Use the state
parameter to get state-specific popularity rankings.
Example:
import axios from 'axios';
const options = {
method: 'GET',
url: 'https://api.marketcheck.com/v2/sales/car',
params: {api_key: 'YOUR_API_KEY', car_type: 'new', state: 'UT'},
headers: {Accept: 'application/json'}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
Get granular insights into local market preferences by analyzing popularity at the city level. This is particularly valuable for dealers operating in specific metropolitan areas.
The API returns the top 25 most popular vehicles for city-level queries.
city_state
or state
parameter, not both. The city_state
parameter takes precedence and includes state information.Example:
import axios from 'axios';
const options = {
method: 'GET',
url: 'https://api.marketcheck.com/v2/sales/car',
params: {api_key: 'YOUR_API_KEY', car_type: 'used', city_state: 'Los Angeles|CA'},
headers: {Accept: 'application/json'}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
Analyze vehicle popularity in the Canadian market by setting the country parameter to CA
. This helps understand market differences between US and Canadian consumers.
Example:
import axios from 'axios';
const options = {
method: 'GET',
url: 'https://api.marketcheck.com/v2/sales/car',
params: {api_key: 'YOUR_API_KEY', car_type: 'new', country: 'CA'},
headers: {Accept: 'application/json'}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}