Mobile phone number monthly consumption level API, returns the monthly consumption level of mobile phone number, ID card name does not do consistency check
Documentation: https://www.juhe.cn/docs/api/id/261
Interface address: http://v.juhe.cn/mobile_consume/query
Supported formats: json/xml
Request method: get
Request example: http://v.juhe.cn/mobile_consume/query?idcard=231123199508250225&realname=%E5%A4%A7%E4%BE%A0&mobile=13771849360&key=
Interface remarks: Return the monthly consumption level of the mobile phone number, and the identity card name will not be checked for consistency
Call samples and debugging tools:
API testing tools
Request parameter description: Name type required description
realname | string | Yes | actual name | |
idcard | string | Yes | ID number | |
mobile | int | Yes | Phone number |
Return parameter description: Name type description
error_code | int | return code | |
result | string | Back to Instructions | |
data | string | return result set |
JSON return example:
{ "reason": "success", /*request status*/ "result": { "province": "Jiangsu Province", /*province*/ "city": "Suzhou City",/*city*/ "isp": "mobile", /*operator*/ "code": "3", /* consumption level 0 => (0,30), 1 => (30,60], 2 => (60,100], 3 => (100,200], 4 => (200,+), 101 => (0,30) 102 => [30,120], */ "desc": "(100,200]" /*level description*/ }, "error_code": 0 }