Skip To Content
ArcGIS Developer
Dashboard

Countries

The GeoEnrichment service contains datasets which are specific to a single country or area. Each country has a unique, two-character abbreviation that acts as an ID that is passed in the sourceCountry parameter of the GeoEnrichment service. The ID returned from the countries discovery method can be used to help query information about the country.

Return a list of available reports for the United States.

https://geoenrich.arcgis.com/arcgis/rest/services/World/GeoEnrichmentServer/Geoenrichment/reports/US?f=pjson

Return a list of data collections for the United States.

https://geoenrich.arcgis.com/arcgis/rest/services/World/GeoEnrichmentServer/Geoenrichment/datacollections/US?f=pjson

In addition to the country ID, each country has metadata which can be helpful when using the GeoEnrichment service or in analyzing the results. The information returned consists of country name, abbr3 (three-character country abbreviation), altname, continent, distanceUnits, defaultExtent, a list of datasets and hierarchies, geography levels, default report and data collection, and the countries' currency symbol.

Return a list of information for all countries.

https://geoenrich.arcgis.com/arcgis/rest/services/World/geoenrichmentserver/Geoenrichment/countries?f=pjson

Return a list of all information for Spain.

https://geoenrich.arcgis.com/arcgis/rest/services/World/geoenrichmentserver/Geoenrichment/countries/ES?f=pjson