# KAYAK Stay Media

Resolve qualified property thumbnail media without calendar data.

- **Documentation:** [https://scrappa.co/docs/kayak-api/kayak_stays_media](https://scrappa.co/docs/kayak-api/kayak_stays_media)
- **API group:** KAYAK API
- **Endpoint:** `GET https://scrappa.co/api/kayak/stays/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 |
| --- | --- | --- | --- |
| `hotel_ids` | array | Yes | See the endpoint contract for the qualified value format and supported range. |
| `width` | number | No | See the endpoint contract for the qualified value format and supported range. |
| `height` | number | No | See the endpoint contract for the qualified value format and supported range. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/kayak/stays/media?hotel_ids%5B0%5D=15297"
```

## Example response

```json
{
    "success": true,
    "operation": "stays.media",
    "data": {
        "results": [],
        "search_state": [],
        "warnings": [],
        "provenance": {
            "provider": "KAYAK",
            "freshness": "live"
        },
        "source_data": {
            "kayak": []
        }
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error |  |
| 502 | Temporarily Unavailable |  |
| 503 | Capacity 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)
