文档

一些常见的使用场景

查询当前 IP 及归属地

% curl ip.plus
IP: 118.123.102.227 来自: 中国 四川省 成都 CHINANET

查询 IPv6 格式 IP

% curl ip.plus/2606:4700:4700::1111
IP: 2606:4700:4700::1111 来自: 美国 Cloudflare

查询当前 IP(仅返回 IP)

% curl ip.plus/myip
118.123.102.227

查询当前客户端 User-Agent

% curl ip.plus/ua
curl/7.87.0

Web API