geocode

Information about the geocode API method.

Get

Purpose

Fetch tenant’s current daily geocode limit (varies per account type) as well as today’s total geocode usage balance.

Request URL

GET https://maps.espatial.com/esWebAPI/rest/v1b/geocode/limit

Request Parameters

None

Response

{ 
   "maxDailyImportGeocodesLimit": 100000,
   "todaysTotalImportGeocodes": 0
}

Countries

Purpose

Fetch all country name and country codes supported by geocoder.

Request URL

GET https://maps.espatial.com/esWebAPI/rest/v1b/geocode/countries

Request Parameters

None

Response

[ 
   {
      "code": "AF",
      "description": "Afghanistan"
   },
   {
      "code": "AL",
      "description": "Albania"
   },
   {
      "code": "DZ",
      "description": "Algeria"
   },
   {
      "code": "AS",
      "description": "American Samoa"
   },
   {
      "code": "AD",
      "description": "Andorra"
   }
...