contract 2026-09-03
Endpoints

Historical inventory

Ended listings moved into the archive, separate from ended rows still in the live table. Requires the archive scope. A last observed price is not a confirmed sale price.

GET

/api/archive/auction/{site_slug}/{auction_id}

One archived auction in full

Requires the archive scope.

Parameters

site_slugstring · in the URL pathrequired

Example openlane·Where the value comes from Current API reference

auction_idinteger · in the URL pathrequired

The source's auction id, as published on the search card.

Example 38112900·Where the value comes from Current API reference

Example request

Request
GET https://api.thecarapi.com/api/archive/auction/encar/38112900

Example response

json
{
  "success": true,
  "auction": {
    "site_name": "encar",
    "auction_id": 38112900,
    "auction_id_str": "38112900",
    "archived": true,
    "archived_at": "2026-09-01T12:00:00",
    "final_price": null
  },
  "contract_version": "2026-09-03"
}
GET

/api/archive/stats

Archive coverage per source

Requires the archive scope.

Example request

Request
GET https://api.thecarapi.com/api/archive/stats

Example response

json
{
  "success": true,
  "total": 0,
  "archived_from": null,
  "archived_to": null,
  "sources": [],
  "contract_version": "2026-09-03"
}