基于纯真IP库cz88.net
如果输入的域名不正确&无法解析&ip地址不合法&请求参数不合法均会返回“Internal Server Error”
API:https://ip-api.233.mba/
Url参数【GET】
该参数为必选
d为通过域名查询IP(如果有多个IP会随机选择一个IP作为查询IP)
ip为查询IP
返回结果【json】
即查询的IP或者域名解析到的IP
返回示例:
查询本机IP
![[API接口]免费IP查询 [API接口]免费IP查询](https://www.itylq.com/wp-content/uploads/2022/10/1646533288-image.png)
https://ip-api.233.mba/?type=ip&ip=127.0.0.1
![[API接口]免费IP查询 [API接口]免费IP查询](https://www.itylq.com/wp-content/uploads/2022/10/1646533045-image.png)
https://ip-api.233.mba/?type=d&domain=wrnxr.cn
![[API接口]免费IP查询 [API接口]免费IP查询](https://www.itylq.com/wp-content/uploads/2022/10/1646532359-image.png)
60 秒内累计请求超过 120 次触发封禁规则,封禁时间3000秒。
正文完