---
title: "Guest nights per month"
method: GET
path: "/v1/tourism/guest-nights"
---

# Guest nights per month

`GET /v1/tourism/guest-nights`

## Request

- Base URL: `https://api.aleva.se`
- URL: `https://api.aleva.se/v1/tourism/guest-nights`
- Auth: one of:
  - none
  - HTTP bearer
  - API key in header `X-API-Key`

## Query parameters

- `month` string, date
- `month.gte` string, date
- `month.lte` string, date
- `origin` string
- `limit` integer
- `cursor` string

## Response `200`

OK

- object
  - `_meta` Meta, required
    - `attribution` string
    - `build_run_id` integer
    - `built_at` string, date-time
    - `endpoint` string
    - `fetched_at` string, date-time
    - `licenses` string[]
    - `sources` object[]
    - `usage_mode` string
    - `version` integer
  - `data` object[], required
    - `month` string, date
    - `nights` integer
    - `origin` string: Sverige or Utland
  - `next_cursor` string: Present when there are more rows

## Other responses

- `400`: Invalid parameters
- `401`: Missing or invalid API key
- `404`: Not found
- `429`: Rate limit reached

---

[API](https://skmtc.dev/aleva/apis/aleva-api.md) · [All operations](https://skmtc.dev/aleva/apis/aleva-api/llms.txt) · [OpenAPI document](https://skmtc.dev/aleva/apis/aleva-api/revisions/2edd15ebc4c9?raw)
