# Market Days Supply API

Canonical URL: https://developers.marketcheck.com/apis/market-days-supply

Updated: Nov 16, 2026

This is the Markdown version of https://developers.marketcheck.com/apis/market-days-supply. Every page of this site has one at its own address with .md added (the home page's is https://developers.marketcheck.com/index.md). The prices are at https://developers.marketcheck.com/pricing.md.

> One GET returns the days of supply for the cars you filter on, with the count for sale now and the count sold in the last 45 days.

How many days the cars for sale now would last at the pace they have been selling: for one car, one market or a whole segment.

- Endpoint: `GET https://api.marketcheck.com/v2/mds/car`, with `api_key` as a query parameter
- Regions: United States, Canada
- Docs: https://docs.marketcheck.com/docs/api/cars/market-insights/market-days-supply
- This page: https://developers.marketcheck.com/apis/market-days-supply

## Good to know
- Both counts come back, so the division can be checked: `mds` is `total_active_cars_for_ymmt` over `total_cars_sold_in_last_45_days` spread over its 45 days.
- When nothing sold in the window there is no pace to divide by, and `mds` comes back as `null`.
- Days of supply describes a market; the `dom` on a listing counts the days one car has been listed across all dealers.

## Use cases

### Days of supply for this exact car
An appraiser with one car to decide on sends vin with exact=true, and the supply is counted for cars that match that VIN's own build. debug=true returns the year, make, model and trim the API matched, the line to print beside the number.

Request: Market days supply for cars that match the build of VIN 4T3RWRFV3NU052190, with debug output.
```bash
curl "https://api.marketcheck.com/v2/mds/car?api_key=YOUR_API_KEY&vin=4T3RWRFV3NU052190&exact=true&debug=true"
```

Response (recorded Nov 13, 2026):
```json
{
  "mds": 43,
  "total_active_cars_for_ymmt": 107,
  "total_cars_sold_in_last_45_days": 112,
  "debug": [
    {
      "year": [
        2022
      ],
      "make": [
        "Toyota"
      ],
      "model": [
        "RAV4"
      ],
      "trim": [
        "XLE"
      ]
    }
  ]
}
```

### Supply near one store
For the supply near one store, send car_type, year, make and model with zip and radius: the counts cover the cars for sale inside that circle and those sold there in the last 45 days. A city and a state work in place of the ZIP.

Request: Market days supply for used 2022 Toyota RAV4s within 50 miles of ZIP 76053.
```bash
curl "https://api.marketcheck.com/v2/mds/car?api_key=YOUR_API_KEY&car_type=used&year=2022&make=toyota&model=rav4&zip=76053&radius=50"
```

Response (recorded Nov 13, 2026):
```json
{
  "mds": 48,
  "total_active_cars_for_ymmt": 67,
  "total_cars_sold_in_last_45_days": 63
}
```

### Supply across a segment
With car_type=new, fuel_type=electric and no place in the request, the counts cover new electric cars across the country. An analyst can cut a segment most ways Inventory Search can filter, so the same call answers for a body type or a single make.

Request: Market days supply for new electric cars across the US.
```bash
curl "https://api.marketcheck.com/v2/mds/car?api_key=YOUR_API_KEY&car_type=new&fuel_type=electric"
```

Response (recorded Nov 13, 2026):
```json
{
  "mds": 100,
  "total_active_cars_for_ymmt": 80965,
  "total_cars_sold_in_last_45_days": 36443
}
```

## Key parameters
- `api_key` (string, required): Your MarketCheck API authentication key. Required for every request, unless OAuth is used.
- `vin` (string): Filters listings by full 17-character Vehicle Identification Number (VIN).
- `exact` (boolean): If `true`, performs exact matching (upto build_code level) in MDS API queries. If `false`, performs partial matching (upto model level). Default: false.
- `debug` (boolean): If `true`, returns applied year, make, model, and trim filters in the response. Default: false.
- `car_type` (string): Filters listings by inventory type. Allowed values - `new`, `used`, `certified`.
- `year` (string): Filters listings by model year (e.g., `2020`). Accepts multiple years separated by commas.
- `make` (string): Filters listings by vehicle make (e.g., `Toyota`, `Ford`, `Mercedes-Benz`). Accepts multiple values as comma-separated list.
- `model` (string): Filters listings by specific vehicle model (e.g., `Camry`). Accepts multiple values separated by commas.
- `zip` (string): Filters listings within the specified 5-digit ZIP code.
- `radius` (integer): Search radius around the specified location in miles. Used with `zip` or `latitude` and `longitude` for geospatial queries.

## Questions

### What is Market Days Supply in the MarketCheck API?
Market Days Supply is the MarketCheck API that says how many days the cars for sale now would last at the recent sales pace. One GET to /v2/mds/car returns mds with two counts, the active listings and the cars sold in the last 45 days, for the vehicles, dealers or area the request filters on.

### How is Market Days Supply calculated?
MarketCheck's Market Days Supply is the active inventory count divided by the average daily sales rate over the past 45 days. In the response, total_active_cars_for_ymmt is the active count and total_cars_sold_in_last_45_days is the sold count, so the daily rate is the sold count spread over those days. With zero sales in the window, mds comes back without a value.

### What is the difference between days of supply and days on market in MarketCheck data?
Days of supply describes a market, and days on market describes one car. Market Days Supply answers for every car a filter matches: how long the active inventory would last at the recent sales rate. The dom field on a listing counts the days that one car has been listed across all dealers.

### Which countries does Market Days Supply cover?
MarketCheck's Market Days Supply covers the US and Canada. Its country parameter defaults to us, and country=ca returns the figure for the Canadian market with the same filters. A Canadian province code goes in state, where a US request puts a state code. No endpoint for days of supply appears in the UK docs.

## Related APIs
- Inventory Search: https://developers.marketcheck.com/apis/inventory-search
- Past Inventory Search: https://developers.marketcheck.com/apis/past-inventory-search
- MarketCheck Price: https://developers.marketcheck.com/apis/marketcheck-price

Replace YOUR_API_KEY with your key from https://developers.marketcheck.com/api-keys, and call the API from your server so the key stays private.
