Latest rates
GET
/v1/fx/latestThe newest daily reference rate for every currency held, one row each, or for the currencies you name.
On every plan, Free includedKey requiredJSON or CSVCached until the next release
Parameters
| Name | Type | Description |
|---|---|---|
| currencyoptional | string query | Convert money to this ISO 4217 currency at each period's rate e.g. USD |
Request
# The newest exchange rate for every currency
curl "https://api.tourismapi.com/v1/fx/latest?currency=USD" \
-H "X-API-Key: $TOURISM_API_KEY"const res = await fetch("https://api.tourismapi.com/v1/fx/latest?currency=USD", {
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/fx/latest?currency=USD",
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/fx/latest?currency=USD");
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_c58d5f3cd7",
"data_as_of": "2026-10-20T04:48:19Z",
"count": 1,
"base": "EUR",
"date": "2026-10-19",
"quoted": "units of the currency per 1 EUR"
},
"data": [
{
"quote": "USD",
"rate": 1.1225
}
]
}Response fields
| Field | Type | Example |
|---|---|---|
| quote | string | USD |
| rate | number | 1.1225 |