# CarDekho Used Car Gallery API Documentation

Return the image gallery of up to 20 used cars in one call. Each gallery lists the full image set and the original tabs, such as images and video.

- **Documentation:** [https://scrappa.co/docs/cardekho-api/cardekho_used_gallery](https://scrappa.co/docs/cardekho-api/cardekho_used_gallery)
- **API group:** CarDekho API
- **Endpoint:** `GET https://scrappa.co/api/cardekho/v1/used-cars/gallery`

## 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 |
| --- | --- | --- | --- |
| `sku_ids` | string | Yes | Comma-separated used_car_sku_id values, up to 20. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/cardekho/v1/used-cars/gallery?sku_ids=7d716dcf-1cd6-4135-a593-2e068dbb7f2f"
```

## Example response

```json
{
    "success": true,
    "data": {
        "galleries": [
            {
                "used_car_sku_id": "7d716dcf-1cd6-4135-a593-2e068dbb7f2f",
                "source": "NORMAL",
                "image_count": 12,
                "images": [
                    "https://images10.gaadi.com/usedcar_image/5656117/original/0ea98664c0ab6436912c17fdc20488fc.jpeg?imwidth=640"
                ]
            }
        ]
    },
    "meta": {
        "endpoint_family": "gallery",
        "market": "IN"
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A public parameter or range is invalid. This response is not billable. |
| 404 | Not Found | CarDekho has no listing, price or result for the request. This response is not billable. |
| 422 | Unknown Filter | CarDekho did not recognise the city, make, fuel, transmission, body type, owner or seats value. This response is not billable. |
| 503 | Unexpected Upstream Response | CarDekho returned an unrecognized response shape. This response is not billable. |
| 503 | Upstream 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)
