# MarketMatch API

Canonical URL: https://developers.marketcheck.com/apis/marketmatch

Updated: Nov 16, 2026

This is the Markdown version of https://developers.marketcheck.com/apis/marketmatch. 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.

> Two POST calls rank the dealers on your list for one car, or the cars on your list for one dealer. Recorded requests, responses and screens.

Rank how well a car fits a dealer, in both directions: the dealers on your list for one car, or the cars on your list for one dealer.

- Endpoint: `POST https://api.marketcheck.com/v2/marketmatch/dealers/rank`, with `api_key` as a query parameter
- Regions: United States, Canada
- Docs: https://docs.marketcheck.com/docs/api/cars/market-insights/marketmatch
- This page: https://developers.marketcheck.com/apis/marketmatch

## Good to know
- You bring the candidates and MarketMatch ranks them: an auction's own registered buyers, a group's own rooftops, or the cars a buyer is weighing.
- Recorded `vin_rank` values run past the number of candidates and can tie, so sort on them as returned and break ties yourself.
- In the recorded responses `dealer_ymm_score` came back as zero on some rows, below the documented range.
- Candidates MarketMatch could not score come back in `failed_items`, and the rest are still ranked.
- A key without access to MarketMatch gets a 403, and the batch endpoints, for files of car and dealer pairs, are enabled on request.

## Use cases

### Which of your buyers fits this unit
A consigned unit goes in with its vin, price and miles, and your auction's registered buyers as dealers, each a website in source with its zip. The response comes back best fit first, each buyer's dealer_ymm_score beside the unit's vin_score.

Request: VIN 4T3RWRFV3NU052190, at its listed price of $24,222 and 97,297 miles, ranked against 6 candidate dealer websites, each with its ZIP.
```bash
curl -X POST "https://api.marketcheck.com/v2/marketmatch/dealers/rank?api_key=YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "vin": {
    "vin": "4T3RWRFV3NU052190",
    "price": 24222,
    "miles": 97297
  },
  "dealers": [
    {
      "source": "fourstarsnissanofdenton.com",
      "zip": "76210"
    },
    {
      "source": "dondavisnissan.com",
      "zip": "76018"
    },
    {
      "source": "autonationfordarlington.com",
      "zip": "76017"
    },
    {
      "source": "freemanhonda.net",
      "zip": "75237"
    },
    {
      "source": "ettolicauto.com",
      "zip": "76012"
    },
    {
      "source": "moritzkiahurst.com",
      "zip": "76053"
    }
  ]
}'
```

Response (recorded Nov 13, 2026):
```json
{
  "ranked_matches": [
    {
      "vin": "4T3RWRFV3NU052190",
      "price": 24222,
      "miles": 97297,
      "source": "fourstarsnissanofdenton.com",
      "zip": "76210",
      "mc_location_id": "1526898",
      "vin_score": 1180,
      "dealer_ymm_score": 1186,
      "vin_rank": 30
    },
    {
      "vin": "4T3RWRFV3NU052190",
      "price": 24222,
      "miles": 97297,
      "source": "autonationfordarlington.com",
      "zip": "76017",
      "mc_location_id": "1365071",
      "vin_score": 1180,
      "dealer_ymm_score": 1153,
      "vin_rank": 85
    },
    {
      "vin": "4T3RWRFV3NU052190",
      "price": 24222,
      "miles": 97297,
      "source": "dondavisnissan.com",
      "zip": "76018",
      "mc_location_id": "1366298",
      "vin_score": 1180,
      "dealer_ymm_score": 1315,
      "vin_rank": 192
    },
    {
      "vin": "4T3RWRFV3NU052190",
      "price": 24222,
      "miles": 97297,
      "source": "moritzkiahurst.com",
      "zip": "76053",
      "mc_location_id": "1424120",
      "vin_score": 1180,
      "dealer_ymm_score": 0,
      "vin_rank": 1231
    },
    {
      "vin": "4T3RWRFV3NU052190",
      "price": 24222,
      "miles": 97297,
      "source": "freemanhonda.net",
      "zip": "75237",
      "mc_location_id": "1401539",
      "vin_score": 1180,
      "dealer_ymm_score": 0,
      "vin_rank": 1232
    },
    {
      "vin": "4T3RWRFV3NU052190",
      "price": 24222,
      "miles": 97297,
      "source": "ettolicauto.com",
      "zip": "76012",
      "mc_location_id": "1400802",
      "vin_score": 1180,
      "dealer_ymm_score": 0,
      "vin_rank": 1232
    }
  ],
  "failed_items": []
}
```

