POSTip-portraint
IP地址风险画像
提供IP地址风险画像API服务,便于开发者快速调用IP地址风险画像相关信息并集成到业务系统。
接入文件
IP地址风险画像接口说明
IP地址风险画像API用于帮助开发者在系统中快速完成IP地址风险画像相关处理,返回结构化结果,适合 网络安全分析、访问风控、数据治理 等场景。
适用场景
- 支持将 IP地址风险画像 能力接入内部系统、SaaS 平台、自动化工作流或运营后台。
- 适合需要稳定调用、标准化返回和可编排接口能力的业务场景。
- 建议结合请求频控、失败重试和结果缓存策略,提升整体接入稳定性。
接入建议
- 接入前确认请求参数格式、鉴权方式和错误码处理逻辑。
- 对高频 调用 场景建议做好日志追踪、超时控制和幂等处理。
- 如结果用于风控或自动决策,建议结合业务规则进行二次判断,而不是直接单点依赖接口返回。
接入示例程式碼
提供 Shell、Python、Go、Java、PHP 等常見接入示例,便於直接接到現有專案裡。
請求示例
{}響應示例
{
"code": 200,
"data": {
"isp": {
"type": "string",
"example": "中国联通",
"description": "运营商"
},
"lat": {
"type": "string",
"example": "30.267769",
"description": "纬度"
},
"lng": {
"type": "string",
"example": "120.069641",
"description": "经度"
},
"tag": {
"type": "string",
"example": "Sec_Dial",
"description": "风险标签 1.Proxy (该IP被捕获到被当做代理IP来使用) 2.IDC Sec_Dial (该IP被捕获到被当做秒拨IP来使用) 3. (该IP被识别为数据中心机房IP) 4. VPN (该IP被捕获到被当做VPN IP来使用) 5. Tor (该IP被捕获到被当做Tor节点来使用) 6.Scan (该IP被捕获到有端口扫描行为) 7.Brute_Force (该IP被捕获到有暴力破解行为)"
},
"city": {
"type": "string",
"example": "杭州市",
"description": "城市"
},
"prov": {
"type": "string",
"example": "浙江省",
"description": "省份"
},
"level": {
"type": "string",
"example": "无",
"description": "风险等级(存在多项值,参考风险标签与等级说明)"
},
"owner": {
"type": "string",
"example": "中国联通",
"description": "所属机构"
},
"scene": {
"type": "string",
"example": "家庭宽带",
"description": "使用场景"
},
"score": {
"type": "number",
"example": 0,
"description": "风险分值"
},
"radius": {
"type": "string",
"example": "8.0562",
"description": "定位半径"
},
"country": {
"type": "string",
"example": "中国",
"description": "国家"
},
"areacode": {
"type": "string",
"example": "CN",
"description": "国家编码"
},
"district": {
"type": "string",
"example": "西湖区",
"description": "区县"
},
"continent": {
"type": "string",
"example": "亚洲",
"description": "大洲"
},
"updatetime": {
"type": "string",
"example": "2024-06-24 18:03:36",
"description": "风险捕获时间"
}
},
"message": "success"
}響應欄位
以下欄位根據示例 JSON 自動提取,僅作接入參考。
| 欄位路徑 | 型別 | 示例值 |
|---|---|---|
| code | number | 200 |
| data | object | {...} |
| data.isp | object | {...} |
| data.isp.type | string | string |
| data.isp.example | string | 中国联通 |
| data.isp.description | string | 运营商 |
| data.lat | object | {...} |
| data.lat.type |