Identity certificate name authentication API interface

Identity verification and name authentication API interface: Check whether the name and ID number are the same.

Interface documentation: https://www.juhe.cn/docs/api/id/103

 

Interface address: http://op.juhe.cn/idcard/query
Supported format: json
Request method: http get
Request example: http://op.juhe.cn/idcard/query?key=KEY&idcard you applied for=420104198905015713&realname=%E7%8E%8B%E9%9D%9E%E5%90%9F
Interface Note: If the query is unsuccessful, no billing
Call samples and debugging tools: API testing tools
Request parameter description: Name type required description
  idcard string Yes identification number
  realname string Yes Name (urlencode in utf8 encoding)
  key string Yes Application APPKEY (application detail page query)
Return parameter description: Name type description
  error_code int return code
  reason string Back to Instructions
  result string return result set
JSON return example:
{
    "reason": "成功1",
    "result": {
        "realname": "Dong Haoshuai",/*real name*/
        "idcard": "330329199001020012",/*ID card number*/
        "res": 1 /*1: match 2: not match */
    },
    "error_code": 0
}
 Error code reference:
Service-level error code reference (error_code): Error code description
  210301 There is no such ID record in the library
  210302 Third-party server exception
  210303 server maintenance
  210304 parameter exception
  210305 Network error, please try again
  210306 Parameter error, refer to reason for details
System-level error code reference: Error code description old version (resultcode)
  10001 Bad request KEY 101
  10002 The KEY does not request permission 102
  10003 KEY expired 103
  10004 wrong OPENID 104
  10005 The application has not been reviewed and timed out, please submit the certification 105
  10007 Unknown request source 107
  10008 Banned IPs 108
  10009 Forbidden KEY 109
  10011 The current IP request exceeds the limit 111
  10012 Request exceeds limit 112
  10013 Test KEY exceeds request limit 113
  10014 Internal abnormality of the system (when calling recharge services, please be sure to contact customer service or check the order through the order query interface to avoid losses) 114
  10020 interface maintenance 120
  10021 interface disabled 121
Error code format description (example: 200201): 2 002 01
  Service level error (1 is system level error) Service Module Code (i.e. Data ID) specific error code
Sample code:

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326448730&siteId=291194637