IP 风控与画像 API
提供 IP 风险评分、IP 画像、ASN 查询、黑名单检测和代理质量评估能力,帮助业务风控、代理采购和账号环境系统快速接入可复查的 IP 质量信号。
接口概览
认证方式
所有 API 请求均需使用 API Key 进行身份认证,请在请求 Header 中携带:
Authorization: Bearer {你的 API Key}
如何获取 API Key 通用请求信息
| 请求方式 | GET / POST |
|---|---|
| 基础 URL | https://ip86.net/api/v1 |
| 返回格式 | JSON |
| 字符编码 | UTF-8 |
示例:IP 风险评分 API
接口说明:对指定 IP 进行风险评分,返回风险等级及相关指标。
请求示例
curl -X POST 'https://ip86.net/api/v1/checks/ip' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"ip":"8.8.8.8","locale":"zh-CN"}'响应示例
{
"code": 200,
"message": "success",
"data": {
"ip": "8.8.8.8",
"score": 88,
"risk_score": 15,
"risk_level": "lower",
"country": "美国",
"asn": "AS15169",
"ip_type": "datacenter",
"network_attribute": "cloud_network"
}
}