GETip-ipv6-query
IPv6归属地查询
提供IPv6归属地查询API服务,便于开发者快速查询IPv6归属地相关信息并集成到业务系统。
接入文件
IPv6归属地查询接口说明
IPv6归属地查询API用于帮助开发者在系统中快速完成IPv6归属地查询相关处理,返回结构化结果,适合 地域识别、用户画像、风控分析 等场景。
适用场景
- 支持将 IPv6归属地查询 能力接入内部系统、SaaS 平台、自动化工作流或运营后台。
- 适合需要稳定调用、标准化返回和可编排接口能力的业务场景。
- 建议结合请求频控、失败重试和结果缓存策略,提升整体接入稳定性。
接入建议
- 接入前确认请求参数格式、鉴权方式和错误码处理逻辑。
- 对高频 查询 场景建议做好日志追踪、超时控制和幂等处理。
- 如结果用于风控或自动决策,建议结合业务规则进行二次判断,而不是直接单点依赖接口返回。
接入示例程式碼
提供 Shell、Python、Go、Java、PHP 等常見接入示例,便於直接接到現有專案裡。
請求示例
{}響應示例
{
"code": 200,
"data": {
"result": {
"type": "object",
"properties": {
"isp": {
"type": "string",
"example": "中国联通",
"description": "运营商"
},
"city": {
"type": "string",
"example": "杭州市",
"description": "城市"
},
"owner": {
"type": "string",
"example": "中国联通",
"description": "所属机构"
},
"adcode": {
"type": "string",
"example": "330100",
"description": "行政编码"
},
"radius": {
"type": "string",
"example": "129.2092",
"description": "定位半径"
},
"source": {
"type": "string",
"example": "数据挖掘",
"description": "采集方式"
},
"country": {
"type": "string",
"example": "中国",
"description": "国家"
},
"zipcode": {
"type": "string",
"example": "310002",
"description": "邮编"
},
"accuracy": {
"type": "string",
"example": "城市",
"description": "精度"
},
"areacode": {
"type": "string",
"example": "CN",
"description": "国家编码"
},
"asnumber": {
"type": "string",
"example": "4837",
"description": "自治域编码"
},
"timezone": {
"type": "string",
"example": "UTC+8",
"description": "时区"
},
"continent": {
"type": "string",
"example": "亚洲",
"description": "大洲"
},
"province ": {
"type": "string",
"example": "浙江省",
"description": "省份"
}
}
},
"orderNo": {
"type": "string",
"example": "169703776398135646",
"description": "订单号"
}
},
"message": "success"
}響應欄位
以下欄位根據示例 JSON 自動提取,僅作接入參考。
| 欄位路徑 | 型別 | 示例值 |
|---|---|---|
| code | number | 200 |
| data | object | {...} |
| data.result | object | {...} |
| data.result.type | string | object |
| data.orderNo | object | {...} |
| data.orderNo.type | string | string |
| data.orderNo.example | string | 169703776398135646 |
| data.orderNo.description |