Past Inventory Search

Access expired and sold dealer listings from the past 90 days with comprehensive filtering, sorting, analytics, and geographic targeting capabilities.

The Past Inventory Search API provides access to expired and inferred sold dealer listings from the past 90 days across United States and Canadian markets. This powerful historical dataset has recent inventory data from thousands of dealerships, delivering access to approximately 250 million expired records for advanced market analysis.

With sophisticated filtering, sorting, and analytics capabilities identical to the Inventory Search API, this tool enables dealers, analysts, and automotive professionals to understand market trends, analyze pricing history, track inventory turnover, and gain insights into sales patterns and dealer performance.

Overview

  • Access a comprehensive dataset of approximately 250 million expired and sold dealer listings from the past 90 days
  • Inferred sales data for sold vehicles, where the sale is attributed to a specific source and VIN. Read more about Inferred Sales
  • De-duplication of listings by VIN, with options to include all listings for a VIN across all sources. Read more about Understanding Attribution
  • Data updates are published daily, at the same time as the Inventory Search API, by 11:00 AM UTC
  • Follows same interface conventions, so units and conventions are also consistent with the Inventory Search API

Key Differences from Active Inventory:

  • Historical Data Only: This API exclusively returns expired listings from the past 90 days
  • Inferred Sales: Includes sophisticated sold vehicle identification and attribution
  • Performance Restrictions: Geographic or dealer scoping required due to large data volume
  • Analytical Focus: Optimized for market trend analysis and dealer performance tracking

Attribution & Sold Listings:

  • A VIN (by extension, a vehicle) can have multiple listings over time at a single source website. Refer to Listing Lifecycle for understanding how listings are created, updated, and expired
  • By default, only one listing per VIN is returned across all sources to avoid duplicates, unless you're searching within a specific dealer's past inventory (using source or dealer_id like parameters). Refer to Understanding Attribution for more details
  • To include all listings for a VIN, you can use the nodedup=true parameter, which will return all listings for a VIN across all sources, including duplicates from the same source
  • For a sold vehicle/VIN, its attributed (i.e. searchable) listing is marked as sold, to ensure correct attribution of sale as well
  • Refer to Inferred Sales for more details on how sales are inferred and attributed
  • All sold listings are expired listings, but not all expired listings are sold. Expired listings VINs can be active in the market, with new listing created for the same VIN at a later date

Performance Restrictions:

Given the large volume of data, the endpoint has some performance restrictions:

  • Request must include at least one of the following parameters: city, state, zip, latitude & longitude, radius, dealer_id, source to limit the search scope
  • Only one of facets, stats, or range_facets parameters can be used per request
  • Only one field allowed per facet/stats per request
  • Maximum allowed radius is smaller of 100 miles or your subscription's maximum radius

Default behavior, currency and units, request/response structure, and filtering parameters match those in the Inventory Search API overview.

Base Path

GET https://api.marketcheck.com/v2/search/car/recents

The following example demonstrates a basic search request with common parameters:

request.js
import axios from 'axios';

const options = {
method: 'GET',
url: 'https://api.marketcheck.com/v2/search/car/recents',
params: {
api_key: 'YOUR_API_KEY',
car_type: 'used',
state: 'CA',
sold: 'true',
year: '2023',
make: 'toyota',
rows: '2'
},
headers: {Accept: 'application/json'}
};

try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}

Explore the full range of parameters available for filtering, sorting, and configuring search results in the Request section below.

Request

The Past Inventory Search API provides extensive filtering and search capabilities for historical automotive inventory listings. You can search by vehicle specifications, geographic location, pricing ranges, dealer types, date ranges, and numerous other criteria to analyze expired and sold vehicles.

All filtering, sorting, analytics, and pagination capabilities match those in the Inventory Search API, with additional parameters specific to historical data analysis.

Parameters

112 Params
active_inventory_date_range
string

Filters listings active at least once within the specified date range. Specify as YYYYMMDD-YYYYMMDD (e.g., 20190523-20190623).

api_key
string required

Your MarketCheck API authentication key. Required for every request, unless OAuth is used.

append_api_key
boolean

If true, the response URLs (such as cached images & relevant links) include the api_key query parameter along with value; if false, they do not. Default — true.

base_ext_color
string

The base exterior color to filter results by (e.g. White, Black, Blue, Silver, Red). Accepts multiple colors as a comma-separated list.

base_exterior_color
string

