热门搜索 : 电子合同   签署   产品
首页 > 文档中心 > 驾驶证OCR识别 > API接口文档

1)请求地址

https://v.1dq.com/api/c9/drivers

2)示范URL

https://v.1dq.com/api/c9/drivers?key=您的key&base64string=

3)请求参数

字段名称 类型 必填 字段说明 示范 备注
key string Y AppKey在我的数据页面 xxxxxx -
base64string string Y 将图片转为base64格式的编码,或图片网址,图片小于3M; -

4)选填参数

字段名称 类型 必填 字段说明 示范 备注
trans_id string N 用户订单号,24 字符以内 2017201230 -
trans_date string N 用户订单时间,格式为YYmmddHHiiss 20160112122233 -
trans_remark string N 用户备注,原路返回 xxx -
account string N 是否返回账户信息,
如需返回剩余可用次数,请传递auto
如果账户是按次数扣除,则返回剩余次数
如账户是按金额扣除,则返回账户剩余金额
auto -
output string N 输出格式,默认JSON;可选项JSON/XML JSON -

5)返回参数

字段名称 类型 必填 字段说明 示范 备注
error_code int Y 状态码 - -
reason string Y 状态说明 - -
ordersign string Y 订单号 - -
result string Y 结果集 - -

6)返回JSON结果示例

{
  "error_code": 0,
  "reason": "识别成功",
  "result": {
    "RealName": "张三", /*姓名*/
    "CardNo": "220402***", /*证号*/
    "Modelcar": "C1", /*准驾车型*/
    "Sex": "男", /*性别*/
    "Nationality": "中国", /*国籍*/
    "Validterm": "20060119", /*有效期限*/
    "Date_birth": "19621216", /*出生日期*/
    "Date_validity": "20060119", /*有效起始日期*/
    "Date_license": "20060119", /*初次领证日期*/
    "Address": "吉林省xx市xx区" /*住址*/
  },
  "ordersign": "20171229010547217719853460"
}

现在注册,免费试用所有产品

免费体验

电话咨询

关注我们

微信公众号