Skip to main content
GET
/
api
/
infrastructure
/
v1
/
get-ip-geo
GetIpGeo
curl --request GET \
  --url https://api.example.com/api/infrastructure/v1/get-ip-geo
{
  "country": "<string>",
  "region": "<string>",
  "city": "<string>"
}

Response

Successful response

GetIpGeoResponse contains geographic information derived from the request IP.

country
string

ISO 3166-1 alpha-2 country code.

region
string

Region or city (if available).

city
string