# History by VIN API

Canonical URL: https://developers.marketcheck.com/apis/vin-history

Updated: Nov 16, 2026

This is the Markdown version of https://developers.marketcheck.com/apis/vin-history. 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 with a VIN returns each listing on record for that car: seller, city, listed price, miles and seen dates. Recorded requests, responses and screens.

Every listing on record for one car: who listed it, where, when it was first and last seen, and at what listed price.

- Endpoint: `GET https://api.marketcheck.com/v2/history/car/{vin}`, with `api_key` as a query parameter
- Regions: United States, United Kingdom
- UK endpoint: `GET https://api.marketcheck.com/v2/history/car/uk/{vrm}` (History by VRM in the UK docs: https://docs.marketcheck.com/uk/docs/api/cars/vehicle-history/history-by-vrm)
- Docs: https://docs.marketcheck.com/docs/api/cars/vehicle-history/history-by-vin
- This page: https://developers.marketcheck.com/apis/vin-history

## Good to know
- The response is a plain array with no wrapper and no count, so a VIN with no history is an empty array with a 200.
- A row is a listing: one seller can fill row after row, each with its own listed price and first and last seen dates.
- Rows come 50 to a page; a page with fewer than 50 rows is the last, and a page past the end returns a 422.
- With `fields`, each row holds only the fields it names, so repeat the defaults you still need, such as `price`, beside the extras.

## Use cases

### Price history on a listing page
For a price-history panel (the latest listed price, the first on record and every step between), the default fields are enough, among them price, miles, seller_name, city, state, first_seen_at_date and last_seen_at_date. Rows come newest first by status_date, the only sort there is; sort_order flips it.

Request: Every dealer listing on record for VIN 4T3RWRFV3NU052190.
```bash
curl "https://api.marketcheck.com/v2/history/car/4T3RWRFV3NU052190?api_key=YOUR_API_KEY"
```

Response (recorded Nov 13, 2026). Showing the 6 most recent of 30 listing events, with the main fields of each.
```json
[
  {
    "price": 24222,
    "miles": 97297,
    "inventory_type": "used",
    "seller_name": "Freeman Toyota",
    "city": "Hurst",
    "state": "TX",
    "first_seen_at_date": "2026-11-05T07:41:40.000Z",
    "last_seen_at_date": "2026-11-12T06:42:46.000Z"
  },
  {
    "price": 24885,
    "miles": 97297,
    "inventory_type": "used",
    "seller_name": "Freeman Toyota",
    "city": "Hurst",
    "state": "TX",
    "first_seen_at_date": "2026-10-22T06:40:48.000Z",
    "last_seen_at_date": "2026-11-04T07:19:42.000Z"
  },
  {
    "price": 25222,
    "miles": 97297,
    "inventory_type": "used",
    "seller_name": "Freeman Toyota",
    "city": "Hurst",
    "state": "TX",
    "first_seen_at_date": "2026-10-11T07:09:14.000Z",
    "last_seen_at_date": "2026-10-21T06:20:24.000Z"
  },
  {
    "price": 25784,
    "miles": 97297,
    "inventory_type": "used",
    "seller_name": "Freeman Toyota",
    "city": "Hurst",
    "state": "TX",
    "first_seen_at_date": "2026-10-06T06:54:11.000Z",
    "last_seen_at_date": "2026-10-10T07:07:10.000Z"
  },
  {
    "price": 25784,
    "miles": 97297,
    "inventory_type": "used",
    "seller_name": "Freeman Toyota",
    "city": "Hurst",
    "state": "TX",
    "first_seen_at_date": "2026-09-29T10:39:42.000Z",
    "last_seen_at_date": "2026-10-05T05:56:09.000Z"
  },
  {
    "price": 26383,
    "miles": 97297,
    "inventory_type": "used",
    "seller_name": "Freeman Toyota",
    "city": "Hurst",
    "state": "TX",
    "first_seen_at_date": "2026-09-09T08:25:33.000Z",
    "last_seen_at_date": "2026-09-28T07:04:40.000Z"
  }
]
```

### Where and when the car has been listed
For a trail of where the car has been listed, oldest first, send fields with the columns you need and sort_order=asc. How long a listing was up is not a field: subtract first_seen_at_date from last_seen_at_date.

Request: Seller, city, state and first and last seen dates for each listing of VIN 4T3RWRFV3NU052190, oldest first.
```bash
curl "https://api.marketcheck.com/v2/history/car/4T3RWRFV3NU052190?api_key=YOUR_API_KEY&fields=seller_name,city,state,first_seen_at_date,last_seen_at_date&sort_order=asc"
```

Response (recorded Nov 13, 2026). Showing results 1, 2, 11, 12, 13, 14, 22, 23 and 30 of 30: the first and last listing at each stop (one seller, no gap over 30 days).
```json
[
  {
    "seller_name": "Freeman Toyota",
    "city": "Hurst",
    "state": "TX",
    "first_seen_at_date": "2022-02-08T07:50:55.000Z",
    "last_seen_at_date": "2022-02-12T07:53:13.000Z"
  },
  {
    "seller_name": "Freeman Toyota",
    "city": "Hurst",
    "state": "TX",
    "first_seen_at_date": "2026-03-27T10:40:10.000Z",
    "last_seen_at_date": "2026-03-27T10:40:10.000Z"
  },
  {
    "seller_name": "Freeman Toyota",
    "city": "Hurst",
    "state": "TX",
    "first_seen_at_date": "2026-05-12T11:25:36.000Z",
    "last_seen_at_date": "2026-05-26T09:22:07.000Z"
  },
  {
    "seller_name": "Freeman Honda",
    "city": "Dallas",
    "state": "TX",
    "first_seen_at_date": "2026-06-10T05:18:41.000Z",
    "last_seen_at_date": "2026-06-10T05:18:41.000Z"
  },
  {
    "seller_name": "Freeman Toyota",
    "city": "Hurst",
    "state": "TX",
    "first_seen_at_date": "2026-05-27T09:32:09.000Z",
    "last_seen_at_date": "2026-06-11T09:36:54.000Z"
  },
  {
    "seller_name": "Freeman Honda",
    "city": "Dallas",
    "state": "TX",
    "first_seen_at_date": "2026-06-11T05:17:51.000Z",
    "last_seen_at_date": "2026-06-19T05:13:49.000Z"
  },
  {
    "seller_name": "Freeman Honda",
    "city": "Dallas",
    "state": "TX",
    "first_seen_at_date": "2026-08-26T04:09:35.000Z",
    "last_seen_at_date": "2026-09-02T04:02:03.000Z"
  },
  {
    "seller_name": "Freeman Toyota",
    "city": "Hurst",
    "state": "TX",
    "first_seen_at_date": "2026-09-03T07:57:30.000Z",
    "last_seen_at_date": "2026-09-04T07:55:30.000Z"
  },
  {
    "seller_name": "Freeman Toyota",
    "city": "Hurst",
    "state": "TX",
    "first_seen_at_date": "2026-11-05T07:41:40.000Z",
    "last_seen_at_date": "2026-11-12T06:42:46.000Z"
  }
]
```

### How long at each listed price
Ask for price, first_seen_at_date and last_seen_at_date in fields and each row says how long the car stood at one listed price. A row can come back with no price, and consecutive rows can carry the same one: add their days together into one price period.

Request: Seller, first and last seen dates and price for each listing of VIN 4T3RWRFV3NU052190.
```bash
curl "https://api.marketcheck.com/v2/history/car/4T3RWRFV3NU052190?api_key=YOUR_API_KEY&fields=seller_name,first_seen_at_date,last_seen_at_date,price"
```

Response (recorded Nov 13, 2026). Showing the 10 most recent of 30 listing events.
```json
[
  {
    "seller_name": "Freeman Toyota",
    "first_seen_at_date": "2026-11-05T07:41:40.000Z",
    "last_seen_at_date": "2026-11-12T06:42:46.000Z",
    "price": 24222
  },
  {
    "seller_name": "Freeman Toyota",
    "first_seen_at_date": "2026-10-22T06:40:48.000Z",
    "last_seen_at_date": "2026-11-04T07:19:42.000Z",
    "price": 24885
  },
  {
    "seller_name": "Freeman Toyota",
    "first_seen_at_date": "2026-10-11T07:09:14.000Z",
    "last_seen_at_date": "2026-10-21T06:20:24.000Z",
    "price": 25222
  },
  {
    "seller_name": "Freeman Toyota",
    "first_seen_at_date": "2026-10-06T06:54:11.000Z",
    "last_seen_at_date": "2026-10-10T07:07:10.000Z",
    "price": 25784
  },
  {
    "seller_name": "Freeman Toyota",
    "first_seen_at_date": "2026-09-29T10:39:42.000Z",
    "last_seen_at_date": "2026-10-05T05:56:09.000Z",
    "price": 25784
  },
  {
    "seller_name": "Freeman Toyota",
    "first_seen_at_date": "2026-09-09T08:25:33.000Z",
    "last_seen_at_date": "2026-09-28T07:04:40.000Z",
    "price": 26383
  },
  {
    "seller_name": "Freeman Toyota",
    "first_seen_at_date": "2026-09-05T08:00:46.000Z",
    "last_seen_at_date": "2026-09-08T07:12:21.000Z",
    "price": 26923
  },
  {
    "seller_name": "Freeman Toyota",
    "first_seen_at_date": "2026-09-03T07:57:30.000Z",
    "last_seen_at_date": "2026-09-04T07:55:30.000Z"
  },
  {
    "seller_name": "Freeman Honda",
    "first_seen_at_date": "2026-08-26T04:09:35.000Z",
    "last_seen_at_date": "2026-09-02T04:02:03.000Z",
    "price": 24248
  },
  {
    "seller_name": "Freeman Honda",
    "first_seen_at_date": "2026-08-11T04:21:42.000Z",
    "last_seen_at_date": "2026-08-25T03:52:44.000Z",
    "price": 24249
  }
]
```

## Key parameters
- `vin` (string, required): The 17-character full Vehicle Identification Number for which you want to retrieve history. Case-insensitive.
- `api_key` (string, required): Your MarketCheck API authentication key. Required for every request, unless OAuth is used.
- `fields` (string): Comma-separated list of fields to include in History API response.
- `sort_order` (string): Specifies result sort order for historical data. Allowed values: `asc` or `desc`. Default: `desc`.
- `page` (integer): Page number for paginated History API results. Default: 1.

## Questions

### What is the MarketCheck History by VIN API?
The MarketCheck History by VIN API returns the listings on record for one car. Send the VIN to /v2/history/car/{vin} and an array comes back, newest first, where each row is one listing with its listed price, miles, seller and first and last seen dates. It is a listing history, and accident and title records are not among its documented fields.

### Why does MarketCheck's History by VIN show the same dealer several times for one car?
A row in History by VIN is one listing, and one car at one dealer can have many. MarketCheck starts a new listing when the dealer changes the price or the mileage, or when the car returns after more than three days away. One stay at a dealer can therefore show as several rows, each with its own dates.

### How do I get fields that History by VIN leaves out by default, such as dom or stock_no?
MarketCheck's History by VIN returns a default set of fields, and its fields parameter, a comma-separated list, asks for others, such as dom or stock_no. The response then holds the fields you named and no others, so repeat the defaults you still need, such as price and last_seen_at_date, beside the extra ones.

### Does MarketCheck's History by VIN show when a car was sold?
No documented field of History by VIN marks a sale. A row says when one listing was first and last seen, in first_seen_at_date and last_seen_at_date. For the sales MarketCheck has inferred, use Past Inventory Search with sold=true, which covers listings that ended in the last 90 days and gives the last listed price of each.

## Related APIs
- Inventory Search: https://developers.marketcheck.com/apis/inventory-search
- Car Listing Details: https://developers.marketcheck.com/apis/listing-details
- MarketCheck Price: https://developers.marketcheck.com/apis/marketcheck-price
- VINData Title Check: https://developers.marketcheck.com/apis/title-check

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.
