214 countries and territories189 of 193 UN membersmonthly to 2026-09back to 1926
Documentation / Breakdowns / 25 of 75

Nights by accommodation

GET/v1/nights/by-accommodation

Nights split by type of accommodation for one country and period.

Developer plan and upKey requiredJSON or CSVCached until the next release
Parameters
NameTypeDescription
isorequiredstring
path
ISO 3166 two-letter country code
e.g. CL
periodoptionalperiod
query
One period; defaults to the latest finished one
e.g. 2026-08
Request
# Nights by hotels, camping, rentals and more
curl "https://api.tourismapi.com/v1/nights/by-accommodation?iso=CL&period=2026-08" \
  -H "X-API-Key: $TOURISM_API_KEY"
Ready
Example response
{
    "meta": {
        "request_id": "req_97fd15c176",
        "data_as_of": "2026-10-20T04:48:12Z",
        "count": 1,
        "country": "CL",
        "measure": "nights",
        "breakdown": "accommodation",
        "period": "2026-08",
        "freq": "M"
    },
    "data": [
        {
            "series": "sr_85g2v1ta",
            "name": "Tourist nights in Chile: hotels",
            "unit": "nights",
            "value": 1333264
        }
    ]
}
Response fields
FieldTypeExample
seriesstringsr_85g2v1ta
namestringTourist nights in Chile: hotels
unitstringnights
valuenumber1333264