Last Updated on : 2023-06-15 05:33:03
Get the detailed geo-location by IP address.
GET: /v1.1/iot-03/locations/ip
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
ip | String | query | true | The IP address. |
Parameter name | Type | Description |
---|---|---|
result | LocationResultDTOV2 | The returned result. |
Description of result
Parameter name | Type | Description |
---|---|---|
national_number | String | The area number of a specified country or region. |
city | String | The name of a city. |
longitude | String | The longitude. |
continent_code | String | The code of a specified continent. |
address | String | The address. |
latitude | String | The latitude. |
country | String | The name of a specified country or region. |
province | String | The name of a specified province. |
country_code | String | The country code. |
GET: /v1.0/iot-03/locations/ip
{
"ip": "115.236.167.***"
}
{
"country": "China",
"address": "Hangzhou City, Zhejiang Province, China",
"city": "Hangzhou City",
"latitude": "30.2741",
"national_number": "86",
"country_code": "CN",
"province": "Zhejiang Province",
"continentCode": "AS",
"longitude": "120.1551"
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback