Get IP Geo Location
caution
Reminder: The API interface may be inaccessible due to network delay or attack, please take relevant measures.
Special Note: This interface data is completely free!
🌏 API Introduction
Address: https://iploc.api.etek.top/
Types: json
Request: get/post
Update: quarterly
📥 Example of Return Value
{
"code": 1,
"ip": "12.34.56.78",
"city": "Atlanta",
"country": "US",
"location": "33.7173,-84.4783"
"msg": "LEEE.TECH"
}
📤 Data Request Parameter Description
No Support: The current free version only supports querying the information of the local IP address, and does not support query parameters.
📕 Return Value Description
Name | Type | Description |
---|---|---|
code | interger | Data request status code |
ip | string | IP address of the response |
country | string | Country of IP location |
location | string | IP's longitude and latitude |
msg | string | - |
🚥 Status Code Description
Code | Description |
---|---|
0 | Data query succeeded |
-1 | Failed to query data from LET data center |
📜 History Version
Version | Date | State | Link |
---|---|---|---|
1.0 | May 27, 2023 | Avaluable | https://leee.tech/docs/apis/getipgeoloc |
😕 Want to join the beta version with more features? Welcome friends from Guangxi University, Guilin University of Electronic Technology, Guangxi University of Science and Technology to contact us ( service@leee.tech )!