### Which rooftop should get this car
A dealer group sends one car and its own rooftops as dealers, each website with its zip, or with mc_location_id where one website serves two rooftops in one ZIP. The rows come back best fit first, and a transfer decision starts at the top.

Request: VIN 4T3RWRFV3NU052190, at its listed price of $24,222 and 97,297 miles, ranked against 7 locations of one dealer group, each a website with its ZIP.
```bash
curl -X POST "https://api.marketcheck.com/v2/marketmatch/dealers/rank?api_key=YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "vin": {
    "vin": "4T3RWRFV3NU052190",
    "price": 24222,
    "miles": 97297
  },
  "dealers": [
    {
      "source": "texasnissan.com",
      "zip": "76051"
    },
    {
      "source": "toyotaofgrapevine.com",
      "zip": "76051"
    },
    {
      "source": "grapevineford.com",
      "zip": "76051"
    },
    {
      "source": "vandergrifftoyota.com",
      "zip": "76017"
    },
    {
      "source": "vandergriffacura.com",
      "zip": "76017"
    },
    {
      "source": "grandprairieford.com",
      "zip": "75050"
    },
    {
      "source": "espanol.westwayford.com",
      "zip": "75062"
    }
  ]
}'
```

Response (recorded Nov 13, 2026):
```json
{
  "ranked_matches": [
    {
      "vin": "4T3RWRFV3NU052190",
      "price": 24222,
      "miles": 97297,
      "source": "vandergrifftoyota.com",
      "zip": "76017",
      "mc_location_id": "1424660",
      "vin_score": 1180,
      "dealer_ymm_score": 1210,
      "vin_rank": 49
    },
    {
      "vin": "4T3RWRFV3NU052190",
      "price": 24222,
      "miles": 97297,
      "source": "toyotaofgrapevine.com",
      "zip": "76051",
      "mc_location_id": "1424825",
      "vin_score": 1180,
      "dealer_ymm_score": 1257,
      "vin_rank": 94
    },
    {
      "vin": "4T3RWRFV3NU052190",
      "price": 24222,
      "miles": 97297,
      "source": "texasnissan.com",
      "zip": "76051",
      "mc_location_id": "1366305",
      "vin_score": 1180,
      "dealer_ymm_score": 0,
      "vin_rank": 1231
    },
    {
      "vin": "4T3RWRFV3NU052190",
      "price": 24222,
      "miles": 97297,
      "source": "grapevineford.com",
      "zip": "76051",
      "mc_location_id": "1400895",
      "vin_score": 1180,
      "dealer_ymm_score": 0,
      "vin_rank": 1231
    },
    {
      "vin": "4T3RWRFV3NU052190",
      "price": 24222,
      "miles": 97297,
      "source": "vandergriffacura.com",
      "zip": "76017",
      "mc_location_id": "1399786",
      "vin_score": 1180,
      "dealer_ymm_score": 0,
      "vin_rank": 1231
    },
    {
      "vin": "4T3RWRFV3NU052190",
      "price": 24222,
      "miles": 97297,
      "source": "grandprairieford.com",
      "zip": "75050",
      "mc_location_id": "1403751",
      "vin_score": 1180,
      "dealer_ymm_score": 0,
      "vin_rank": 1231
    },
    {
      "vin": "4T3RWRFV3NU052190",
      "price": 24222,
      "miles": 97297,
      "source": "espanol.westwayford.com",
      "zip": "75062",
      "mc_location_id": "1364981",
      "vin_score": 1180,
      "dealer_ymm_score": 0,
      "vin_rank": 1231
    }
  ],
  "failed_items": []
}
```

