Skip to content
Scrappa Get API key
Copart API 1 credit/request

Copart Lot Images API Documentation

GET https://scrappa.co/api/copart/lots/images

Copart Lot Images API Documentation Retrieve the photos of one public Copart lot by lot number, ordered by sequence. Each photo has a thumbnail url, a full size url, a high resolution url and a type code. All urls are https links on the Copart image host. An unknown lot is a non-billable 404.

Copart Lot Images API Documentation 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/copart/lots/images
Auth header
x-api-key
Cost
1 credit/request
lot_number = example
Response preview
200 OK
{
    "data": {
        "total": 3,
        "images": [
            {
                "url": "https://cs.copart.com/v1/AUTH_svc.pdoc00001/ids-c-prod-lpp/0226/426146574f484073bb7768cc26f78005_ful.jpg",
                "type": "IMG",
                "sequence": 1,
                "high_res_url": "https://cs.copart.com/v1/AUTH_svc.pdoc00001/ids-c-prod-lpp/0226/426146574f484073bb7768cc26f78005_hrs.jpg",
                "thumbnail_url": "https://cs.copart.com/v1/AUTH_svc.pdoc00001/ids-c-prod-lpp/0226/426146574f484073bb7768cc26f78005_thb.jpg"
            },
            {
                "url": "https://cs.copart.com/v1/AUTH_svc.pdoc00001/ids-c-prod-lpp/0226/afe6d7360227419cb7a7346e43d6b2bf_ful.jpg",
                "type": "IMG",
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

1 required parameter needed before sending a request.

lot_number string Required

Copart lot number, 1 to 10 digits, e.g. 73672065. Take it from the lots search.

Example value example

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "data": {
        "total": 3,
        "images": [
            {
                "url": "https://cs.copart.com/v1/AUTH_svc.pdoc00001/ids-c-prod-lpp/0226/426146574f484073bb7768cc26f78005_ful.jpg",
                "type": "IMG",
                "sequence": 1,
                "high_res_url": "https://cs.copart.com/v1/AUTH_svc.pdoc00001/ids-c-prod-lpp/0226/426146574f484073bb7768cc26f78005_hrs.jpg",
                "thumbnail_url": "https://cs.copart.com/v1/AUTH_svc.pdoc00001/ids-c-prod-lpp/0226/426146574f484073bb7768cc26f78005_thb.jpg"
            },
            {
                "url": "https://cs.copart.com/v1/AUTH_svc.pdoc00001/ids-c-prod-lpp/0226/afe6d7360227419cb7a7346e43d6b2bf_ful.jpg",
                "type": "IMG",
                "sequence": 2,
                "high_res_url": "https://cs.copart.com/v1/AUTH_svc.pdoc00001/ids-c-prod-lpp/0226/afe6d7360227419cb7a7346e43d6b2bf_hrs.jpg",
                "thumbnail_url": "https://cs.copart.com/v1/AUTH_svc.pdoc00001/ids-c-prod-lpp/0226/afe6d7360227419cb7a7346e43d6b2bf_thb.jpg"
            },
            {
                "url": "https://cs.copart.com/v1/AUTH_svc.pdoc00001/ids-c-prod-lpp/0226/f00fb65875e14458ba43cad7b15eb591_ful.jpg",
                "type": "IMG",
                "sequence": 3,
                "high_res_url": "https://cs.copart.com/v1/AUTH_svc.pdoc00001/ids-c-prod-lpp/0226/f00fb65875e14458ba43cad7b15eb591_hrs.jpg",
                "thumbnail_url": "https://cs.copart.com/v1/AUTH_svc.pdoc00001/ids-c-prod-lpp/0226/f00fb65875e14458ba43cad7b15eb591_thb.jpg"
            }
        ],
        "lot_number": 73672065
    },
    "meta": {
        "billable": true,
        "endpoint_family": "lot_images"
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

422

Validation Error

A query parameter is missing or invalid. This response is not billable.

{
    "errors": {
        "lot_number": [
            "A lot number is 1 to 10 digits, e.g. 73672065."
        ]
    },
    "message": "The request validation failed"
}
404

Lot Not Found

The lot does not exist or has left the site. This response is not billable.

{
    "meta": {
        "billable": false,
        "retryable": false,
        "endpoint_family": "lot_images"
    },
    "error": {
        "code": "NOT_FOUND",
        "message": "The requested Copart lot was not found."
    },
    "success": false
}
502

Invalid Source Response

Copart answered with an unexpected response. This response is not billable.

{
    "meta": {
        "billable": false,
        "retryable": true,
        "endpoint_family": "lot_images"
    },
    "error": {
        "code": "PARSER_DRIFT",
        "message": "Copart answered with an unexpected response. Please retry later."
    },
    "success": false
}
503

Service Unavailable

The upstream service is temporarily unavailable. Please retry shortly.

{
    "meta": {
        "billable": false,
        "retryable": true,
        "endpoint_family": "lot_images"
    },
    "error": {
        "code": "UPSTREAM_UNAVAILABLE",
        "message": "The Copart API is temporarily unavailable. Please retry."
    },
    "success": false
}

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.