Alias for base_ext_color. Filters by base exterior color (comma-separated list).

base_int_color
string

The base interior color to filter results by (e.g. Black, Brown, Beige, Red). Accepts multiple colors as a comma-separated list.

base_interior_color
string

Alias for base_int_color. Filters by base interior color (comma-separated list).

body_subtype
string

Filters listings by body subtype (e.g., Crew, Extended, Regular, Extended Crew). Accepts multiple values separated by commas.

body_type
string

Filters listings by body type (e.g., SUV, Pickup, Sedan, Hatchback, Convertible). Accepts multiple values separated by commas.

car_type
string

Filters listings by inventory type. Allowed values - new, used, certified.

carfax_1_owner
boolean

If true, returns only vehicles with a single previous owner; if false or omitted, no ownership filter is applied. Default — false.

carfax_clean_title
boolean

If true, returns only vehicles with a clean title history; if false or omitted, no title filter is applied. Default — false.

city
string

Filters listings by city name (e.g. Los Angeles, San Francisco, Houston).

city_mpg_range
string

Filters listings by city fuel-economy mileage. Specify as min-max MPG (e.g., 20-35).

country
string

Filters listings by country code. Allowed values - us, ca, all. Default — us.

cylinders
string

Filters listings by engine cylinder count (e.g., 4, 6, 8). Accepts multiple values as a comma-separated list.

dealer_id
string

Filters listings by MarketCheck dealer ID.

dealer_name
string

Filters listings by dealer name (case-insensitive complete match, substring not supported).

dealer_type
string

Filters dealers by type. Allowed values — franchise, independent.

dealership_group_name
string

Filters listings by the name of the dealership group. Accepts multiple values as a comma-separated list.

dedup
boolean

If true, returns only is_searchable listings irrespective of dealer_id, mc_website_id, or source. Default — false. See nodedup for the opposite behavior.

dom_180_range
string

Filters listings by Days on Market observed over the last 180 days. Specify as min-max days (e.g., 10-50).

dom_active_range
string

Filters listings by active Days on Market (DOM). Specify as min-max days.

dom_range
string

Filters listings by total Days on Market (DOM). Specify as min-max days.

doors
string

Filters listings by number of doors (e.g., 2, 4). Accepts multiple values as comma-separated list.

dos_active_range
string

Filters listings by active Days on Site (DOS). Specify as min-max days.

drivetrain
string

Filters listings by drivetrain (FWD, RWD, 4WD). Accepts multiple values separated by commas.

engine
string

Filters listings by engine designation (e.g., 2.0L I4, 3.5L V6, 2.5L H4). Accepts multiple values as comma-separated list.

engine_aspiration
string

Filters listings by engine aspiration (Turbocharged, Naturally Aspirated, etc.). Accepts multiple values separated by commas.

engine_block
string

Filters listings by engine block layout (V, I, H). Accepts multiple values separated by commas.

engine_size
string

Filters listings by engine displacement size (e.g., 2.0, 2.5, 3.5). Accepts multiple values separated by commas.

engine_size_range
string

Filters listings by engine displacement size. Specify as min-max liters (e.g., 1.5-3.0).

exclude_certified
boolean

If true, excludes certified-pre-owned vehicles from results. Default — false. See car_type parameter for filtering by inventory type for certified vehicles.

exclude_dealer_ids
string

Excludes results from the specified dealer IDs. Accepts multiple values as a comma-separated list.

exclude_make
string

Excludes the specified makes. Accepts multiple values as a comma-separated list.

exclude_mc_website_ids
string

Excludes results from the specified MarketCheck website IDs. Accepts multiple values as comma-separated list.

exclude_sources
string

Excludes listings from the specified sources (e.g., autonation.com, carmax.com). Accepts multiple values as comma-separated list.

expired
boolean

If true, returns listings of expired VINs (i.e., VINs that are no longer active in the market for sale); if false, returns expired listings of VINs that are still active.

exterior_color
string

Filters listings by exterior color (e.g. White, Summit White, Gun Metallic). Accepts multiple values as comma-separated list.

facet_sort
string

Sorts facet buckets. Allowed values — count (descending count, default) or index (alphabetical).

facets
string

Field name to return bucket facets for. Accepts multiple fields as a comma-separated list.

finance_down_payment
string

Filters listings by finance down-payment amount in USD. Specify a single value or a min-max range.

finance_down_payment_per
string

