# Media API Documentation

Retrieve the resolved media URLs for one vehicle: hero image, jellybean renders, 360 spin videos and interior shots.

- **Documentation:** [https://scrappa.co/docs/car-retail-listings-api/car_retail_media](https://scrappa.co/docs/car-retail-listings-api/car_retail_media)
- **API group:** Car Retail Listings API
- **Endpoint:** `GET https://scrappa.co/api/car-retail/media`

## 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 |
| --- | --- | --- | --- |
| `vehicleId` | integer | Yes | The vehicle ID returned by search. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/car-retail/media?vehicleId=4646264"
```

## Example response

```json
{
    "success": true,
    "data": {
        "media": []
    },
    "meta": {
        "endpoint_family": "media"
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 400 | The source site rejected the vehicle ID |  |
| 422 | The source site could not accept the vehicle ID |  |
| 503 | The vehicle listings source is temporarily unavailable |  |

## 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)
