Skip to main content

Get IP City

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://ipcity.api.etek.top/

Types: json

Request: get/post

Update: quarterly

📥 Example of Return Value

{
"code": 1,
"ip": "100.100.100.1",
"city": "Hangzhou",
"country": "CN",
"isp": "Wasu Media",
"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

NameTypeDescription
codeintergerData request status code
ipstringIP address of the response
countrystringCountry of IP location
ispstringIP Operator Information
msgstring-

🚥 Status Code Description

CodeDescription
0Data query succeeded
-1Failed to query data from LET data center

📜 History Version

VersionDateStateInterface
1.xJune 12, 2019Disablehttps://api.leee.tech/ipwhois
2.xOctober 6, 2020Disablehttps://ipwhois.api.let.ac.cn

😕 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 )!