Filters listings by finance down-payment percentage. Specify a single value or min-max.

finance_emp
string

Filters listings by finance Estimated Monthly Payment (EMP) in USD. Specify a single value or min-max.

finance_loan_apr
string

Filters listings by finance loan APR. Specify a single value or min-max.

finance_loan_term
string

Filters listings by finance loan term in months. Specify a single value or min-max months.

first_seen_at_mc_days
string

Filters listings by the number of days since they were first seen by MarketCheck. Specify as min-max days. Alternative of first_seen_at_mc_range.

first_seen_at_mc_range
string

Filters listings by the date they were first seen by MarketCheck. Specify as YYYYMMDD-YYYYMMDD (e.g., 20220523-20220631). Alternative of first_seen_at_mc_days.

first_seen_at_source_days
string

Filters listings by the number of days since first seen on the source site. Specify as min-max days. Alternative of first_seen_at_source_range.

first_seen_at_source_range
string

Filters listings by date first seen on the source site. Specify as YYYYMMDD-YYYYMMDD. Alternative of first_seen_at_source_days.

first_seen_days
string

Filters listings by the number of days since they were first seen in MarketCheck inventory. Specify as min-max days. Alternative of first_seen_range.

first_seen_range
string

Filters listings by the first seen date. Specify as YYYYMMDD-YYYYMMDD (e.g., 20220523-20220631). Alternative of first_seen_days.

fuel_type
string

Filters listings by fuel type (e.g., Unleaded, Diesel, Electric, Premium Unleaded, Electric / Unleaded). Accepts multiple values separated by commas.

highway_mpg_range
string

Filters listings by highway fuel-economy mileage. Specify as min-max MPG (e.g., 25-40).

in_transit
boolean

If true, returns listings marked as in transit; if false or omitted, no in-transit filter is applied.

include_finance
boolean

If true, only listings with finance offers are returned. Default — false.

include_lease
boolean

If true, only listings with lease offers are returned. Default — false.

include_non_vin_listings
boolean

If true, includes listings without a VIN; if false, such listings are excluded. Default — false.

include_relevant_links
boolean

If true, includes relevant links to other MarketCheck API endpoints in the response. Default — false.

interior_color
string

Filters listings by interior color. Accepts multiple values as comma-separated list.

last_seen_days
string

Filters listings by the number of days since last seen. Specify as min-max days. Alternative of last_seen_at_range.

last_seen_range
string

Filters listings by last seen date. Specify as YYYYMMDD-YYYYMMDD (e.g., 20220523-20220631). Alternative of last_seen_at_days.

latitude
float

Latitude component of the search location (decimal degrees). Used for geospatial queries along with longitude and radius parameters.

lease_down_payment
string

Filters listings by lease down-payment amount in USD. Specify a single value or min-max.

lease_emp
string

Filters listings by lease Estimated Monthly Payment (EMP) in USD. Specify a single value or min-max.

lease_term
string

Filters listings by lease term length in months. Specify a single value or min-max.

longitude
float

Longitude component of the search location (decimal degrees). Used for geospatial queries along with latitude and radius parameters.

make
string

Filters listings by vehicle make (e.g., Toyota, Ford, Mercedes-Benz). Accepts multiple values as comma-separated list.

match
string

Comma-separated list of field names for exact matching in combination with vins. Allowed values — year,make,model or year,make,model,trim.

mc_category
string

Filters listings by MarketCheck category code.

mc_dealer_id
string

Filters listings by MarketCheck dealer ID.

mc_dealership_group_id
string

Filters listings by MarketCheck dealership group ID.

mc_dealership_group_name
string

Filters listings by dealership group name.

mc_location_id
string

Filters listings by MarketCheck location ID.

mc_rooftop_id
string

Filters listings by MarketCheck rooftop ID.

mc_sub_dealership_group_id
string

Filters listings by MarketCheck sub-dealership group ID.

mc_sub_dealership_group_name
string

Filters listings by sub-dealership group name.

mc_website_id
string

Filters listings by MarketCheck website ID.

miles_range
string

Filters listings by odometer reading. Specify as min-max miles (e.g., 1000-50000).

model
string

Filters listings by specific vehicle model (e.g., Camry). Accepts multiple values separated by commas.

msa_code
string

Filters listings by Metropolitan Statistical Area (MSA) code.

msrp_range
string

Filters listings by Manufacturer's Suggested Retail Price (MSRP). Specify as min-max USD (e.g., 20000-45000).

