输入省 / 市 / 国家, 生成该地区的随机公网 IPv4 地址
GET /api/ip?location=广东&count=5 GET /api/ip?location=日本&count=3&format=text GET /api/locations # 查看所有支持的地区
// 返回示例
{
"ok": true,
"location": "广东",
"count": 2,
"ips": ["183.62.114.53", "119.123.27.180"]
}
curl "https://your-worker.workers.dev/api/ip?location=上海&count=3"
⚠️ 数据库内置的是基于公开运营商分配记录的代表性 CIDR 网段, 生成结果为该地区大致分布的随机公网 IP, 不保证 100% 归属精确, 请勿用于任何违法用途。