# Copart Lot Images API Documentation

<p><strong>Copart Lot Images API Documentation</strong> 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.</p>

- **Documentation:** [https://scrappa.co/docs/copart-api/copart_lot_images](https://scrappa.co/docs/copart-api/copart_lot_images)
- **API group:** Copart API
- **Endpoint:** `GET https://scrappa.co/api/copart/lots/images`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `lot_number` | string | Yes | Copart lot number, 1 to 10 digits, e.g. 73672065. Take it from the lots search. |

## Example response

```json
{
    "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

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A query parameter is missing or invalid. This response is not billable. |
| 404 | Lot Not Found | The lot does not exist or has left the site. This response is not billable. |
| 502 | Invalid Source Response | Copart answered with an unexpected response. This response is not billable. |
| 503 | Service Unavailable | The upstream service is temporarily unavailable. Please retry shortly. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
