contract 2026-09-03
Endpoints

Search & discovery

Search live auction inventory, then resolve lightweight full-text matches. Ended lots are hidden by default; is_active=false / include_ended=true shows them as well as live ones.

GET

/api/search/auction-ids

Resolve a free-text query to matching auction ids only.

Requires the search scope.

Parameters

qstring · query string

Free-text query. An empty or missing query returns an empty list, not a 400.

Example bmw 320d touring·Where the value comes from Free text entered by your user.

Example requests

Request
GET https://api.thecarapi.com/api/search/auction-ids?q=bmw%20320d
GET https://api.thecarapi.com/api/search/auction-ids?q=kia%20ev6

Example response

json
{
  "success": true,
  "auction_ids": [
    38112900,
    11409652
  ],
  "found": 2
}

What you get back

auction_idsinteger[]

Bare auction_id values with no source attached. An id is only unambiguous if it happens to be unique across sources — which is exactly what /api/auction/{site}/{id} needs a site for. Use this as a filter, not as an addressing scheme; hydrate through /api/search?search= instead, which returns whole cards carrying site_name and auction_id_str.

foundinteger

Length of auction_ids. The whole match set is returned, capped at 10,000 ids — there is no paging.