阿里云

阿里云ipip.net提供的 IP 查询接口

接口地址:https://api.myip.la/cn?json
请求示例

1
curl https://api.myip.la/cn?json
1
2
3
4
5
6
7
8
9
10
11
{
"ip": "172.104.94.100",
"location": {
"country_code": "JP",
"country_name": "日本",
"province": "东京都",
"city": "品川区",
"latitude": "35.6130514",
"longitude": "139.7344198"
}
}

Moieo Api IP 查询接口

接口地址:POST https://api.moieo.cn/ip/114.114.114.114
请求头

名称 注释
timestamp 时间戳(ms)

请求示例
例如 IP 为:114.114.114.114

1
curl -XPOST -H "timestamp: $(date +%s%3N)" https://api.moieo.cn/ip/114.114.114.114
1
2
3
4
5
6
7
8
9
10
{
"code": 200,
"msg": "success",
"data": {
"ip": "114.114.114.114",
"ip_number": 1920103026,
"location": "江苏省南京市",
"net_service": "南京信风网络科技有限公司GreatbitDNS服务器"
}
}

数据来源于纯真网络开源数据库