# Get availability

Get an Airbnb stay's availability calendar, check-in and check-out eligibility, and stay-length rules. Use stay search with dates for prices.

- Platform: Airbnb
- Request: `GET https://api.toolzerhub.com/v1/airbnb/stay/availability`
- Auth: `x-api-key` header
- Cost: 1 credit per successful request. Failed requests are not billed.
- Page: https://docs.toolzerhub.com/reference/airbnb/stay/get-airbnb-stay-availability

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `stay_id` | query | yes | string | Listing ID from the id field in a stay search result. |
| `months` | query | no | integer | Number of whole calendar months to return. Default: 12. |
| `start_month` | query | no | integer | Month to start from (1-12). Defaults to the current month. Must be given together with start_year. |
| `start_year` | query | no | integer | Year to start from. Defaults to the current year. Must be given together with start_month. |

## Example request

```bash
curl "https://api.toolzerhub.com/v1/airbnb/stay/availability?stay_id=<stay_id>" \
  -H "x-api-key: $TOOLZERHUB_API_KEY"
```

Success responses are wrapped as `{ "data": ... }`. Errors return `{ "error": { "code", "status", "message", "retryable", "details" } }`. See https://docs.toolzerhub.com/docs/responses-and-errors.
