Copart Search
Copart Search API: search auction lots by keyword or URL across Copart regional sites. Returns lot listings and pagination.
Credit cost: 2 credits per call
Autorización
ApiKeyAuth x-api-key<token>
Your API key. Include it in the x-api-key header for every request.
In: header
Parámetros de consulta
query*string
Search keyword or full Copart search URL.
Examples:
chevroletaudi + region=cahttps://www.copart.co.uk/lotSearchResults?query=bmwUse Copart Lot on any result id or url for full details.
region?string
Copart regional site when query is a keyword or lot number only. Defaults to US.
Examples:
caukdepage?number
Page number (default: 1).
Range
1 <= value <= 500return_page_source?boolean
When true, return the raw HTML page source as {"result": "..."} instead of structured JSON. Defaults to false.
Cuerpo de la respuesta
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v2/copart/search?query=string"{ "results": [ { "id": "99998285", "url": "https://www.copart.com/lot/99998285/2018-chevrolet-volt-lt-ky-walton", "title": "Lot Details", "region": "www.copart.com", "image_url": "https://cs.copart.com/v1/AUTH_svc.pdoc00001/lpp/0126/c52d88ab17584eef8aaeec778bfd0cf7_thb.jpg" }, { "id": "99997735", "url": "https://www.copart.com/lot/99997735/2017-chevrolet-silverado-k1500-high-country-ky-louisville", "title": "Lot Details", "region": "www.copart.com", "image_url": "https://cs.copart.com/v1/AUTH_svc.pdoc00001/lpp/0126/24b81615824643148af9cd947ab96c3c_thb.jpg" }, { "id": "99997465", "url": "https://www.copart.com/lot/99997465/2020-transcraft-drop-deck-trailer-va-richmond", "title": "Lot Details", "region": "www.copart.com", "image_url": "https://cs.copart.com/v1/AUTH_svc.pdoc00001/lpp/0126/1d92611531ed43c89a846d17fd7a0e87_thb.jpg" } ], "pagination": { "next": "https://www.copart.com/lotSearchResults?free=true&query=chevrolet&page=2", "page": 1, "region": "www.copart.com", "keyword": "chevrolet", "per_page": 20, "total_pages": 500, "total_results": 10000 }}{ "error": "Bad Request"}{ "error": "Invalid API Key"}{ "error": "Payment required"}{ "error": "Rate limit exceeded for the API key: quota monthly"}{ "error": "Internal Error"}