Plex
Get Geo Data
Returns the geolocation and locale data of the caller
GET
/
geoip
Response
200 - application/json
code
string
requiredThe ISO 3166-1 alpha-2 code of the country.
continent_code
string
requiredThe continent code where the country is located.
country
string
requiredThe official name of the country.
city
string
requiredThe name of the city.
european_union_member
boolean
default: falserequiredIndicates if the country is a member of the European Union.
time_zone
string
requiredThe time zone of the country.
postal_code
string
requiredThe postal code of the location.
in_privacy_restricted_country
boolean
default: falserequiredIndicates if the country has privacy restrictions.
in_privacy_restricted_region
boolean
default: falserequiredIndicates if the region has privacy restrictions.
subdivisions
string
requiredThe name of the primary administrative subdivision.
coordinates
string
requiredThe geographical coordinates (latitude, longitude) of the location.