### Which of these cars fit this store
A buyer sends the store once, as dealer, and each candidate car under vins with its vin, price and miles. The response is a buy list, best fit first, in which vin_score differs from row to row because it belongs to the car.

Request: 10 candidate cars, each a VIN with its listed price and miles, ranked for one dealer website and its ZIP.
```bash
curl -X POST "https://api.marketcheck.com/v2/marketmatch/vins/rank?api_key=YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "dealer": {
    "source": "freemantoyota.com",
    "zip": "76053"
  },
  "vins": [
    {
      "vin": "5TDZK3DC1ES474857",
      "price": 14121,
      "miles": 106776
    },
    {
      "vin": "1FTYE1Y88TKB53786",
      "price": 39981,
      "miles": 26
    },
    {
      "vin": "1G1ZB5ST6NF183780",
      "price": 18995,
      "miles": 97000
    },
    {
      "vin": "1C4SJUBP6RS135606",
      "price": 39995,
      "miles": 72603
    },
    {
      "vin": "1N6AD0EV1DN754690",
      "price": 20948,
      "miles": 19875
    },
    {
      "vin": "7MMVAAEW5SN132294",
      "price": 31010,
      "miles": 33541
    },
    {
      "vin": "19XFB2F54FE086836",
      "price": 16995,
      "miles": 66000
    },
    {
      "vin": "2T3WFREV0EW129828",
      "price": 11995,
      "miles": 133987
    },
    {
      "vin": "4T1DAACK0SU550694",
      "price": 32999,
      "miles": 22000
    },
    {
      "vin": "7MUEAABG9TV155298",
      "price": 31063,
      "miles": 36423
    }
  ]
}'
```

Response (recorded Nov 13, 2026). The 10 cars come from one search of used cars within 25 miles, fewest days on market first: the first one listed for each make on the store's used lot, then the next Toyotas. There is no Kia: the search's Kia listings were all from national retailers.
```json
{
  "ranked_matches": [
    {
      "vin": "2T3WFREV0EW129828",
      "price": 11995,
      "miles": 133987,
      "source": "freemantoyota.com",
      "zip": "76053",
      "mc_location_id": "1400441",
      "vin_score": 961,
      "dealer_ymm_score": 1037,
      "vin_rank": 90
    },
    {
      "vin": "4T1DAACK0SU550694",
      "price": 32999,
      "miles": 22000,
      "source": "freemantoyota.com",
      "zip": "76053",
      "mc_location_id": "1400441",
      "vin_score": 1463,
      "dealer_ymm_score": 1370,
      "vin_rank": 110
    },
    {
      "vin": "7MUEAABG9TV155298",
      "price": 31063,
      "miles": 36423,
      "source": "freemantoyota.com",
      "zip": "76053",
      "mc_location_id": "1400441",
      "vin_score": 1452,
      "dealer_ymm_score": 1689,
      "vin_rank": 285
    },
    {
      "vin": "5TDZK3DC1ES474857",
      "price": 14121,
      "miles": 106776,
      "source": "freemantoyota.com",
      "zip": "76053",
      "mc_location_id": "1400441",
      "vin_score": 1005,
      "dealer_ymm_score": 0,
      "vin_rank": 1056
    },
    {
      "vin": "19XFB2F54FE086836",
      "price": 16995,
      "miles": 66000,
      "source": "freemantoyota.com",
      "zip": "76053",
      "mc_location_id": "1400441",
      "vin_score": 1047,
      "dealer_ymm_score": 0,
      "vin_rank": 1099
    },
    {
      "vin": "1G1ZB5ST6NF183780",
      "price": 18995,
      "miles": 97000,
      "source": "freemantoyota.com",
      "zip": "76053",
      "mc_location_id": "1400441",
      "vin_score": 1125,
      "dealer_ymm_score": 0,
      "vin_rank": 1176
    },
    {
      "vin": "1N6AD0EV1DN754690",
      "price": 20948,
      "miles": 19875,
      "source": "freemantoyota.com",
      "zip": "76053",
      "mc_location_id": "1400441",
      "vin_score": 1220,
      "dealer_ymm_score": 0,
      "vin_rank": 1271
    },
    {
      "vin": "1C4SJUBP6RS135606",
      "price": 39995,
      "miles": 72603,
      "source": "freemantoyota.com",
      "zip": "76053",
      "mc_location_id": "1400441",
      "vin_score": 1384,
      "dealer_ymm_score": 0,
      "vin_rank": 1435
    },
    {
      "vin": "7MMVAAEW5SN132294",
      "price": 31010,
      "miles": 33541,
      "source": "freemantoyota.com",
      "zip": "76053",
      "mc_location_id": "1400441",
      "vin_score": 1421,
      "dealer_ymm_score": 0,
      "vin_rank": 1472
    },
    {
      "vin": "1FTYE1Y88TKB53786",
      "price": 39981,
      "miles": 26,
      "source": "freemantoyota.com",
      "zip": "76053",
      "mc_location_id": "1400441",
      "vin_score": 2249,
      "dealer_ymm_score": 0,
      "vin_rank": 2301
    }
  ],
  "failed_items": []
}
```

