Source tables
GET
/v1/tablesThe published tables behind the series for a country, with how many series each holds.
Developer plan and upKey requiredJSON or CSVCached until the next release
Parameters
| Name | Type | Description |
|---|---|---|
| countryoptional | string query | One or more ISO codes, comma separated e.g. CL,BA,AT |
| limitoptional | integer query | Rows per page, 1 to 1000 e.g. 100 |
Request
# The office tables the series come from, by country
curl "https://api.tourismapi.com/v1/tables?country=CL" \
-H "X-API-Key: $TOURISM_API_KEY"const res = await fetch("https://api.tourismapi.com/v1/tables?country=CL", {
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/tables?country=CL",
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/tables?country=CL");
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_fc141bc7cb",
"data_as_of": "2026-10-20T04:48:00Z",
"count": 12,
"country": "CL"
},
"data": [
{
"table": "Enterprises and employment in tourism",
"series": 18,
"first": "2008",
"last": "2024",
"measures": []
},
{
"table": "Chile monthly tourist accommodation survey",
"series": 15,
"first": "2026-06",
"last": "2026-08",
"measures": [
"nights",
"occupancy",
"spend"
]
},
{
"table": "Outbound tourism",
"series": 9,
"first": "2008",
"last": "2024",
"measures": [
"departures"
]
}
]
}Response fields
| Field | Type | Example |
|---|---|---|
| table | string | Enterprises and employment in tourism |
| series | number | 18 |
| first | string | 2008 |
| last | string | 2024 |
| measures | array | 0 items |