nodedup
boolean

If true, returns all duplicate listings for a VIN; if false (default), duplicate listings are removed. This is the opposite of dedup.

owned
boolean

When used with dealer_id, mc_website_id, or source, true returns listings actually owned by that dealer. Default — false.

photo_links
boolean

If true, returns only listings that contain at least one photo link. Default — false.

photo_links_cached
boolean

If true, returns only listings that contain cached photo links. Default — false.

plot
boolean

If true, returns up to 1000 listings for plotting instead of full listing details.

price_change_range
string

Filters listings by the price change in USD. Since price changes can be positive or negative, specify as min|max (e.g., -5000|1000). This is a range filter.

price_range
string

Filters listings by advertised price in USD. Specify as min-max (e.g., 1000-50000).

radius
integer

Search radius around the specified location in miles. Used with zip or latitude and longitude for geospatial queries.

range_facets
string

Comma-separated list of numeric field names for which to return range facets in the response.

rows
integer

Number of results to return per request. Default — 10. Maximum — 50.

seating_capacity
string

Filters listings by seating capacity (e.g., 2, 5, 7). Accepts multiple values separated by commas.

sold
boolean

If true, returns listings that are inferred to be sold by MarketCheck.

sort_by
string

Field to sort results by. If omitted, defaults to distance when a location filter is used.

sort_order
string

Specifies result sort order. Allowed values — asc or desc. Default — asc.

source
string

Filters listings by source marketplace domain (e.g., autotrader.com, cars.com).

start
integer

Pagination offset (0-based). Default — 0. Maximum page is limited to 10,000/rows.

state
string

Filters listings by US or Canadian state/province code (e.g., CA, NY, ON). Accepts multiple codes separated by commas.

stats
string

Comma-separated list of numeric fields for which to return aggregate statistics (mean, max, min, count).

stock_no
string

Filters listings by dealer stock number.

taxonomy_vins
string

Comma-separated list of 10-character “squish” VINs (first 8 + 10th & 11th chars). Filters listings by build.

transmission
string

Filters listings by transmission type (Automatic, Manual, etc.). Accepts multiple values separated by commas.

trim
string

Filters listings by vehicle trim (e.g., EX, Limited). Accepts multiple values separated by commas.

vdp_url
string

Filters listings by Vehicle Detail Page (VDP) URL match.

vehicle_type
string

Filters listings by vehicle type (Truck, Car). Accepts multiple values separated by commas.

vin
string

Filters listings by full 17-character Vehicle Identification Number (VIN).

vins
string

The VINs to find similar cars around. Accepts a comma-separated list of VINs. Used in conjunction with the match parameter always. Similar parameters are ymmt and taxonomy_vins.

year
string

Filters listings by model year (e.g., 2020). Accepts multiple years separated by commas.

year_range
string

Filters listings by model year range. Specify as min-max (e.g., 2015-2025).

ymmt
string

Year-Make-Model-Trim composite string(s). Each combo uses pipe separators and combinations can be comma-separated. For example, 2019|Toyota|Camry|LE,2020|Honda|Civic|EX. Useful for finding multiple groups of similar cars. Alternatively, you can use vins or taxonomy_vins for VIN-based queries.

zip
string

Filters listings within the specified 5-digit ZIP code.

Defaults

  • country: Defaults to us for United States market
    • When searching Canadian data, explicitly pass country=ca in each call
    • To search both US and Canadian data, use country=all
  • dedup: Defaults to true - only unique listings per VIN are returned, removing duplicates from the dataset
    • Use nodedup=true to include all listings, even duplicates

Special Parameters

sold

  • Use sold=true to filter results to only include vehicles that have been marked as sold
  • All sold listings are expired, but not all expired listings are sold
  • Sold determination requires a 7-day period after expiration for accuracy

expired

  • Use expired=true to filter for expired VINs (VINs that have no active listings)
  • Not all expired VINs are sold, but all sold VINs are expired
  • Helps identify vehicles that left the market without being sold

active_inventory_date_range

  • Filter VINs that were active between specific dates
  • Format: YYYYMMDD-YYYYMMDD (either end can be omitted using *)
  • Based on first_seen_at_source and last_seen_at_source timestamps
  • Example: active_inventory_date_range=20250501-20250531

Performance Requirements

Due to the large volume of historical data, requests must include at least one geographic or dealer-specific parameter:

