各位亲爱的用户:
您好!为了给您提供更优质的售后服务,保障您在平台获得更多权益,需要您登录用户中心完成用户认证操作。完成用户认证后,您可在平台顺利购买数据。
若用户未完成用户认证操作,或将影响您的购买体验,望各位用户知悉。
身份证识别
标识:IDCard
- 接口地址:
https://way.jd.com/wintone/IDCard
- 请求方式:
HTTPS GET POST
- 请求示例:
https://way.jd.com/wintone/IDCard?typeId=2&appkey=您申请的APPKEY
QUERY请求参数
- 公共请求参数
-
名称 类型 必填 示例值 描述 appkey String 是 1 您申请的appkey - 业务请求参数
-
名称 类型 必填 示例值 描述 typeId Number 是 2 证件类型:1(一代身份证 )2(身份证正面)3(身份证背面)4(临时身份证) 1001(香港永久性居民身份证)1005(澳门身份证)1031(台湾身份证正面)1032(台湾身份证背面 )
POST请求参数
名称 | 类型 | 必填 | 示例值 | 描述 |
---|---|---|---|---|
body | Image | 是 | 需要识别的图片文件 |
返回参数
- 公共返回参数
-
名称 类型 示例值 描述 code string 10000 更多返回参数示例值请参看“错误参照码” charge boolean false 或 true false:不扣费 true:扣费 remain long 1305 数据剩余次数 msg string 查询成功 更多返回参数示例值请参看“错误参照码” result object {...} 数据查询结果 - 业务返回参数
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
cardsinfo | array | [...] | 识别信息 |
items | array | [...] | 识别信息 |
index | null | null | 暂无 |
desc | string | 保留 | 保留 |
nID | null | null | 暂无 |
content | string | 暂无 | |
content | string | 兰** | 姓名(识别结果) |
nID | null | null | 暂无 |
desc | string | 姓名 | 姓名 |
index | null | null | 暂无 |
desc | string | 性别 | 性别 |
index | null | null | 暂无 |
content | string | 女 | 性别(识别结果) |
nID | null | null | 暂无 |
desc | string | 民族 | 民族 |
nID | null | null | 暂无 |
content | string | 汉 | 民族(识别结果) |
index | null | null | 暂无 |
content | string | 1981-04-23 | 出生(识别结果) |
desc | string | 出生 | 出生 |
index | null | null | 暂无 |
nID | null | null | 暂无 |
nID | null | null | 暂无 |
desc | string | 住址 | 住址 |
content | string | 浙江省**市长台镇通昌路**号 | 住址(识别结果) |
index | null | null | 暂无 |
nID | null | null | 暂无 |
index | null | null | 暂无 |
desc | string | 公民身份号码 | 公民身份号码 |
content | string | *****19810423**** | 公民身份号码(识别结果) |
desc | string | 头像 | 头像 |
nID | null | null | 暂无 |
index | null | null | 暂无 |
content | string | ***省略头像base64数据*** | 头像(识别结果) |
type | string | 2 | 证件类型 |
message | object | {...} | 识别结果 |
status | number | 2 | 识别状态码 |
value | string | 识别成功 | 是否成功 |
返回示例值
{"code":"10000","charge":false,"remain":1305,"msg":"查询成功","result":{"message":{"status":2,"value":"识别成功"},
"cardsinfo":[{"type":"2","items":
[{"nID":null,"index":null,"desc":"保留","content":""},
{"nID":null,"index":null,"desc":"姓名","content":"兰**"},
{"nID":null,"index":null,"desc":"性别","content":"女"},
{"nID":null,"index":null,"desc":"民族","content":"汉"},
{"nID":null,"index":null,"desc":"出生","content":"1981-04-23"},
{"nID":null,"index":null,"desc":"住址","content":"浙江省**市长台镇通昌路**号"},
{"nID":null,"index":null,"desc":"公民身份号码","content":"*****19810423****"},
{"nID":null,"index":null,"desc":"头像","content":"***省略头像base64数据***"}]}]}}