号码标签查询
请求方式:POST
接口描述:
获取号码信息
参数 | 类型 | 描述 | 是否必须 |
---|---|---|---|
tel | string | 需识别的号码 | Y |
参数 | 类型 | 描述 |
---|---|---|
data | json | 接口具体返回内容,参见下方【data详细说明】 |
state | int | 请求接口状态,参见下方【HTTP状态码】 |
msg | string | 附带文字消息,仅供参考 |
data详细说明:
参数 | 类型 | 描述 | 是否必须 |
---|---|---|---|
tel | string | 识别的号码 | Y |
name | string | 识别号码标签 | Y |
operator | string | 运营商 | Y |
type | string | 识别类型 | Y |
area | string | 归属地 | Y |
a=108&fun=AnalysisTel&tel=158XXXXXXXXX&token=83c14234fae466ebf7b968f8e319d981
- C#代码示例
- JAVA代码示例
- PHP代码示例
int apiID=108; string fun=AnalysisTel; string tel=158XXXXXXXXX; string token=83c14234fae466ebf7b968f8e319d981; string Params="a="+a.ToString()+"&fun="+fun+"&tel="+tel+"&token="+token; string result=httpPost(Params);//httpPost为发送Post请求方法
2
3
{ "data": { "tel": "158XXXXXXXXX", "name": "客服热线", "operator": "移动" "type": "company", "area": "北京" }, "state": 1, "msg": "" }获取API Key