文档

RecognizeSocialSecurityCard - 社会保障卡识别

更新时间:

社会保障卡识别。

接口说明

此接口不再更新,不支持新用户接入。请使用新版接口:社保卡识别

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求参数

名称类型必填描述示例值
Urlstring

图片链接(长度不超 2048,不支持 base64)

https://img.alicdn.com/imgextra/i4/O1CN01zpM9bJ1Pa5pCwJat7_!!6000000001856-0-tps-282-179.jpg
bodybyte

图片二进制字节流,最大 10MB

图片二进制

支持的图片格式

  • PNG、JPG、JPEG、BMP、GIF、TIFF、WebP

返回参数

名称类型描述示例值
object

Schema of Response

RequestIdstring

请求唯一 ID

43A29C77-405E-4CC0-BC55-EE694AD00655
Datastring

返回数据

{'RequestId': 'FFCFEB42-DE16-1B36-A2B0-1B90CB7EB24E', 'Data': '{"angle":0,"data":{"title":"湖南省人力资源和社会保障厅","name":"徐某某","idNumber":"123456789012345678","cardNumber":"123456789","bankAccount":"8888888888888888888","issueDate":"2012年XX月","validPeriod":""},"ftype":0,"height":179,"orgHeight":179,"orgWidth":282,"prism_keyValueInfo":[{"key":"title","keyProb":100,"value":"湖南省人力资源和社会保障厅","valuePos":[{"x":64,"y":8},{"x":170,"y":8},{"x":170,"y":17},{"x":64,"y":17}],"valueProb":100},{"key":"name","keyProb":100,"value":"徐某某","valuePos":[{"x":144,"y":47},{"x":144,"y":58},{"x":116,"y":58},{"x":116,"y":47}],"valueProb":100},{"key":"idNumber","keyProb":100,"value":"123456789012345678","valuePos":[{"x":238,"y":62},{"x":238,"y":71},{"x":153,"y":71},{"x":153,"y":62}],"valueProb":100},{"key":"cardNumber","keyProb":100,"value":"123456789","valuePos":[{"x":196,"y":77},{"x":196,"y":86},{"x":154,"y":86},{"x":154,"y":77}],"valueProb":100},{"key":"bankAccount","keyProb":100,"value":"8888888888888888888","valuePos":[{"x":253,"y":129},{"x":253,"y":144},{"x":52,"y":144},{"x":52,"y":129}],"valueProb":100},{"key":"issueDate","keyProb":100,"value":"2012年XX月","valuePos":[{"x":133,"y":91},{"x":180,"y":91},{"x":180,"y":101},{"x":133,"y":101}],"valueProb":100},{"key":"validPeriod","keyProb":100,"value":"","valueProb":100}],"sliceRect":{"x0":0,"y0":0,"x1":281,"y1":0,"x2":281,"y2":179,"x3":0,"y3":178},"width":282}'}
Codestring

错误码

noPermission
Messagestring

错误提示

You are not authorized to perform this operation.

返回数据说明


title          标题
name          姓名
idNumber          社会保障号码
cardNumber          社保保障卡号
bankAccount          银行账号
issueDate          发卡日期
validPeriod          有效期限
ftype           是否是复印件(1:是,0:否)

示例

正常返回示例

JSON格式

{
  "RequestId": "43A29C77-405E-4CC0-BC55-EE694AD00655",
  "Data": "{'RequestId': 'FFCFEB42-DE16-1B36-A2B0-1B90CB7EB24E', 'Data': '{\"angle\":0,\"data\":{\"title\":\"湖南省人力资源和社会保障厅\",\"name\":\"徐某某\",\"idNumber\":\"123456789012345678\",\"cardNumber\":\"123456789\",\"bankAccount\":\"8888888888888888888\",\"issueDate\":\"2012年XX月\",\"validPeriod\":\"\"},\"ftype\":0,\"height\":179,\"orgHeight\":179,\"orgWidth\":282,\"prism_keyValueInfo\":[{\"key\":\"title\",\"keyProb\":100,\"value\":\"湖南省人力资源和社会保障厅\",\"valuePos\":[{\"x\":64,\"y\":8},{\"x\":170,\"y\":8},{\"x\":170,\"y\":17},{\"x\":64,\"y\":17}],\"valueProb\":100},{\"key\":\"name\",\"keyProb\":100,\"value\":\"徐某某\",\"valuePos\":[{\"x\":144,\"y\":47},{\"x\":144,\"y\":58},{\"x\":116,\"y\":58},{\"x\":116,\"y\":47}],\"valueProb\":100},{\"key\":\"idNumber\",\"keyProb\":100,\"value\":\"123456789012345678\",\"valuePos\":[{\"x\":238,\"y\":62},{\"x\":238,\"y\":71},{\"x\":153,\"y\":71},{\"x\":153,\"y\":62}],\"valueProb\":100},{\"key\":\"cardNumber\",\"keyProb\":100,\"value\":\"123456789\",\"valuePos\":[{\"x\":196,\"y\":77},{\"x\":196,\"y\":86},{\"x\":154,\"y\":86},{\"x\":154,\"y\":77}],\"valueProb\":100},{\"key\":\"bankAccount\",\"keyProb\":100,\"value\":\"8888888888888888888\",\"valuePos\":[{\"x\":253,\"y\":129},{\"x\":253,\"y\":144},{\"x\":52,\"y\":144},{\"x\":52,\"y\":129}],\"valueProb\":100},{\"key\":\"issueDate\",\"keyProb\":100,\"value\":\"2012年XX月\",\"valuePos\":[{\"x\":133,\"y\":91},{\"x\":180,\"y\":91},{\"x\":180,\"y\":101},{\"x\":133,\"y\":101}],\"valueProb\":100},{\"key\":\"validPeriod\",\"keyProb\":100,\"value\":\"\",\"valueProb\":100}],\"sliceRect\":{\"x0\":0,\"y0\":0,\"x1\":281,\"y1\":0,\"x2\":281,\"y2\":179,\"x3\":0,\"y3\":178},\"width\":282}'}",
  "Code": "noPermission",
  "Message": "You are not authorized to perform this operation."
}

错误码

访问错误中心查看更多错误码。

变更历史

变更时间变更内容概要操作
暂无变更历史