Skip to content

Geo Locations

APIs for geo locations

Get all available countries for geo-location filtering

Request

GET /v3/geo-locations/countries

Retrieve a list of all available countries with their associated continent information for use in geo-location based filtering

Security
API_Key
GET
/v3/geo-locations/countries
curl -i -X GET \
  https://api.observepoint.com/v3/geo-locations/countries \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

List of countries with geo-location information

Bodyapplication/json
Array [
countryIdintegerrequired

Unique identifier for the country

Example:46
countryNamestringrequired

Display name of the country

Example:"China"
countryCodestring, = 2 charactersrequired

ISO country code (2-letter code)

Example:"CN"
continentIdintegerrequired

Unique identifier for the continent this country belongs to

Example:5
continentNamestringrequired

Name of the continent this country belongs to

Example:"Asia"
]
Response
[ { "countryId": 46, "countryName": "China", "countryCode": "CN", "continentId": 5, "continentName": "Asia" } ]