据 AlphaMoat 统计,截至 2026-09,IPinfo 累计下载 3,166 次、获 2 个星标,在全部 5,078 个 AI 技能中排名第 3,604 位,在「数据分析」分类(399 个)中排名第 271 位。
| 平台 | 累计安装 | 累计下载 | 星标 | 评论 |
|---|---|---|---|---|
| ClawHub ↗ | 100 | 3,073 | 2 | - |
| SkillHub ↗ | 113 | 3,166 | 2 | — |
各平台的计数口径不同,统计时间不一致。
指南说明可用 curl 或 Python 请求 IPinfo,并返回城市、地区、国家、邮编、时区、坐标和网络组织等字段;IPINFO_TOKEN 为可选配置。查询的 IP(包括示例中的当前公网 IP)会发送给 IPinfo。应先确认这种数据共享符合工作流和数据政策,并避免把 token 写进命令、URL、日志或源文件。
资料发布于 2026-10-29
以下是根据技能文档生成的示例,不代表实际运行结果。
2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。
| 月份 | 累计下载 | 环比 | 星标 |
|---|---|---|---|
| 2026-09 | 3,166 | — | 2 |
| 2026-08 | 2,963 | +2.9% | 2 |
| 2026-07 | 2,880 | +8.0% | 2 |
| 2026-06 | 2,667 | +5.9% | 2 |
| 2026-05 | 2,519 | — | 2 |
| 2026-03 | 2,132 | — | 2 |
以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。
---
name: ipinfo
description: Perform IP geolocation lookups using ipinfo.io API. Convert IP addresses to geographic data including city, region, country, postal code, timezone, and coordinates. Use when geolocating IPs, enriching IP data, or analyzing geographic distribution.
homepage: https://ipinfo.io
metadata:
{ "openclaw": { "emoji": "🌍", "requires": { "bins": ["curl"] }, "primaryEnv": "IPINFO_TOKEN" } }
---
# IPinfo Geolocation
Free IP geolocation API. No API key required for basic usage (50k requests/month), optional token for higher limits.
## Configuration
The `IPINFO_TOKEN` environment variable is **optional** - the skill works without it using the free tier. Configure it via the OpenClaw dashboard UI for higher rate limits, or set it manually:
- **Dashboard UI**: Configure `IPINFO_TOKEN` in the OpenClaw dashboard (optional)
- **Environment variable**: `export IPINFO_TOKEN="your-token"`
- **Query parameter**: `?token=YOUR_TOKEN` (for one-off requests)
## Quick Lookup
Single IP:
```bash
curl -s "https://ipinfo.io/8.8.8.8"
```
Current IP:
```bash
curl -s "https://ipinfo.io/json"
```
With token (optional, from environment):
```bash
curl -s "https://ipinfo.io/8.8.8.8?token=${IPINFO_TOKEN}"
```
Or pass token directly:
```bash
curl -s "https://ipinfo.io/8.8.8.8?token=YOUR_TOKEN"
```
## Response Format
JSON response includes:
- `ip`: IP address
- `hostname`: Reverse DNS hostname
- `city`: City name
- `region`: State/region
- `country`: Two-letter country code (ISO 3166-1 alpha-2)
- `postal`: Postal/ZIP code
- `timezone`: IANA timezone
- `loc`: Coordinates as "latitude,longitude"
- `org`: Organization/ASN information
## Extract Specific Fields
Using `jq`:
```bash
curl -s "https://ipinfo.io/8.8.8.8" | jq -r '.city, .country, .loc'
```
Country only:
```bash
curl -s "https://ipinfo.io/8.8.8.8" | jq -r '.country'
```
Parse coordinates:
```bash
curl -s "https://ipinfo.io/8.8.8.8" | jq -r '.loc' | tr ',' '\n'
```
## Batch Processing
Process multiple IPs:
```bash
for ip in 8.8.8.8 1.1.1.1 208.67.222.222; do
if [ -n "$IPINFO_TOKEN" ]; then
echo "$ip: $(curl -s "https://ipinfo.io/$ip?token=$IPINFO_TOKEN" | jq -r '.city, .country' | tr '\n' ', ')"
else
echo "$ip: $(curl -s "https://ipinfo.io/$ip" | jq -r '.city, .country' | tr '\n' ', ')"
fi
done
```
## Python Usage
```python
import os
import requests
# Without token (free tier)
response = requests.get("https://ipinfo.io/8.8.8.8")
data = response.json()
print(f"{data['city']}, {data['country']}")
print(f"Coordinates: {data['loc']}")
```
With token from environment:
```python
import os
import requests
token = os.getenv("IPINFO_TOKEN")
if token:
response = requests.get("https://ipinfo.io/8.8.8.8", params={"token": token})
else:
response = requests.get("https://ipinfo.io/8.8.8.8")
data = response.json()
```
Or pass token directly:
```python
response = requests.get("https://ipinfo.io/8.8.8.8", params={"token": "YOUR_TOKEN"})
```
## Rate Limits
- Free tier: 50,000 requests/month, ~1 req/sec
- With token: Higher limits based on plan
- Configure `IPINFO_TOKEN` via OpenClaw dashboard UI or environment variable
## Common Use Cases
- Geolocate IP addresses
- Enrich IP lists with location data
- Filter IPs by country
- Calculate distances between IPs using coordinates
- Timezone detection for IPs
AdMapix 的取数层:把广告与应用相关的查询转成接口调用,只回原始 JSON。
走 Tavily 检索公开网页,返回带链接与摘要的结构化结果。
把数据库、表格与导出的原始数据变成可决策结论的数据分析技能。
用 Yahoo Finance 数据做股票与加密货币分析、组合跟踪的技能。
管理本地自选股清单,并按代码汇总同花顺行情与近期表现的技能。
知了标讯:查询和分析招标、中标、供应商与采购市场信息。
用命令行监控博客与 RSS/Atom 源的更新。
汇总 Codex 或 Claude 按模型计费的使用成本。
数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。