Skip to main content
POST
Data

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
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

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

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
indicator_codes
string[]
required

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.

countries
string[]

ISO 3166-1 alpha-3 codes. Omit or empty for every reporter (countries, territories and, in the SDG files, regional aggregates).

cursor
string

next_cursor from the previous page of the same query.

page_size
number
default:100

page_size

Provider reference: minimum 1; maximum 500; default 100.

partner
string

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_from
number

year_from

Provider reference: minimum 1995; maximum 2100.

year_to
number

year_to

Provider reference: minimum 1995; maximum 2100.

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.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.