Retrieve a vehicle and its matching records with a Copart or IAAI lot number or an Encar listing ID. Searches active and archived listings.
Pass the source lot number from lots[].lot as {lot} and copart_com, iaai_com or encar_com as {domain}. The lot number is a source identifier, distinct from data.id and lots[].id. Copart and IAAI lots carry buyer_country, the winning buyer's country as a lowercase ISO code (for example mx), when it is known.
For Encar pass the listing ID with encar_com (up to 2147483647). When the ID was re-listed, the linked listing is returned. Always pass the source: Copart lot numbers and Encar listing IDs can look alike.
For a source external vehicle ID, such as the IAAI ID in a listing URL, set search_by_id=1 and pass that ID as {lot}. Numeric external IDs use prefix matching; nonnumeric ones must match exactly.
Returns HTTP 400 for an invalid lot format, HTTP 401 for a source unavailable to your account and HTTP 404 when nothing matches.
1Change the values below
2The request on the right updatesThe request above updates
3Run it live with your key
Path parameters
string · required
Source lot number or Encar listing ID: digits with an optional final letter. Use the source external ID instead only when search_by_id=1. This is not the internal record ID.
string · required
Source: copart_com for Copart, iaai_com for IAAI or encar_com for Encar.
Query parameters 2
integer · 0–1
Set 1 to include the prices history array for each lot. Omit or use 0 for the standard response.
integer · 0–1
Set 1 to interpret {lot} as external_id (for example the IAAI vehicle ID in its URL). Numeric external IDs use prefix matching; nonnumeric ones an exact match.