恶意IP检测
最后更新于:2022-04-02 08:19:03
## 恶意IP检测
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/9b/36/9b36b2705e71b84109871868a7a1298d_200x200.png)
> 可实时检测IP是否为欺诈、病毒、网络钓鱼、垃圾软件的恶意IP地址。结果result=>1即为恶意IP地址。
## 接口费用( [点击购买](https://market.topthink.com/product/207))
> 最低 0.002元/次
## 接口调用([调用须知](https://docs.topthink.com/think-api/1835086))
### 请求地址
```
GET https://api.topthink.com/website/cheatip
```
### 请求参数
| 名称 | 类型 | 必填 | 说明 |
| --- | --- | --- | --- |
| appCode| string| 是|用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) |
| ip| string | 是 | IP地址|
### 返回`data`参数
| 名称 | 类型 | 示例值 | 说明 |
| --- | --- | --- | --- |
| result | int | 0 | 检测结果,1为是 |
## SDK调用
```
$client = new Client("YourAppCode");
$result = $client->websiteCheatip()
->withUrl('183.192.70.211')
->request();
```
返回示例:
~~~
{
"code":0,
"message": "成功",
"data": [
{
"result": 0
}
]
}
~~~
';