IPinfo
又一个简单的 IP 地址 API
- 认证方式
- No auth
- HTTPS
- Yes
- CORS
- Unknown
- 分类
- 开发
- 文档 / URL
- https://ipinfo.io/developers
简介
IPinfo 把 IP 地址解析为丰富的地理位置、网络和 ASN 数据。基础查询免密钥但有限流(实测可用);免费令牌可提高限额并解锁公司/隐私数据。
快速开始
你的 IP(实测可用):
curl "https://ipinfo.io/json"
{
"ip": "210.61.187.110",
"city": "Kaohsiung",
"region": "Kaohsiung",
"country": "TW",
"loc": "22.6148,120.3139",
"org": "AS3462 Data Communication Business Group",
"timezone": "Asia/Taipei"
}
特定 IP:
curl "https://ipinfo.io/8.8.8.8/json"
带令牌:
curl "https://ipinfo.io/8.8.8.8/json?token=YOUR_TOKEN"
认证方式
- 匿名:可用但有限流(实测)。
- 免费令牌:在 ipinfo.io 注册 → 控制台 → token(5 万次/月)。
- 通过
token查询参数或Authorization: Bearer请求头携带。
速率限制与注意事项
- 匿名:有限(每 IP 约 5 万次/月也有节流);免费令牌:50,000 次请求/月。
- 字段:
city、region、country、loc(经纬度)、org(ASN + 组织)、timezone、postal。 - 付费档增加公司、隐私(VPN/代理检测)和滥用数据。
- 支持 CORS——浏览器可用。
常见问题
IPinfo 免费吗? 匿名查询可用;免费令牌给 5 万次/月。
需要密钥吗? 基础查询免密钥可用(实测)——生产环境建议用令牌。
org 是什么意思? 拥有该 IP 段的 ASN + 组织。
开发 分类更多
| 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 | ↗ |