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

Forecast

GET/v1/stats/forecast

Holt-Winters seasonal smoothing on log values, fitted from each country's post-pandemic reopening, with 80% and 95% ranges. Every forecast carries the date it was made and its error on the last 12 published months. 47 countries.

Intel plan and upKey requiredJSON or CSVCached until the next release
Parameters
NameTypeDescription
countryrequiredstring
query
ISO code of a country that carries this statistic (listed at /v1/countries/{iso})
e.g. JP
horizonoptionalinteger
query
Months ahead, 1 to 24
e.g. 12
leveloptional80 | 95
query
Width of the range returned with each value
e.g. 80
Request
# Up to 24 months ahead, with ranges
curl "https://api.tourismapi.com/v1/stats/forecast?country=JP" \
  -H "X-API-Key: $TOURISM_API_KEY"
Ready
Example response
{
    "meta": {
        "request_id": "req_cc634468fe",
        "data_as_of": "2026-10-20T04:48:18Z",
        "count": 24,
        "country": "JP",
        "method": {
            "series": "Visitor arrivals to Japan from Total",
            "unit": "visitors",
            "first": "2003-01",
            "last": "2026-08",
            "made": "2026-10-20",
            "fitted_from": "2022-12",
            "horizon_months": 24,
            "backtest_mape_pct": 7.6,
            "method": "Holt-Winters on logs, damped slope 0.9, season started from 2017 to 2019"
        }
    },
    "data": [
        {
            "period": "2026-09",
            "value": 2799576,
            "low": 2581010,
            "high": 3036651
        },
        {
            "period": "2026-10",
            "value": 3194684,
            "low": 2847754,
            "high": 3583880
        },
        {
            "period": "2026-11",
            "value": 2975169,
            "low": 2584435,
            "high": 3424976
        }
    ]
}
Response fields
FieldTypeExample
periodstring2026-09
valuenumber2799576
lownumber2581010
highnumber3036651