Statistics

GET /user-statistics/top-countries

Changed on

Returns the paginated view of users per country.

Request

  • Base URL
    /v1r (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    none declared. Required headers: Authorization

Query parameters

keywordstring

a keyword to look for in all country codes or names

limitinteger

Limit of elements to return. Defaults to 10

offsetinteger

Number of elements to skip before collecting elements to return

Headers

Authorizationstring required

Insert your access token

X-Account-Metadatastring

Insert your metadata token

Response

OK

countrystring

ISO 3166 country code.

userCountinteger

Example response

[
  {
    "country": "US",
    "userCount": 12121212
  }
]

Changes