Auctions & history
Retrieve source-aware listing detail, galleries, price changes, and VIN history. A running openlane auction has its bid read from the auction house at the moment you request the detail — nothing needs to be passed to enable it. Every other listing is served at its cycle price, refreshed by the scheduled ingestion pipeline.
One vehicle: specification, condition, prices and the full photo gallery.
Requires the auctions scope.
Unversioned path, original response shape: /api/auction/{site_slug}/{auction_id}
Parameters
includestring · query stringComma-separated extras folded into this response, saving a request
each. price_history adds a top-level price_history array, exactly
the history of /api/v1/vehicles/{site}/{id}/price-history
(the key must be allowed that endpoint, else 403). With it,
max-age is at most 60. Unknown values are a 400. Omit it and the
response is unchanged.
Example price_history·Where the value comes from Listing values or your application settings.
sitestring · in the URL pathrequiredSource name returned by /api/v1/sites.
Example encar·Where the value comes from /api/v1/vehicles -> data.items[].site_name
idinteger · in the URL pathrequiredInteger auction database id.
Example 38112900·Where the value comes from /api/v1/vehicles -> data.items[].auction_id
currencystring · query stringExpress every entry of prices in this currency at the ECB reference rate. The rate used is returned as fx. prices.native is never converted. Default EUR.
Example USD·Where the value comes from An ISO 4217 code.
Example requests
GET https://api.thecarapi.com/api/v1/vehicles/encar/38112900GET https://api.thecarapi.com/api/v1/vehicles/openlane/11125938Example response
{
"success": true,
"data": {
"vehicle": {
"id": "11409652",
"site": "openlane",
"clean_make": "BMW",
"clean_model": "320d",
"model_display": "320d M Sport",
"registration_year": 2020,
"mileage": 45000,
"auction_end_at": "2026-08-20T10:00:00Z",
"images": [],
"vault_gallery": {
"images": [
{
"served_url": "/image-vault/ab/cd/openlane_11409652_00_deadbeef.avif",
"remote_url": "https://cdn.example/photo_1.jpg",
"image_status": "ready"
}
],
"count": 28,
"pending": 0
},
"vehicle_details": {},
"car_identification": {},
"live_price": {
"price": 25900,
"currency": "EUR",
"source": "openlane",
"fetched_at": "2026-08-13T22:22:30Z"
},
"prices": {
"start": null,
"current": {
"amount": 25900,
"currency": "EUR"
},
"buy_now": null,
"final": null,
"public": {
"amount": 33926,
"currency": "EUR"
},
"landed_current": {
"amount": 33566,
"currency": "EUR"
},
"landed_buy_now": null,
"current_tax": null,
"current_tax_delivery": null,
"buy_now_tax": null,
"buy_now_tax_delivery": null,
"estimated_value": null,
"native": null
}
}
}
}What you get back
data.vehicleobjectThe vehicle, with every card field plus the detail-only ones.
data.vehicle.id / sitestringThe address you asked for, echoed back. id is always a string.
data.vehicle.pricesobjectThe card prices plus current_tax, current_tax_delivery, buy_now_tax, buy_now_tax_delivery and estimated_value. Each is {amount, currency} or null.
data.vehicle.vehicle_detailsobjectCross-source normalized condition and paperwork: documents, inspection_reports, option_reports, car_reports, service_history, technical_inspection, paperwork, condition and equipment. Absent while details_pending is true.
data.vehicle.vault_galleryobjectThe full gallery — images, count and pending — the same body /api/v1/vehicles/{site}/{id}/images returns, so a detail page is one request.
data.vehicle.live_priceobjectPresent on a running auction whose bid was read from the source while this request was served: { price, currency, source, fetched_at }, with fetched_at an ISO-8601 time.
data.vehicle.details_pending / live_price_pendingbooleanTrue while the detail payload or a bid refresh is still being fetched. The response then carries poll_after_seconds and a Retry-After header: read again after that long.
data.price_historyobject[]Only with include=price_history.
Live lots that are new or changed since a moment — for keeping your own copy of the inventory in step.
Requires the changes scope.
Unversioned path, original response shape: /api/changes
Parameters
sincestring · query stringISO-8601 time to list changes from. Required unless cursor is sent.
Example 2026-10-05T09:00:00Z·Where the value comes from The next_since of your previous sync.
cursorstring · query stringRead the next page. Send it on its own, without since.
Example eyJ0IjoiMjAyNi0xMC0wNVQwOToxMjowMCIsImkiOjkxMjM0fQ·Where the value comes from next_cursor of the previous page.
limitinteger · query stringRows per page. Default 100, capped at the key’s page-size limit.
Example 100·Where the value comes from Page size chosen by your application.
site / site_excludestring · query stringOnly, or all but, these sources. Comma-separated.
Example openlane,bca·Where the value comes from /api/v1/sites -> data.items[].name
fieldsstring · query stringComma-separated fields to keep on each item. id and site are always kept. Trims a page to what you use.
Example clean_make,clean_model,prices·Where the value comes from Your choice.
formatenum · query stringcsv or ndjson returns the items as a file instead of JSON. The next cursor is in the X-Next-Cursor header and the total in X-Total-Count.
Example csv·Where the value comes from json, csv or ndjson.
currencystring · query stringExpress every entry of prices in this currency at the ECB reference rate. The rate used is returned as fx. prices.native is never converted. Default EUR.
Example USD·Where the value comes from An ISO 4217 code.
Example requests
GET https://api.thecarapi.com/api/v1/vehicles/changes?since=2026-10-05T09:00:00ZGET https://api.thecarapi.com/api/v1/vehicles/changes?since=2026-10-05T09:00:00Z&site=openlane&limit=100Example response
{
"success": true,
"data": {
"count": 1,
"next_since": "2026-10-05T09:12:00Z",
"items": [
{
"id": "11409652",
"site": "openlane",
"clean_make": "BMW",
"clean_model": "320d",
"change": "updated",
"changed_at": "2026-10-05T09:12:00Z",
"prices": {
"start": null,
"current": {
"amount": 26400,
"currency": "EUR"
},
"buy_now": null,
"final": null,
"public": {
"amount": 34480,
"currency": "EUR"
},
"landed_current": null,
"landed_buy_now": null,
"native": null
}
}
]
},
"pagination": {
"total": null,
"limit": null,
"offset": null,
"page": null,
"page_size": null,
"total_pages": null,
"max_page": null,
"next_cursor": null
},
"contract_version": "2026-10-05"
}What you get back
data.items[]object[]Vehicles, oldest change first, each with change and changed_at.
data.items[].changeenumnew when the lot was first seen in the window, otherwise updated.
pagination.next_cursorstring | nullSend back as cursor for the next page; null when you have read every change.
data.next_sincestringOnce pagination.next_cursor is null: store this and pass it as since on your next sync.
Up to 100 vehicles in one request. POST takes the same ids in a JSON body ({"ids": ["site:id", ...]}) when the list is too long for a URL.
Requires the auctions scope.
Unversioned path, original response shape: /api/auction/batch
Parameters
idsstring · query string or JSON bodyrequiredComma-separated site:id pairs, at most 100. Duplicates are ignored. A malformed pair, or more than 100, is a 400.
Example openlane:11409652,encar:38112900·Where the value comes from site and id of cars you already hold
fieldsstring · query string or JSON bodyComma-separated fields to keep on each item. id and site are always kept. Trims a page to what you use.
Example clean_make,clean_model,prices·Where the value comes from Your choice.
formatenum · query string or JSON bodycsv or ndjson returns the items as a file instead of JSON. The next cursor is in the X-Next-Cursor header and the total in X-Total-Count.
Example csv·Where the value comes from json, csv or ndjson.
currencystring · query string or JSON bodyExpress every entry of prices in this currency at the ECB reference rate. The rate used is returned as fx. prices.native is never converted. Default EUR.
Example USD·Where the value comes from An ISO 4217 code.
Example requests
GET | POST https://api.thecarapi.com/api/v1/vehicles/batch?ids=openlane:11409652,encar:38112900GET | POST https://api.thecarapi.com/api/v1/vehicles/batch?ids=copart:50590868,auto1:10765001,bca:1234567Example response
{
"success": true,
"data": {
"requested": 2,
"found": 1,
"missing": [
{
"id": "encar:38112900",
"reason": "not_found"
}
],
"items": [
{
"id": "11409652",
"site": "openlane",
"clean_make": "BMW",
"clean_model": "320d",
"vault_gallery": {
"images": [],
"count": 28,
"pending": 0
},
"prices": {
"start": null,
"current": {
"amount": 25900,
"currency": "EUR"
},
"buy_now": null,
"final": null,
"public": {
"amount": 33926,
"currency": "EUR"
},
"landed_current": null,
"landed_buy_now": null,
"current_tax": null,
"current_tax_delivery": null,
"buy_now_tax": null,
"buy_now_tax_delivery": null,
"estimated_value": null,
"native": null
}
}
]
}
}What you get back
data.items[]object[]Each entry is exactly the data.vehicle object /api/v1/vehicles/{site}/{id} returns, in the order of ids.
data.missing{id, reason}[]Ids that could not be served, with reason not_found or site_not_allowed. One bad id never fails the request.
data.requested / foundintegerHow many distinct ids were asked for and how many came back.
Every recorded price movement for one listing, oldest first.
Requires the auctions scope.
Unversioned path, original response shape: /api/auction/{site_slug}/{auction_id}/price-history
Parameters
sitestring · in the URL pathrequiredAuction source slug.
Example encar·Where the value comes from /api/v1/vehicles -> data.items[].site_name
idinteger · in the URL pathrequiredAuction database id.
Example 38112900·Where the value comes from /api/v1/vehicles -> data.items[].auction_id
fieldsstring · query stringComma-separated fields to keep on each item. id and site are always kept. Trims a page to what you use.
Example clean_make,clean_model,prices·Where the value comes from Your choice.
formatenum · query stringcsv or ndjson returns the items as a file instead of JSON. The next cursor is in the X-Next-Cursor header and the total in X-Total-Count.
Example csv·Where the value comes from json, csv or ndjson.
Example requests
GET https://api.thecarapi.com/api/v1/vehicles/encar/38112900/price-historyGET https://api.thecarapi.com/api/v1/vehicles/openlane/11125938/price-historyExample response
{
"success": true,
"data": {
"site": "encar",
"source_auction_id": "38112900",
"items": [
{
"event_type": "initial",
"source_auction_id": "38112900",
"changed_fields": [
"current",
"public"
],
"observed_at": "2026-07-10T08:00:00",
"created_at": "2026-07-10T08:00:05",
"prices": {
"start": null,
"current": {
"amount": 21500,
"currency": "EUR"
},
"buy_now": null,
"final": null,
"public": {
"amount": 21500,
"currency": "EUR"
},
"landed_current": null,
"landed_buy_now": null
}
}
],
"id": "38112900"
}
}What you get back
data.items[].event_typeenumExactly three values: initial (the first prices we ever recorded for this lot), baseline (the state before the first observed change, written once so a series never starts mid-move), and change (a subsequent movement). There is no price_change value — a client matching on that has been discarding every event.
data.items[].changed_fieldsstring[]Which price fields moved in this event. Always an array, empty on a baseline row.
data.items[].prices.current / data.items[].prices.buy_now / data.items[].prices.start / data.items[].prices.final / data.items[].prices.landed_current / data.items[].prices.landed_buy_now / data.items[].prices.publicnumber | nullThe full price snapshot as of observed_at. JSON numbers or null.
data.items[].observed_attimestampWhen the change was observed. The field to plot against.
data.items[].created_attimestampWhen the row was written. Within seconds of observed_at; not a second data point.
Ordered gallery metadata backed by the image vault. Usually unnecessary — the same body rides on the auction detail response as vault_gallery.
Requires the auctions scope.
Unversioned path, original response shape: /api/auction-images/{site_slug}/{auction_id}
Parameters
sitestring · in the URL pathrequiredAuction source slug.
Example encar·Where the value comes from /api/v1/vehicles -> data.items[].site_name
idinteger · in the URL pathrequiredAuction database id.
Example 38112900·Where the value comes from /api/v1/vehicles -> data.items[].auction_id
fieldsstring · query stringComma-separated fields to keep on each item. id and site are always kept. Trims a page to what you use.
Example clean_make,clean_model,prices·Where the value comes from Your choice.
formatenum · query stringcsv or ndjson returns the items as a file instead of JSON. The next cursor is in the X-Next-Cursor header and the total in X-Total-Count.
Example csv·Where the value comes from json, csv or ndjson.
Example requests
GET https://api.thecarapi.com/api/v1/vehicles/encar/38112900/imagesGET https://api.thecarapi.com/api/v1/vehicles/openlane/11125938/imagesExample response
{
"success": true,
"data": {
"count": 1,
"pending": 12,
"items": [
{
"url": "https://cdn.example/photo_1.jpg",
"remote_url": "https://cdn.example/photo_1.jpg",
"served_url": "/image-vault/ab/cd/openlane_11125938_00_deadbeef.avif",
"thumbnail": "/image-vault/ab/cd/openlane_11125938_00_deadbeef.avif",
"image_status": "ready",
"image_source": "downloaded",
"index": 0,
"is_primary": true,
"source_section": "exterior",
"width": 1024,
"height": 768
}
]
}
}What you get back
data.countintegerHow many photos this response carries.
data.pendingintegerHow many photos the auction still owes. Show placeholders for these instead of a silently short gallery.
data.items[].urlstringThe best URL available right now — served_url once vaulted, remote_url until then.
data.items[].served_urlstringA path, not an absolute URL. It begins /image-vault/… and is relative to the API base, so join it: https://api.thecarapi.com + served_url. Load this directly once the photo is stored.
data.items[].remote_urlstringAlways absolute — the source’s own URL. Load this through an image proxy until the photo is vaulted.
data.items[].image_statusenumready, pending, downloading, failed, blocked, or not_downloaded — but on this endpoint it is always ready, because only stored photos are listed at all. The other values appear on the image annotations attached to search cards, where a photo can still be in flight. failed and blocked mean the photo exhausted its retries and is not counted in pending, so a gallery can settle with pending: 0 and still be shorter than picture_count.
data.items[].image_sourceenumdownloaded (in the vault) or proxied (still served from the source).
data.items[].index / data.items[].is_primaryinteger / booleanGallery order and which photo is the thumbnail.
data.items[].source_sectionstringSection the source filed the photo under, e.g. exterior, interior, damage.
data.items[].width / data.items[].heightintegerPixel dimensions of the stored photo.
data.items[].servedUrl / data.items[].thumbnailUrl / data.items[].image_indexstring | integercamelCase and legacy twins of served_url, thumbnail and index, kept for older clients and always equal to their counterparts. Prefer the snake_case names — the twins may be retired.
data.items[].local_status / data.items[].local_rel_pathstringlocal_status is the same value as image_status; local_rel_path is the vault path served_url is built from.
Look up a full VIN across current and archived auction records.
Requires the auctions scope.
Unversioned path, original response shape: /api/vin/{vin}/history
Parameters
vinstring · in the URL pathrequiredValid 17-character VIN. Matching ignores punctuation and case in the stored VIN, so a source that wrote it with separators still matches.
Example WBA8E9G50GNU12345·Where the value comes from /api/v1/vehicles/{site}/{id} -> data.vehicle.chassis_number
fieldsstring · query stringComma-separated fields to keep on each item. id and site are always kept. Trims a page to what you use.
Example clean_make,clean_model,prices·Where the value comes from Your choice.
formatenum · query stringcsv or ndjson returns the items as a file instead of JSON. The next cursor is in the X-Next-Cursor header and the total in X-Total-Count.
Example csv·Where the value comes from json, csv or ndjson.
currencystring · query stringExpress every entry of prices in this currency at the ECB reference rate. The rate used is returned as fx. prices.native is never converted. Default EUR.
Example USD·Where the value comes from An ISO 4217 code.
Example requests
GET https://api.thecarapi.com/api/v1/vin/WBA8E9G50GNU12345/historyGET https://api.thecarapi.com/api/v1/vin/KNAB3811ALT123456/historyExample response
{
"success": true,
"data": {
"vin": "WBA8E9G50GNU12345",
"match_count": 2,
"items": [
{
"id": "38112900",
"site": "encar",
"clean_make": "BMW",
"clean_model": "320d",
"mileage": 45000,
"first_seen_at": "2026-06-01T00:00:00",
"last_seen_at": "2026-07-10T00:00:00",
"archived": false,
"source_auction_id": "38112900",
"prices": {
"start": null,
"current": null,
"buy_now": null,
"final": null,
"public": {
"amount": 21500,
"currency": "EUR"
},
"landed_current": null,
"landed_buy_now": null,
"native": null
}
}
]
}
}What you get back
data.items[].decoded.specsobjectWhat the VIN decodes to, whether or not we ever listed it: make, model, model_year, body, fuel, engine_cc, power_kw, power_hp, transmission, drivetrain, doors, seats, steering, colour, co2_g_km, emission_standard, derivative (trim), equipment and more. A field that could not be decoded is absent. decoded is null when the decoder could not answer; the matches are unaffected.
data.items[].decoded.uncertainobjectA notice for each field in decoded.specs that is an estimate from cars with a similar VIN and was right less than 9 times in 10 in our tests. Confirm those against the vehicle documents.
data.items[].decoded.estimatedstring[]The fields in decoded.specs read from cars with a similar VIN, the make or the model catalogue rather than from this VIN or a record of this car.
data.items[].decoded.possible_versionsobject[]The versions the car may be, none confirmed for it: name, engine_cc, power_kw, power_hp, fuel, transmission, body and year as stated. cars counts the listed cars with a VIN like this one that have that engine (absent on catalogue versions). Most European VINs do not encode the engine, so this is where engine and power come from when specs has none. Those agreeing with every decoded figure come first (match).
data.items[].site / data.items[].id / data.items[].source_auction_idstring | integerWhich source and lot. source_auction_id is the Auto1 batch id where one exists, otherwise the auction id as text.
data.items[].chassis_numberstringThe VIN as the source published it (punctuation and case as stored).
data.items[].clean_make / data.items[].clean_model / data.items[].model_displaystringNormalized identity.
data.items[].date_first_registration / data.items[].mileagestring | integerRegistration date and the mileage recorded on that appearance.
data.items[].prices.current / data.items[].prices.buy_now / data.items[].prices.start / data.items[].prices.final / data.items[].prices.landed_current / data.items[].prices.landed_buy_now / data.items[].prices.publicnumber | nullThe whole price block. JSON numbers or null.
data.items[].currency_code_idstringCurrency of the source-side figures.
data.items[].first_seen_at / data.items[].last_seen_at / data.items[].last_available_at / data.items[].created_at / data.items[].updated_at / data.items[].archived_attimestamp | nullLifecycle. archived_at is null on a live row.
data.items[].is_active / data.items[].offer_linkboolean | stringWhether the lot is still open, and its listing URL.
data.items[].archivedbooleanTrue when this appearance comes from the archive rather than live inventory.