FX sensitivity
GET
/v1/stats/fx-sensitivityYear-on-year change in arrivals from an origin set against the year-on-year change in that origin's currency, with the elasticity, R squared and months used. Coming next; listed so you can plan for it.
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 |
| originrequired | string query | Origin country whose currency is tested e.g. US |
Request
# How arrivals move with the exchange rate
curl "https://api.tourismapi.com/v1/stats/fx-sensitivity?country=JP&origin=US" \
-H "X-API-Key: $TOURISM_API_KEY"const res = await fetch("https://api.tourismapi.com/v1/stats/fx-sensitivity?country=JP&origin=US", {
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/fx-sensitivity?country=JP&origin=US",
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/fx-sensitivity?country=JP&origin=US");
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_4a89eea669",
"data_as_of": "2026-10-20T04:48:18Z",
"count": 1,
"country": "JP",
"currency": "JPY",
"method": "Year-on-year change in monthly arrivals from each market against the year-on-year change in what the destination currency costs in that market's currency (monthly average reference rates), in logs; 2020 to 2022 left out; at least 24 months."
},
"data": [
{
"origin": "US",
"name": "United States",
"currency": "USD",
"series": "sr_p4b6agqg",
"months": 226,
"elasticity": -0.47,
"correlation": -0.28,
"reading": "A 10% dearer JPY for United States travellers goes with -4.7% arrivals, all else equal."
}
]
}Response fields
| Field | Type | Example |
|---|---|---|
| origin | string | US |
| name | string | United States |
| currency | string | USD |
| series | string | sr_p4b6agqg |
| months | number | 226 |
| elasticity | number | -0.47 |
| correlation | number | -0.28 |
| reading | string | A 10% dearer JPY for United States travellers goes with -4.7% arrivals, all else equal. |