Plex
Get Geo Data
Returns the geolocation and locale data of the caller
GET
Response
200
application/json
Gets the geo location data of the user
Geo location data
The ISO 3166-1 alpha-2 code of the country.
Example:
"VI"
The continent code where the country is located.
Example:
"NA"
The official name of the country.
Example:
"United States Virgin Islands"
The name of the city.
Example:
"Amsterdam"
Indicates if the country is a member of the European Union.
Example:
true
The time zone of the country.
Example:
"America/St_Thomas"
The postal code of the location.
Example:
"802"
Indicates if the country has privacy restrictions.
Example:
true
Indicates if the region has privacy restrictions.
Example:
true
The name of the primary administrative subdivision.
Example:
"Saint Thomas"
The geographical coordinates (latitude, longitude) of the location.
Example:
"18.3381, -64.8941"