手机号码月消费档次API文档:https://www.juhe.cn/docs/api/id/261
接口地址:http://v.juhe.cn/mobile_consume/query
支持格式:json/xm
请求方式:get
请求示例:http://v.juhe.cn/mobile_consume/query?idcard=231123199508250225&realname=%E5%A4%A7%E4%BE%A0&mobile=13771849360&key=
接口备注:返回手机号的每月消费水平,身份证姓名不做一致性校验
调用样例及调试工具:API测试工具
请求参数说明: 名称 类型 必填 说明
realname string 是 真实姓名
idcard string 是 身份证号
mobile int 是 手机号
返回参数说明: 名称 类型 说明
error_code int 返回码
result string 返回说明
data string 返回结果集
JSON返回示例:
{
"reason": "成功", /*请求状态*/
"result": {
"province": "江苏省", /*省*/
"city": "苏州市",/*城市*/
"isp": "移动", /*运营商*/
"code": "3",
/*消费等级
0 => (0,30),
1 => (30,60],
2 => (60,100],
3 => (100,200],
4 => (200,+),
101 => (0,30)
102 => [30,120],
*/
"desc": "(100,200]" /*等级描述*/
},
"error_code": 0
} 