为任意 IPv4 或 IPv6 地址富化国家、城市、邮编、经纬度、时区、ASN、ISP、组织和代理/VPN/Tor 检测。基于 MaxMind GeoLite2。为批量而生:输入 100,000 IP,秒级返回地理富化的数据行。适用于日志分析、欺诈评分、安全审计、流量仪表盘和合规地理围栏。
# 通过 Apify API 启动运行 curl -X POST "https://api.apify.com/v2/acts/santamaria-automations~ip-geolocation/runs?token=YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "ips": [ "8.8.8.8", "1.1.1.1", "2606:4700:4700::1111", "185.220.101.45", "203.0.113.42" ], "detectProxy": true, "detectVpn": true }' # 或通过 MCP 与 AI 代理配合使用: # https://mcp.apify.com?tools=santamaria-automations/ip-geolocation
| 字段 | 类型 | 示例 |
|---|---|---|
| ip | string | 8.8.8.8 |
| country_iso | string | US |
| country_name | string | 美国 |
| city | string | Mountain View |
| postal_code | string | 94043 |
| latitude | number | 37.4056 |
| longitude | number | -122.0775 |
| asn | integer | 15169 |
| asn_org | string | Google LLC |
| is_proxy | boolean | false |