API 优势
行业领先精度
优质地理定位数据库,全球高精度覆盖。
全面数据
城市、地区、国家、坐标和邮政编码。
VPN 和代理检测
通过 IP-to-VPN MMDB 检测。
时区信息
名称、缩写、GMT 偏移和当前时间。
丰富元数据
ISP、连接类型、货币和国旗信息。
极速响应
100 毫秒以内,99.9% SLA 和全球 CDN。
主要功能
支持 IPv4 和 IPv6
城市、地区和国家检测
经纬度坐标
时区和 UTC 偏移信息
ISP 和组织详情
连接类型识别
VPN 和代理检测
货币和国旗信息
欧盟成员状态
邮政编码检测
字段过滤支持
JSON 响应格式
快速入门
1. 获取 API 密钥
免费注册,立即获得密钥。
2. 发起第一次请求
curl -X GET \ "https://ipgeolocation.cleariflow.com/v1/" \ ?api_key=be5b6f8e9dcb540b2dc1b4fc6f5dbd96 \ &ip_address=8.8.8.8
3. 处理响应
{
"ip_address": "8.8.8.8",
"city": "Mountain View",
"city_geoname_id": 5375480,
"region": "California",
"region_iso_code": "CA",
"region_geoname_id": 5332921,
"postal_code": "94035",
"country": "United States",
"country_code": "US",
"country_geoname_id": 6252001,
"country_is_eu": false,
"continent": "North America",
"continent_code": "NA",
"continent_geoname_id": 6255149,
"longitude": -122.0838,
"latitude": 37.386,
"security": {
"is_vpn": false,
"is_proxy": false
},
"timezone": {
"name": "America/Los_Angeles",
"abbreviation": "PDT",
"gmt_offset": -7,
"current_time": "06:37:41",
"is_dst": true
},
"flag": {
"emoji": "🇺🇸",
"unicode": "U+1F1FA U+1F1F8",
"png": "https://static.cleariflow.com/country-flags/US_flag.png",
"svg": "https://static.cleariflow.com/country-flags/US_flag.svg"
},
"currency": {
"currency_name": "United States Dollar",
"currency_code": "USD"
},
"connection": {
"autonomous_system_number": 15169,
"autonomous_system_organization": "Google LLC",
"connection_type": "Corporate",
"isp_name": "Google LLC",
"organization_name": "Google LLC"
}
}免费试用
集成 API 前先使用在线工具。