## Key parameters
- `api_key` (string, required): Your MarketCheck API authentication key. Required for every request, unless OAuth is used.
- `country` (string): Specifies the country market used for ranking. Supported values: `us` or `ca`. Defaults to `us`.
- `vin.vin` (string, required): 17-character VIN.
- `vin.price` (integer, required): Vehicle price in USD. Positive integer.
- `vin.miles` (integer, required): Vehicle mileage. Non-negative integer.
- `dealers` (array, required): Candidate dealers (1-100 items).
- `dealers[].source` (string, required): Dealer website domain.
- `dealers[].zip` (string): 5-digit US ZIP (e.g. `30907`), or Canadian postal code (e.g. `J1N 1G8`) when `country=ca`; required for multi-location dealers.
- `dealers[].mc_location_id` (string): MarketCheck location ID (alternative to zip).
- `vins` (array, required): Candidate vehicles (1-20 items).

## Questions

### What is the MarketCheck MarketMatch API?
MarketMatch is the MarketCheck API that ranks how well a car fits a dealer, in both directions. Both calls are POSTs with a JSON body: /v2/marketmatch/dealers/rank takes one car with candidate dealers, and /v2/marketmatch/vins/rank takes one dealer with candidate cars. The response holds ranked_matches, best match first, and failed_items for candidates it could not process.

### Does MarketMatch find dealers, or rank a list you send?
MarketCheck's MarketMatch ranks only the candidates a request sends, such as an auction's registered buyers or a group's own rooftops. A dealers/rank call carries one car and up to one hundred dealers, and a vins/rank call one dealer and up to twenty cars. Each row of ranked_matches carries the car's vin, price and miles with one dealer's source and zip.

### What does vin_rank mean in a MarketCheck MarketMatch response?
The MarketMatch docs call vin_rank an overall ranking position in which one is the best match, and ranked_matches comes back sorted on it. In recorded responses its values ran past the number of candidates sent, and some rows tied. Sort on vin_rank as returned, lower is better, and keep a tiebreaker of your own.

### How does MarketMatch rank a dealer website that has more than one location?
For a dealer website with more than one location, MarketMatch needs the location named beside source, by zip or by mc_location_id, MarketCheck's id for the location. Without either, the docs say the request returns an error, and their error table lists a 422 for a multi-location dealer without a ZIP, with those dealers in multi_location_sources.

## Related APIs
- MarketCheck Price: https://developers.marketcheck.com/apis/marketcheck-price
- Market Days Supply: https://developers.marketcheck.com/apis/market-days-supply
- Dealership Inventory Syndication: https://developers.marketcheck.com/apis/dealer-inventory

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.
