Advisories scale
GET
/v1/advisories/scaleWhat every travel-advice field means: the shared levels from 0 (normal precautions) to 3 (avoid all travel), the impact grades and categories given to each dated change, and each government held with its own wording for each level and how many destinations it covers. Free, so any answer can be read.
On every plan, Free includedKey requiredJSON or CSVCached until the next release
Parameters
| Name | Type | Description |
|---|---|---|
| kindoptional | string query | One part of the key: level, impact, category or issuer; empty for all e.g. level |
Request
# Travel advice: the key
curl "https://api.tourismapi.com/v1/advisories/scale?kind=level" \
-H "X-API-Key: $TOURISM_API_KEY"const res = await fetch("https://api.tourismapi.com/v1/advisories/scale?kind=level", {
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/advisories/scale?kind=level",
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/advisories/scale?kind=level");
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_997018d0d1",
"data_as_of": "2026-11-07T04:51:41Z",
"count": 4,
"note": "level is the shared 0 to 3 scale every government is set on; impact and category are given to each dated change; issuer lists each government held and its own wording for each level."
},
"data": [
{
"kind": "level",
"code": "0",
"label": "normal precautions",
"meaning": "The government gives its usual advice: take normal precautions, as at home."
},
{
"kind": "level",
"code": "1",
"label": "caution, or advice against travel to parts",
"meaning": "Take a high degree of caution, or avoid travel to some parts of the country while the rest is open."
},
{
"kind": "level",
"code": "2",
"label": "avoid non-essential travel",
"meaning": "Avoid all but essential travel to the whole country."
}
]
}Response fields
| Field | Type | Example |
|---|---|---|
| kind | string | level |
| code | string | 0 |
| label | string | normal precautions |
| meaning | string | The government gives its usual advice: take normal precautions, as at home. |