IP地址归属地与网络信息查询。Use when the user wants to look up the geographic location, ISP, or network details of an IP address. Supports both Chinese and international IPs. No API key required — uses free public endpoints (ip-api.com, ipinfo.io). Works with any IP address including IPv4, IPv6, and domain names.
查询任意 IP 地址的归属地、运营商、网络信息。无需 API key,仅需 curl。
bash
响应示例:
json
{
status: success,
country: 中国,
regionName: 广东省,
city: 深圳市,
isp: 中国联通,
org: China Unicom Guangdong,
as: AS17816 China Unicom IP network China169 Guangdong Province,
query: 113.108.x.x,
mobile: false,
proxy: false,
hosting: false
}
字段说明:
限制:免费版每分钟45次请求,HTTP(非HTTPS)
bash
curl -s https://ipinfo.io/{IP}/json
响应示例:
json
{
ip: 8.8.8.8,
city: Mountain View,
region: California,
country: US,
loc: 37.3861,-122.0839,
org: AS15169 Google LLC,
timezone: America/Los_Angeles
}
限制:免费版每天50,000次请求,支持HTTPS
无法访问外部接口时,根据IP段提供基础判断:
中国常见IP段(仅供参考,不完整):
特殊保留地址:
🌐 IP 查询结果
━━━━━━━━━━━━━━━━━━━━
IP 地址:113.108.x.x
归属地:🇨🇳 中国 广东省 深圳市
运营商:中国联通
组织:China Unicom Guangdong
ASN:AS17816
网络类型:宽带(非移动、非代理、非数据中心)
🌐 IP 查询结果
━━━━━━━━━━━━━━━━━━━━
IP 地址:x.x.x.x
归属地:🇺🇸 美国 加利福尼亚州 洛杉矶
运营商:Cloudflare Inc
⚠️ 检测到:疑似代理/VPN 或 托管服务器IP
🌐 批量 IP 查询(3个)
━━━━━━━━━━━━━━━━━━━━
🌐 本机公网 IP
━━━━━━━━━━━━━━━━━━━━
IP 地址:x.x.x.x
归属地:🇨🇳 中国 北京市
运营商:中国电信
提示:此为 OpenClaw 所在机器的出口IP
用户输入IP地址/域名/本机
↓
[验证] 判断输入类型(IPv4/IPv6/域名/本机)
↓
[查询] curl ip-api.com(主力接口)
↓ 失败(限速/网络问题)
[查询] curl ipinfo.io(备用接口)
↓ 全部失败
[降级] 离线IP段基础判断 + 提示用户
↓
[输出] 格式化结果 + 异常标注
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 china-ip-1776121682 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 china-ip-1776121682 技能
skillhub install china-ip-1776121682
文件大小: 3.52 KB | 发布时间: 2026-4-14 09:54