214 countries and territories189 of 193 UN membersmonthly to 2026-09back to 1926
Statistics / Analyst / Stay length

Tourism stay length API

Stay length,
how many nights does each visitor stay

Nights per arrival, month by month, wherever one table holds both, so a market that stays longer shows up even when arrivals are flat.

2Countries
AnalystPlan
$99A month
388Values
NightlyRebuilt
JSON, CSVFormats

Bosnia and Herzegovina

How it is made

seriestourist arrivals in bosnia and herzegovina: total
unitnights per arrival
RebuiltEvery night, 03:47 UTC

Every field it returns

Each row of data, and what meta.method carries beside it, so a number is never without its source.

FieldTypeExampleWhat it means
periodstring2026-07The month, YYYY-MM.
nights_per_arrivalnumber3.42Nights spent divided by arrivals, in the same table.
meta.method.seriesstringtourist arrivals in bosnia and herzegovina: totalThe table both figures come from.
meta.method.unitstringnights per arrivalNights per arrival.

Parameters

2 in all.

ParameterValuesDefaultUse
countryISO coderequiredOne country per call.
fromYYYY-MMallThe first month to return.

The call

JSON by default, CSV with format=csv.

# Stay length for Bosnia and Herzegovina
curl "https://api.tourismapi.com/v1/stats/stay-length?country=BA" \
  -H "X-API-Key: $TOURISM_API_KEY"

Every country with stay length

From the nightly build. The first three rows are open; 0 more come with Analyst.

Analyst
CountryLatest monthNights per arrivalA year beforeActions
Croatia2026-085.575.67
Bosnia and Herzegovina2026-082.182.17

What stay length is for

Four buyers, four calls.

Hotel groups

Plan room nights, not only guests.

nights_per_arrival
Tourism boards

Show longer stays as a win.

country=HR
Analysts

Split growth into more visitors and longer stays.

from=2019-01
Rentals

Size stays by season.

period

Pairs well with

The statistics that answer the next question.

What each plan gets

Every plan reads the same figures; this statistic comes with Analyst and up.

FreeDeveloper $49Analyst $99Intel $199
Stay lengthnot includednot includedincludedincluded
The figures it is worked froma year backten years, latest monthfull historyfull history
Trend, recovery, benchmark, stay lengthnot includednot includedincludedincluded
Forecast, nowcast, anomalies, origin shift, concentrationnot includednot includednot includedincluded
Calls a month1,00050,000250,0001,000,000
Calls a minute1060120300

Stay length for 2 countries, $99 a month.

Includes trend, recovery, benchmark and stay length, and everything in the plans below it. Ten months for the price of twelve when paid yearly. Cancel any time.