Required Scoping Parameters (at least one):

  • city - Specific city name
  • state - State or province code
  • zip - ZIP or postal code
  • latitude & longitude - Geographic coordinates
  • radius - Distance from coordinates (max 100 miles)
  • dealer_id - Specific dealer identifier
  • source - Specific marketplace source

Analytics Restrictions:

  • Only one of facets, stats, or range_facets per request
  • Only one field allowed per facet/stats operation
  • Maximum radius limited by subscription (up to 100 miles)

Pagination

Past Inventory Search API supports the same pagination capabilities as the Inventory Search API. API response includes num_found property indicating the total number of listings matching the search criteria.

Parameters:

  • start - Offset from which listings are returned (starts at 0)
  • rows - Number of listings per page (maximum 50, default 10)

Refer to the Inventory Search API pagination documentation for complete details and examples.

Sorting

The Past Inventory Search API supports sorting results by a single numeric or date field at a time, with the same functionality as the Inventory Search API.

Sort Parameters:

  • sort_by - Field name to sort by
  • sort_order - Sort direction (asc or desc)

Refer to the Inventory Search API sorting documentation for complete field reference and examples.

Core Features & Functionality

Past Inventory Search supports all major features from the Inventory Search API with identical functionality:

  • Facets - Build dynamic filters and analyze market distribution
  • Range Facets - Statistical distribution for numeric fields
  • Stats - Comprehensive market analytics
  • Spatial Search - Location-based discovery

Response Schema

The response schema for Past Inventory Search is identical to the Inventory Search API, providing a consistent structure for results. Refer to the Inventory Search API response schema for complete field definitions and examples.

Use Cases & Examples

Find Recent Sold Vehicles

To find recently sold vehicles, you can use the sold=true parameter. This will filter results to only include vehicles that have been marked as sold in the past 90 days.

Example:

Here in this example, we search for sold vehicles in the state of California, with a price range of $10,000 to $30,000, and sorted by the most recent sale date.

request.js
import axios from 'axios';

const options = {
method: 'GET',
url: 'https://api.marketcheck.com/v2/search/car/recents',
params: {
api_key: 'YOUR_API_KEY',
state: 'CA',
sold: 'true',
price_range: '10000-30000',
sort_by: 'last_seen',
sort_order: 'desc',
rows: '2'
},
headers: {Accept: 'application/json'}
};

try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}

Filter for Expired VINs

  • All listings in this endpoint are expired listings, but not all VINs are expired.
  • To find expired VINs (i.e. vehicles that have no active listings), you can use the expired=true parameter.
  • Not all expired VINs are sold, but all sold VINs are expired.

Example:

Here in this example, we search for expired VINs in area of San Francisco, California

request.js
import axios from 'axios';

const options = {
method: 'GET',
url: 'https://api.marketcheck.com/v2/search/car/recents',
params: {
api_key: 'YOUR_API_KEY',
city: 'San Francisco',
state: 'CA',
expired: 'true',
rows: '2'
},
headers: {Accept: 'application/json'}
};

try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}

Typical Days to Sell

  • To find the typical days to sell a vehicle, you can use the stats parameter with either dom_active or dos_active fields.
  • Based on the use case, you can choose the appropriate field to get the desired statistics.
    • dom_active gives you the days on market for the VIN across all sources. So you can use this to get the average days on market for a VIN across all sources.
    • dos_active gives you the days on site for the VIN on a specific source. So you can use this to get the average days it took for a dealer to sell this vehicle on a specific source.

Example:

Here in this example, we search for the average days to sell a vehicle in the state of California, across all sources using the dom_active field.

request.js
import axios from 'axios';

const options = {
method: 'GET',
url: 'https://api.marketcheck.com/v2/search/car/recents',
params: {
api_key: 'YOUR_API_KEY',
state: 'CA',
sold: 'true',
stats: 'dom_active',
rows: '0'
},
headers: {Accept: 'application/json'}
};

try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}

Example:

Here in this example, we search for the average days to sell a vehicle for a specific dealer, using the dos_active field.

request.js
import axios from 'axios';

const options = {
method: 'GET',
url: 'https://api.marketcheck.com/v2/search/car/recents',
params: {
api_key: 'YOUR_API_KEY',
source: 'carmax.com',
state: 'CA',
sold: 'true',
stats: 'dos_active',
rows: '0'
},
headers: {Accept: 'application/json'}
};

try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}

