curl --request POST \
--url https://api.aisa.one/apis/v1/untourism-int/statistics/data \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"indicator_codes": [
"INBD_EXPD_BPAY_TOTL_VSTR"
]
}
'import requests
url = "https://api.aisa.one/apis/v1/untourism-int/statistics/data"
payload = { "indicator_codes": ["INBD_EXPD_BPAY_TOTL_VSTR"] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({indicator_codes: ['INBD_EXPD_BPAY_TOTL_VSTR']})
};
fetch('https://api.aisa.one/apis/v1/untourism-int/statistics/data', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/untourism-int/statistics/data",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'indicator_codes' => [
'INBD_EXPD_BPAY_TOTL_VSTR'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/untourism-int/statistics/data"
payload := strings.NewReader("{\n \"indicator_codes\": [\n \"INBD_EXPD_BPAY_TOTL_VSTR\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/untourism-int/statistics/data")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"indicator_codes\": [\n \"INBD_EXPD_BPAY_TOTL_VSTR\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/untourism-int/statistics/data")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"indicator_codes\": [\n \"INBD_EXPD_BPAY_TOTL_VSTR\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"catalog_version": "2026-09-11",
"complete": true,
"count": 1,
"countries_m49": [
724
],
"files": [
{
"changed_since_catalog": false,
"edition": "12.2025",
"etag": "97538b097e596a427f2967a2eaaf3630",
"file_id": "inbound_expenditure",
"release_label": "23 December 2025",
"rows_in_file": 13987,
"source_updated_at": "2026-01-02T13:06:42Z",
"url": "https://pre-webunwto.s3.amazonaws.com/s3fs-public/2025-12/UN_Tourism_inbound_expenditure_12_2025.xlsx",
"version_id": "htMhLThP8bDcgtu2mdezemsaX7fMlQUq"
}
],
"indicator_codes": [
"INBD_EXPD_BPAY_TOTL_VSTR"
],
"license": "UN Tourism content is copyrighted. The free Key Tourism Statistics files are provided for non-commercial use with attribution (see the file's suggested citation); redistribution requires permission from UN Tourism. Terms: https://www.untourism.int/copyright",
"next_cursor": null,
"observed_at_ms": 1789084800000,
"offset": 0,
"page_size": 100,
"records": [
{
"area_kind": "country",
"country": "Spain",
"edition": "12.2025",
"file_id": "inbound_expenditure",
"flag": null,
"flag_label": null,
"id": "inbound_expenditure|INBD_EXPD_BPAY_TOTL_VSTR|724|999|2024",
"indicator_code": "INBD_EXPD_BPAY_TOTL_VSTR",
"indicator_name": "inbound - expenditure - balance of payments - total - visitors",
"indicator_previous_code": "CP_1_33",
"iso3": "ESP",
"m49_code": 724,
"notes": "Calculated as sum of the travel and passenger transport components",
"observed_at_ms": 1789084800000,
"partner_area": "World",
"partner_area_code": 999,
"provisional": false,
"release_date": "2025-12-23",
"series_note": "Calculated as sum of the travel and passenger transport components",
"source": null,
"source_file": "https://pre-webunwto.s3.amazonaws.com/s3fs-public/2025-12/UN_Tourism_inbound_expenditure_12_2025.xlsx",
"source_updated_at": "2026-01-02T13:06:42Z",
"source_url": "https://www.untourism.int/tourism-statistics/tourism-data-inbound-tourism",
"unit": "million US dollars (nominal values)",
"unit_note": "multiplier 1,000,000; currency USD; nominal (current) prices",
"value": "106656.535197297",
"value_number": 106656.535197297,
"year": 2024
}
],
"retrieved_at": "2026-09-11T00:00:00Z",
"schema_version": "1.0.0",
"source_updated_at": "2026-01-02T13:06:42Z",
"total": 1,
"warnings": [],
"year_from": 2024,
"year_to": 2024
}Data
Country-year observations for up to 10 indicator codes (from indicators), parsed live from the official Excel files: value as source text (null for blank/suppressed cells with the reason in series_note), unit copied from the file, SDMX flag and label, provisional marker, country as ISO3 + M49 + label, file edition and publication date. Filter by ISO3 countries, year_from/year_to and, for arrivals-by-region, partner (total | all | UN Tourism region code). Cursor-paginated, deterministic order.
curl --request POST \
--url https://api.aisa.one/apis/v1/untourism-int/statistics/data \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"indicator_codes": [
"INBD_EXPD_BPAY_TOTL_VSTR"
]
}
'import requests
url = "https://api.aisa.one/apis/v1/untourism-int/statistics/data"
payload = { "indicator_codes": ["INBD_EXPD_BPAY_TOTL_VSTR"] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({indicator_codes: ['INBD_EXPD_BPAY_TOTL_VSTR']})
};
fetch('https://api.aisa.one/apis/v1/untourism-int/statistics/data', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/untourism-int/statistics/data",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'indicator_codes' => [
'INBD_EXPD_BPAY_TOTL_VSTR'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/untourism-int/statistics/data"
payload := strings.NewReader("{\n \"indicator_codes\": [\n \"INBD_EXPD_BPAY_TOTL_VSTR\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/untourism-int/statistics/data")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"indicator_codes\": [\n \"INBD_EXPD_BPAY_TOTL_VSTR\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/untourism-int/statistics/data")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"indicator_codes\": [\n \"INBD_EXPD_BPAY_TOTL_VSTR\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"catalog_version": "2026-09-11",
"complete": true,
"count": 1,
"countries_m49": [
724
],
"files": [
{
"changed_since_catalog": false,
"edition": "12.2025",
"etag": "97538b097e596a427f2967a2eaaf3630",
"file_id": "inbound_expenditure",
"release_label": "23 December 2025",
"rows_in_file": 13987,
"source_updated_at": "2026-01-02T13:06:42Z",
"url": "https://pre-webunwto.s3.amazonaws.com/s3fs-public/2025-12/UN_Tourism_inbound_expenditure_12_2025.xlsx",
"version_id": "htMhLThP8bDcgtu2mdezemsaX7fMlQUq"
}
],
"indicator_codes": [
"INBD_EXPD_BPAY_TOTL_VSTR"
],
"license": "UN Tourism content is copyrighted. The free Key Tourism Statistics files are provided for non-commercial use with attribution (see the file's suggested citation); redistribution requires permission from UN Tourism. Terms: https://www.untourism.int/copyright",
"next_cursor": null,
"observed_at_ms": 1789084800000,
"offset": 0,
"page_size": 100,
"records": [
{
"area_kind": "country",
"country": "Spain",
"edition": "12.2025",
"file_id": "inbound_expenditure",
"flag": null,
"flag_label": null,
"id": "inbound_expenditure|INBD_EXPD_BPAY_TOTL_VSTR|724|999|2024",
"indicator_code": "INBD_EXPD_BPAY_TOTL_VSTR",
"indicator_name": "inbound - expenditure - balance of payments - total - visitors",
"indicator_previous_code": "CP_1_33",
"iso3": "ESP",
"m49_code": 724,
"notes": "Calculated as sum of the travel and passenger transport components",
"observed_at_ms": 1789084800000,
"partner_area": "World",
"partner_area_code": 999,
"provisional": false,
"release_date": "2025-12-23",
"series_note": "Calculated as sum of the travel and passenger transport components",
"source": null,
"source_file": "https://pre-webunwto.s3.amazonaws.com/s3fs-public/2025-12/UN_Tourism_inbound_expenditure_12_2025.xlsx",
"source_updated_at": "2026-01-02T13:06:42Z",
"source_url": "https://www.untourism.int/tourism-statistics/tourism-data-inbound-tourism",
"unit": "million US dollars (nominal values)",
"unit_note": "multiplier 1,000,000; currency USD; nominal (current) prices",
"value": "106656.535197297",
"value_number": 106656.535197297,
"year": 2024
}
],
"retrieved_at": "2026-09-11T00:00:00Z",
"schema_version": "1.0.0",
"source_updated_at": "2026-01-02T13:06:42Z",
"total": 1,
"warnings": [],
"year_from": 2024,
"year_to": 2024
}Request contract
- Method and path: POST /apis/v1/untourism-int/statistics/data
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/untourism-int/statistics/data
{
"operationId": "untourism-int.statistics.data",
"method": "POST",
"path": "/apis/v1/untourism-int/statistics/data",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"countries": [
"ESP"
],
"indicator_codes": [
"INBD_EXPD_BPAY_TOTL_VSTR"
],
"year_from": 2024,
"year_to": 2024
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"countries": {
"description": "ISO 3166-1 alpha-3 codes. Omit or empty for every reporter (countries, territories and, in the SDG files, regional aggregates).",
"items": {
"type": "string"
},
"type": "array",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"cursor": {
"description": "next_cursor from the previous page of the same query.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"indicator_codes": {
"description": "Indicator codes such as INBD_TRIP_TOTL_TOTL_TOUR (international tourist arrivals, overnight). Legacy Compendium codes such as CP_1_2 are accepted when a free equivalent exists. Codes spanning more than 3 source files are rejected.",
"items": {
"type": "string"
},
"type": "array"
},
"page_size": {
"default": 100,
"description": "page_size\n\nProvider reference: minimum 1; maximum 500; default 100.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"max": 500,
"min": 1
}
},
"partner": {
"description": "Arrivals-by-region only: \"total\" (default: World / no partner dimension), \"all\" for every region of origin, or a UN Tourism region code (10000 Africa, 20000 Americas, 30000 East Asia and the Pacific, 40000 Europe, 50000 Middle East, 60000 South Asia, 70000 Other not classified).",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"year_from": {
"description": "year_from\n\nProvider reference: minimum 1995; maximum 2100.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"max": 2100,
"min": 1995
}
},
"year_to": {
"description": "year_to\n\nProvider reference: minimum 1995; maximum 2100.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"max": 2100,
"min": 1995
}
}
},
"required": [
"indicator_codes"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
Response
Country-year observations for up to 10 indicator codes (from indicators), parsed live from the official Excel files: value as source text (null for blank/suppressed cells with the reason in series_note), unit copied from the file, SDMX flag and label, provisional marker, country as ISO3 + M49 + label, file edition and publication date. Filter by ISO3 countries, year_from/year_to and, for arrivals-by-region, partner (total | all | UN Tourism region code). Cursor-paginated, deterministic order.
The response contains the tool result directly.
The provider identifies records as the primary payload key.
| Documented field | Provider type | Description |
|---|---|---|
area_kind | string | |
country | string | |
edition | string | |
file_id | string | |
flag | string | |
flag_label | string | |
id | string | Stable: file_id|indicator_code|m49|partner|year. |
indicator_code | string | |
indicator_name | string | |
indicator_previous_code | string | |
iso3 | string | Null for regional aggregates and the three Caribbean Netherlands islands (M49 5351-5353), which have no own ISO3. |
m49_code | number | |
notes | string | |
observed_at_ms | number | |
partner_area | string | |
partner_area_code | number | |
provisional | boolean | |
release_date | string | |
series_note | string | |
source | string | |
source_file | string | |
source_updated_at | string | |
source_url | string | |
unit | string | |
unit_note | string | |
value | string | Source cell text; null when the cell is blank or suppressed (see series_note). Never inferred. |
value_number | number | |
year | number |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.