Origin shift
GET
/v1/stats/origin-shiftEach origin market's share of arrivals over the latest 12 months against the 12 before, in percentage points, largest moves first.
Intel plan and upKey requiredJSON or CSVCached until the next release
Parameters
| Name | Type | Description |
|---|---|---|
| countryrequired | string query | ISO code of a country that carries this statistic (listed at /v1/countries/{iso}) e.g. JP |
| limitoptional | integer query | Rows per page, 1 to 1000 e.g. 100 |
Request
# Which markets are gaining or losing share
curl "https://api.tourismapi.com/v1/stats/origin-shift?country=JP" \
-H "X-API-Key: $TOURISM_API_KEY"const res = await fetch("https://api.tourismapi.com/v1/stats/origin-shift?country=JP", {
headers: { "X-API-Key": process.env.TOURISM_API_KEY }
});
if (!res.ok) throw new Error(`Tourism API ${res.status}`);
const { meta, data } = await res.json();
console.log(meta.data_as_of, data);import os, requests
r = requests.get(
"https://api.tourismapi.com/v1/stats/origin-shift?country=JP",
headers={"X-API-Key": os.environ["TOURISM_API_KEY"]},
timeout=10,
)
r.raise_for_status()
body = r.json()
print(body["meta"]["data_as_of"], body["data"])$ch = curl_init("https://api.tourismapi.com/v1/stats/origin-shift?country=JP");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-API-Key: " . getenv("TOURISM_API_KEY")],
]);
$body = json_decode(curl_exec($ch), true);
print_r($body["data"]);
Example response
{
"meta": {
"request_id": "req_bc1d107551",
"data_as_of": "2026-10-20T04:48:18Z",
"count": 37,
"country": "JP",
"method": {
"window": "2025-09 to 2026-08",
"against": "2024-09 to 2025-08",
"value": "change in share, points",
"lo80": "share now, percent"
}
},
"data": [
{
"origin": "China",
"share_pct": 13.05,
"change_points": -9.58
},
{
"origin": "South Korea",
"share_pct": 26.53,
"change_points": 3.83
},
{
"origin": "Taiwan",
"share_pct": 18.88,
"change_points": 2.87
}
]
}Response fields
| Field | Type | Example |
|---|---|---|
| origin | string | China |
| share_pct | number | 13.05 |
| change_points | number | -9.58 |