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

Trend

GET/v1/stats/trend

Each month with the seasonal swing taken out, plus the underlying trend, so one month can be read against the last without the calendar getting in the way. Classical multiplicative decomposition on a 2x12 centred average. 51 countries.

Analyst 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
fromoptionalperiod
query
First month to return
e.g. 2024-01
Request
# Seasonally adjusted figures and the trend
curl "https://api.tourismapi.com/v1/stats/trend?country=JP" \
  -H "X-API-Key: $TOURISM_API_KEY"
Ready
Example response
{
    "meta": {
        "request_id": "req_0377f162f0",
        "data_as_of": "2026-10-20T04:48:18Z",
        "count": 96,
        "country": "JP",
        "method": {
            "series": "Visitor arrivals to Japan from Total",
            "unit": "visitors",
            "first": "2003-01",
            "last": "2026-08",
            "seasonal_factors": {
                "03": 0.9303,
                "04": 1.0119,
                "05": 0.9185,
                "06": 0.8245,
                "07": 0.9821,
                "08": 0.885,
                "09": 0.8662,
                "10": 1.0731,
                "11": 1.0974,
                "12": 1.2396,
                "01": 1.3019,
                "02": 0.8696
            },
            "method": "multiplicative decomposition, 2x12 centred average"
        }
    },
    "data": [
        {
            "period": "2018-09",
            "adjusted": 2493188.1
        },
        {
            "period": "2018-10",
            "adjusted": 2460823.7
        },
        {
            "period": "2018-11",
            "adjusted": 2233298.6
        }
    ]
}
Response fields
FieldTypeExample
periodstring2018-09
adjustednumber2493188.1