Average Sale Prices

  • Using the stats parameter, you can retrieve average sale prices for vehicles in the past N days.
  • This can be done for all vehicles or filtered by make, model, year, etc.

Example:

Here in this example, we search for the average sale prices of vehicles similar to a specific VIN in the past 30 days, around a specific location.

request.js
import axios from 'axios';

const options = {
method: 'GET',
url: 'https://api.marketcheck.com/v2/search/car/recents',
params: {
api_key: 'YOUR_API_KEY',
zip: '90210',
radius: '50',
vins: '5FPYK3F51PB005034',
match: 'year,make,model,trim',
sold: 'true',
last_seen_days: '30-*',
stats: 'price',
rows: '0'
},
headers: {Accept: 'application/json'}
};

try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}

Listings Active Between Two Dates

  • All listings in this endpoint are expired listings, to find listings that were active between two dates, you can use the last_seen_range and first_seen_range parameters.
  • For a listing to be considered active, it must have been seen in the market within the specified date range.
    • This means that the last_seen timestamp must be greater than or equal to the lower bound of the date range
    • And the first_seen timestamp must be less than or equal to the upper bound of the date range
  • Both last_seen_range and first_seen_range parameters accept a date range in the format YYYYMMDD-YYYYMMDD, where the first date is the lower bound and the second date is the upper bound.
  • Either end of the range can be omitted (by using a *) to indicate no limit on that side of the range.
  • As mentioned earlier, only attributed (i.e. searchable) listings are returned by default, but in this case, the nodedup=true parameter can be used to return all listings for a VIN across all sources, including duplicates from the same source that were active during the specified date range.

Example:

Here in this example, we search for listings that were active between 1st May 2025 and 31st May 2025 including all listings across all sources for each VIN, around a specific location.

request.js
import axios from 'axios';

const options = {
method: 'GET',
url: 'https://api.marketcheck.com/v2/search/car/recents',
params: {
api_key: 'YOUR_API_KEY',
zip: '90210',
radius: '50',
last_seen_range: '20250501-*',
first_seen_range: '*-20250531',
nodedup: 'true',
rows: '2'
},
headers: {Accept: 'application/json'}
};

try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
It is important to note that here we're searching for listings that were active between two dates, so their first_seen and last_seen timestamps may not fall within the specified range, but they must have been seen in the market within the specified date range.So first_seen to last_seen window will overlap with the specified date range, but not necessarily fall within it.

VINs Active Between Two Dates

  • To find VINs that were active between two dates, you can use the active_inventory_date_range parameter.
  • This parameter accepts a date range in the format YYYYMMDD-YYYYMMDD, where the first date is the lower bound and the second date is the upper bound.
  • Either end of the range can be omitted (by using a *) to indicate no limit on that side of the range.
  • The active_inventory_date_range parameter filters the results to only include VINs that had at least one listing active during the specified date range.
  • By default, only attributed (i.e. searchable) listings are returned, but you can use the nodedup=true parameter to return all listings for a VIN across all sources, including duplicates from the same source.
  • Key thing to understand is that this parameter filters the listings based on first_seen_at_source and last_seen_at_source timestamps, which are the timestamps when the listing was first and last seen on the source website respectively.

Example:

Here in this example, we search for VINs that were active between 1st May 2025 and 31st May 2025.

request.js
import axios from 'axios';

const options = {
method: 'GET',
url: 'https://api.marketcheck.com/v2/search/car/recents',
params: {
api_key: 'YOUR_API_KEY',
zip: '90210',
radius: '50',
active_inventory_date_range: '20250501-20250531',
nodedup: 'true',
rows: '2'
},
headers: {Accept: 'application/json'}
};

try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}

Track Dealer Performance

  • To track dealer performance, you can use the dealer_id or source parameters to filter results by a specific dealer or source website along with stats parameter to retrieve aggregated data
  • This allows you to analyze how a dealer's inventory performance compares to the market, including average sale prices, days to sell, and more
  • When using the dealer_id or source parameters, the results will include only listings from that specific dealer or source website. Attribution is disabled, so all listings from that dealer or source will be returned, including duplicates for the same VIN
  • If you want to include only those VINs that were attributed to that dealer or source, you can use the owned=true parameter, which will return only those listings that were attributed to that dealer or source

Example:

Here in this example, we search for a specific dealer's performance in the state of California, including average sale price.

request.js
import axios from 'axios';

