договор 2026-10-05
Ендпойнти

Търсене и откриване

Search live auction inventory, then resolve lightweight full-text matches. Only live lots are returned. include_ended=true also shows lots whose clock has run out but that have not been archived yet; finished auctions are searched with /api/archive/search.

Справочникът на ендпойнтите е на английски, както и самият API.

GET

/api/search/auction-ids

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

Изисква обхвата search scope.

Параметри

qstring · query string

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

Пример bmw 320d touring·Откъде идва стойността 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

Примерен отговор

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

Какво получавате

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.