UN Tourism · Data
untourism-int/statistics/dataGet places and reviews from maps with UN Tourism · Data from Alexandria through one Spiral API key. Data. It runs in the background and returns structured JSON. Pay as you go, with no subscription.
Pricing
$0.00873 per call.
Limits
- Runs
- In the background
- Returns
- json
- Longest queue wait
- 1 hour
- Run deadline
- 5 minutes
- Longest run, end to end
- 225 minutes
- Largest inline input
- 1 MB
- Largest input file
- 2 GB
- Largest output
- 5 GB
Input
| Field | Kind | Default | Description |
|---|---|---|---|
indicator_codes required | list | — | 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. |
cursor | text | — | next_cursor from the previous page of the same query. |
partner | text | — | 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). |
year_to | number 1995 to 2100 | — | year_to |
countries | list | — | ISO 3166-1 alpha-3 codes. Omit or empty for every reporter (countries, territories and, in the SDG files, regional aggregates). |
page_size | number 1 to 500 | 100 | page_size |
year_from | number 1995 to 2100 | — | year_from |
Same request in code
curl https://api.spiral.ai/v1/runs \
-H "Authorization: Bearer $SPIRAL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"provider": "alexandria",
"model": "untourism-int/statistics/data",
"input": {
"indicator_codes": [
"<indicator_codes>"
]
}
}'Frequently asked questions
How much does UN Tourism · Data cost?
$0.00873 per call. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.
How do I use UN Tourism · Data through an API?
Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "untourism-int/statistics/data"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.
Do I need an account with Alexandria to use UN Tourism · Data?
No. Spiral runs it on its own Alexandria account and charges your Spiral balance.
Can my AI agent use UN Tourism · Data?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.