手机固话来电显示
最后更新于:2022-04-02 08:24:36
## 手机固化来电显示
>[danger]### 免费接口,每日100次免费调用,会员可不限次数调用,购买[API会员](https://market.topthink.com/product/210)
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/3e/6a/3e6a9353def87522e92493f95f1cb883_155x165.png)
> 查询手机/固话号码归属地,是否诈骗、营销、广告电话
## 接口调用([调用须知](https://docs.topthink.com/think-api/1835086))
### 请求地址
```
GET https://api.topthink.com/telecom/identify
```
### 请求参数
| 名称 | 必填 | 类型 | 说明 |
| --- | --- | --- | --- |
| appCode| 是| string|用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) |
| tel | 是 | string | 要查询的号码,如:051262519280 |
### 返回`data`参数
| 名称 | 类型 | 示例值 | 描述 |
| --- | --- | --- | --- |
|见返回示例
## SDK调用
```
$client = new Client("YourAppCode");
$result = $client->telecomIdentify()
->withTel('02151860253')
->request();
dump($result);
```
返回数据示例:
~~~
{
"message": "查询成功",
"data": [
"iszhapian": 1, /*是否诈骗、营销、广告电话*/
"province": "", /*号码所属省份*/
"city": "上海", /*号码所属城市*/
"sp": "", /*号码所属运营商*/
"phone": "02151860253", /*查询号码*/
"rpt_type": "房产中介", /*号码性质*/
"rpt_comment": "房产中介", /*号码性质描述*/
"rpt_cnt": 24, /*标记人数*/
"hy": { /*号码详细,可能部分号码为NULL*/
"city": "上海",
"lng": "0",
"lat": "0",
"name": "上海xxxxxx有限公司",
"addr": "",
"tel": "021-51860253"
},
"hyname":"该号码所属公司名称",
"countDesc": "此号码近期被24位360手机卫士用户标记为房产中介电话!"
},
"code": 0
}
~~~
';