我的公网IP地址和位置是什么?

我的公网IP地址和地理位置信息:

{{ label }}:
{{ value }}
ip:
userAgent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
version:
country:
CA
city:
Toronto
region:
Ontario
regionCode:
ON
timezone:
America/Toronto
postalCode:
M4G
asn:
577
colo:
YYZ
asOrganization:
Bell Canada Business

免费IP API

1. 简单的IP API: https://ips.im/api

使用Curl获取您的IP地址: curl https://ips.im/api

响应: 70.44.149.3

2. 具有完整IP详细信息的JSON API: https://ips.im/api/json

使用Curl获取公网IP信息: curl https://ips.im/api/json

Response:

{
  "ip": '70.44.149.3',
  "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36",
  "version": "",
  "country": "CA",
  "city": "Toronto",
  "region": "Ontario",
  "regionCode": "ON",
  "timezone": "America/Toronto",
  "postalCode": "M4G",
  "asn": 577,
  "colo": "YYZ",
  "asOrganization": "Bell Canada Business"
}
              

Switch Language