Icanhazip
IP 地址 API
- 认证方式
- No auth
- HTTPS
- Yes
- CORS
- Yes
- 分类
- 开发
简介
icanhazip.com 以纯文本返回你的公网 IP——经典的极简 IP 查询。免密钥且极其简单(实测可用)。
快速开始
你的 IP(实测可用):
curl "https://icanhazip.com"
210.61.187.110
带 User-Agent(与浏览器区分):
curl -A "curl/8.0" "https://icanhazip.com"
认证方式
无需认证——免密钥。
速率限制与注意事项
- 免费;请礼貌使用——没有公开的硬性限制。
- 返回纯文本(默认 IPv4;IPv6 连接时返回 IPv6)。
- 没有 JSON——只有 IP 和换行。
常见问题
icanhazip 免费吗? 是的——免费且免密钥(实测)。
返回 JSON 吗? 不——只有纯文本 IP。
可以获取 IPv6 吗? 可以——用 IPv6 连接就返回你的 IPv6 地址。
开发 分类更多
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| 24 Pull Requests Project to promote open source collaboration during December | No auth | Yes | Yes | ↗ |
| Agify.io Estimates the age from a first name | No auth | Yes | Yes | ↗ |
| Amazonscraperapi Amazon product, search & batch scraping API with residential proxies (1000 free) | API Key | Yes | No | ↗ |
| AmberOne Turn any website into a build-ready Android, iOS, PWA or Electron app project | API Key | Yes | No | ↗ |
| API Grátis Multiples services and public APIs | No auth | Yes | Unknown | ↗ |