## 羊毛党检测 ![](https://image.thinkphp.cn/upload/20200813/110357_5f34ad9de9b4a =x120) > 反机器欺诈 用于检测手机号是否为羊毛党 ![](https://static.253.com/wanshu/02/2018-08-16/1534398238308119.png) ## 接口费用([点击购买](https://market.topthink.com/product/99)) > 最低 0.02元/次 ## 接口调用([调用须知](https://docs.topthink.com/think-api/1835086)) ### 请求地址 ``` GET https://api.topthink.com/wool/wcheck ``` ### 请求参数 | 名称 | 必填 | 类型 | 说明 | | --- | --- | --- | --- | | appCode| 是 |string| 用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) | | mobile| 是 | string | 检测手机号,限单个,仅支持11位国内号码 | | ip| 是 | string | 手机ip地址:重要参数 必传,不传将对检测结果产生影响 不能传入10,192,172等开头的内网IP地址 | ### 返回`data`参数 | 名称 | 类型 | 说明 | | --- | --- | --- | | mobile | string | 手机号 | | tradeNo| string | 交易号,唯一。样例:18041109215057630| | status| string| 检测结果 W1 白名单 B1 黑名单 B2 可信任度低 N 未找到 | ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->woolWcheck() ->withMobile('手机号码') ->withIp('手机ip地址') ->request(); dump($result); ``` JSON返回示例: ~~~ { message: "成功", data: { tradeNo: "18041216552768336", mobile: "18236****10", status: "W1" }, code: 0 } ~~~