161 countries and territories138 of 193 UN membersmonthly to 2026-09back to 1926
Documentation / Compare and rank / 47 of 107

Market share

GET/v1/share

One destination's share of arrivals from a source market across a group of destinations.

Developer plan and upKey requiredJSON or CSVCached until the next release
Parameters
NameTypeDescription
countryoptionalstring
query
One or more ISO codes, comma separated
e.g. CL,BA,AT
originoptionalstring
query
Country of residence of the visitor
e.g. DE
periodoptionalperiod
query
One period; defaults to the latest finished one
e.g. 2026-08
Request
# A destination's share of a group of markets
curl "https://api.tourismapi.com/v1/share?country=TH&origin=CN" \
  -H "X-API-Key: $TOURISM_API_KEY"
Ready
Example response
{
    "meta": {
        "request_id": "req_0a857a392e",
        "data_as_of": "2026-11-07T04:51:46Z",
        "count": 1,
        "total_from": "the sum of every market counted"
    },
    "data": {
        "country": "TH",
        "origin": "CN",
        "period": "2026-09",
        "series": "sr_w0c0m2wv",
        "unit": "tourists",
        "value": 349182,
        "total": 7753616,
        "share_pct": 4.5,
        "year_before": 321309
    }
}
Response fields
FieldTypeExample
countrystringTH
originstringCN
periodstring2026-09
seriesstringsr_w0c0m2wv
unitstringtourists
valuenumber349182
totalnumber7753616
share_pctnumber4.5
year_beforenumber321309