{
"country": "IN",
"state": "KA",
"stateName": "Karnataka",
"continent": "AS"
}
{
"country": "IN",
"state": "KA",
"stateName": "Karnataka",
"continent": "AS"
}
India (IN)
Karnataka (KA)
Asia (AS)
234ms
Interactive map visualization
The Geolocation API provides accurate location information based on the request origin.
https://geolocation.onetrust.com/cookieconsentpub/v1/geo/location
No authentication required for basic usage. Rate limiting applies.
| Header | Value | Description |
|---|---|---|
| accept | application/json | Response format |
| origin | https://www.intercom.com | Request origin |
{
"country": "IN",
"state": "KA",
"stateName": "Karnataka",
"continent": "AS"
}
{
"error": "Invalid origin",
"code": "403",
"message": "Unauthorized origin"
}
curl --location 'https://geolocation.onetrust.com/cookieconsentpub/v1/geo/location' \ --header 'accept: application/json' \ --header 'origin: https://www.intercom.com'