Поиск лота в одном источнике
GET/search-lot/{lot}/{domain}
x-api-key2 запросПараметры
lotпутьstringобязательныйCopart or IAAI lot number, or an Encar listing ID (with encar_com; up to 2147483647).
domainпутьstringобязательныйSource name: copart_com, iaai_com or encar_com. Always pass it: Copart lot numbers and Encar listing IDs can look alike.
prices_historyзапросintegerAdd price history to response (set value 1 to get prices array)
search_by_idзапросintegerSet value 1 for this parameter, if you need to search by IAAI ID instead of lot number (on URL IAAI put ID not lot number)
Ответы
- 200Car info
- 400Invalid request parameter or page size. Correct the request before retrying.
- 401Requested source is not enabled for this key.
- 403Missing, invalid, expired or inactive API key.
- 404Vehicle or lot not found.
- 429Request rate limit reached. Respect Retry-After if provided.
- 500Unexpected server error. Retry safe reads with a bounded budget.
Описания полей взяты из спецификации OpenAPI, на английском.