161 countries and territories138 of 193 UN membersmonthly to 2026-09back to 1926
Documentation / Releases and the Monitor / 95 of 107

Data gaps

GET/v1/gaps

Every monthly country from its first figure to last month: the months held, missing, not published by the source and withheld, with the missing runs. Nothing before a country's first figure counts as missing. Free.

On every plan, Free includedKey requiredJSON or CSVCached until the next release
Parameters
NameTypeDescription
countryoptionalstring
query
One or more ISO codes, comma separated
e.g. CL,BA,AT
Request
# Which months each country is missing
curl "https://api.tourismapi.com/v1/gaps?country=CL" \
  -H "X-API-Key: $TOURISM_API_KEY"
Ready
Example response
{
    "meta": {
        "request_id": "req_9fd48108e8",
        "data_as_of": "2026-11-07T04:51:52Z",
        "count": 1,
        "months": "from each series' first figure to last month; nothing before the first figure is counted as missing",
        "kinds": {
            "missing": "inside the series, not held: being looked for",
            "not_published": "the source has no figure for the month",
            "withheld": "the source answered with no value (confidential or not available)",
            "pending": "after the latest figure: not published yet"
        },
        "page": "https://tourismapi.com/data-gaps"
    },
    "data": [
        {
            "country": "CL",
            "name": "Chile",
            "measure": "nights",
            "series": "sr_za1n785e",
            "first": "2020-07",
            "latest": "2026-08",
            "months_held": 62,
            "months_missing": 12,
            "months_not_published": 0,
            "months_withheld": 0,
            "months_pending": 2,
            "complete_pct": 83.8,
            "missing": [
                [
                    "2025-02",
                    "2025-04"
                ],
                [
                    "2025-08",
                    "2026-01"
                ],
                [
                    "2026-04",
                    "2026-04"
                ]
            ],
            "not_published": [],
            "withheld": [],
            "checked_at": "2026-11-06T09:37:10Z"
        }
    ]
}
Response fields
FieldTypeExample
countrystringCL
namestringChile
measurestringnights
seriesstringsr_za1n785e
firststring2020-07
lateststring2026-08
months_heldnumber62
months_missingnumber12
months_not_publishednumber0
months_withheldnumber0
months_pendingnumber2
complete_pctnumber83.8
missingarray3 items
not_publishedarray0 items
withheldarray0 items
checked_atstring2026-11-06T09:37:10Z