• Home
  • Dynatrace API
  • Environment
  • RUM
  • Geographic regions
  • GET countries

Geographic regions API - GET countries

Lists countries and their codes.

The request produces an application/json payload.

GETManagedDynatrace for Governmenthttps://{your-domain}/e/{your-environment-id}/api/v2/rum/countries
SaaShttps://{your-environment-id}.live.dynatrace.com/api/v2/rum/countries
Environment ActiveGatehttps://{your-activegate-domain}/e/{your-environment-id}/api/v2/rum/countries

Authentication

To execute this request, you need an access token with geographicRegions.read scope.

To learn how to obtain and use it, see Tokens and authentication.

Parameters

The request doesn't provide any configurable parameters.

Response

Response codes

CodeTypeDescription
200CountryList

Success. The response contains the list of countries.

Response body objects

The CountryList object

The list of countries.

ElementTypeDescription
countryCountinteger

The number of countries.

countriesCountry[]

The list of countries.

The Country object

Information about a country.

ElementTypeDescription
namestring

The name of the country.

codestring

The ISO code of the country.

Response body JSON model

json
{ "countryCount": 252, "countries": [ { "name": "France", "code": "FR" }, { "name": "Belgium", "code": "BE" } ] }
Related topics
  • Real User Monitoring

    Learn about Real User Monitoring, key performance metrics, mobile app monitoring, and more.

  • Detection of IP addresses, geolocations, and user agents

    Dynatrace detects IP addresses and geolocations like a city, region, and country as well as browsers, devices, and operating systems.