:::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

Name Type Description
code interger Data request status code
ip string IP address of the response
country string Country of IP location
isp string IP Operator Information
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 Interface
1.x June 12, 2019 Disable https://api.leee.tech/ipwhois
2.x October 6, 2020 Disable https://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 )!