const options = {
method: 'GET',
url: 'https://api.marketcheck.com/v2/search/car/recents',
params: {
api_key: 'YOUR_API_KEY',
rows: '0',
dealer_id: '1035095',
sold: 'true',
stats: 'price'
},
headers: {Accept: 'application/json'}
};

try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}

Example:

Here in this example, we search for a specific source's performance, including average sale prices but only for cars that were attributed to that source.

request.js
import axios from 'axios';

const options = {
method: 'GET',
url: 'https://api.marketcheck.com/v2/search/car/recents',
params: {
api_key: 'YOUR_API_KEY',
rows: '0',
source: 'longotoyota.com',
sold: 'true',
stats: 'price'
},
headers: {Accept: 'application/json'}
};

try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
  • To find the most popular makes and models in the past 90 days, you can use the facets parameter to retrieve aggregated data along with sold=true to include only sold vehicles
  • This allows you to analyze the distribution of makes and models in the market, including the number of sold vehicles

Example:

Here in this example, we search for the most popular makes and models in the state of California, including only sold vehicles.

request.js
import axios from 'axios';

const options = {
method: 'GET',
url: 'https://api.marketcheck.com/v2/search/car/recents',
params: {
api_key: 'YOUR_API_KEY',
state: 'CA',
sold: 'true',
facets: 'make|0|100',
rows: '0'
},
headers: {Accept: 'application/json'}
};

try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}

Find Top Dealers by Sales Volume

  • To find the top dealers by sales volume, you can use the facets parameter to retrieve aggregated data along with sold=true to include only sold vehicles
  • This allows you to analyze the distribution of dealers in the market, including the number of sold vehicles

Example:

Here in this example, we get aggregated data for the top dealers by sales volume in the state of Texas, including only sold vehicles.

request.js
import axios from 'axios';

const options = {
method: 'GET',
url: 'https://api.marketcheck.com/v2/search/car/recents',
params: {
api_key: 'YOUR_API_KEY',
state: 'TX',
sold: 'true',
facets: 'source|0|1000',
rows: '0'
},
headers: {Accept: 'application/json'}
};

try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}

Inventory Turnover Analysis

Analyze how quickly different vehicle segments move through the market by comparing days on market across various categories.

Example:

Here we're analyzing inventory turnover rates for different body types to understand which vehicle categories sell fastest.

First we'll get valid body types using the facets parameter, then we'll use the stats parameter to get the average days on market for each body type.

request.js
import axios from 'axios';

const options = {
method: 'GET',
url: 'https://api.marketcheck.com/v2/search/car/recents',
params: {
api_key: 'YOUR_API_KEY',
state: 'CA',
sold: 'true',
facets: 'body_type|0|100',
rows: '0'
},
headers: {Accept: 'application/json'}
};

try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}

Next, we'll use the stats parameter to get the average days on market for each body type. One example is shown below, where we analyze the average days on market for SUVs in the state of California.

request.js
import axios from 'axios';

const options = {
method: 'GET',
url: 'https://api.marketcheck.com/v2/search/car/recents',
params: {
api_key: 'YOUR_API_KEY',
state: 'CA',
sold: 'true',
body_type: 'SUV',
stats: 'dos_active',
rows: '0'
},
headers: {Accept: 'application/json'}
};

try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}

Track seasonal patterns in vehicle sales by analyzing sold vehicles within specific time periods and comparing across different months or seasons.

Example:

Here we're analyzing seasonal trends by looking at sold vehicles during a specific month to understand market patterns.

request.js
import axios from 'axios';

const options = {
method: 'GET',
url: 'https://api.marketcheck.com/v2/search/car/recents',
params: {
api_key: 'YOUR_API_KEY',
state: 'FL',
sold: 'true',
last_seen_range: '20250501-20250531',
stats: 'price',
rows: '0'
},
headers: {Accept: 'application/json'}
};

try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}

Market Share Analysis by Region

Analyze brand and dealer market share within specific geographic regions using sold vehicle data.

Example:

Here we're analyzing market share by examining the distribution of sold vehicles by make within a specific metropolitan area.

request.js
import axios from 'axios';

const options = {
method: 'GET',
url: 'https://api.marketcheck.com/v2/search/car/recents',
params: {
api_key: 'YOUR_API_KEY',
city: 'Los Angeles',
sold: 'true',
facets: 'make',
rows: '0'
},
headers: {Accept: 'application/json'}
};

try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}

See Also