# 接口服务列表(43)
接口文档
 结婚证识别接口
结婚证识别接口 application member login
单次低至 0.058元 立即购买
套餐1 10次/0.58元 立即购买
套餐2 10次/0.66元 立即购买
接口地址: https://www.powerbot.cn/api/app.php?s=App.MarriageCertificate.Marriagecertificate 接口描述: 基于OCR、NLP技术,高精度识别结婚证关键字段返回,准确率高达99%。
请求协议 HTTP/HTTPS
请求方式 GET/POST
编码格式 UTF-8
返回格式 JSON

接口参数

参数名字类型是否必须默认值其他说明
access_token 字符串 必须 请到授权模块-申请访问令牌获取access_token 必填
upfile file 必须 最小:0;最大:5242880 请上传图片

返回字段

返回结果类型说明
ret 整型 状态码,200表示成功,4xx表示客户端非法请求,5xx表示服务器错误
data 对象或混合类型 业务数据,由各自接口指定,通常为对象
data.content 对象 结婚证内容信息
data.content.holder 字符串 结婚证持有者
data.content.registration_date 字符串 注册日期
data.content.marry_number 字符串 结婚证号码
data.content.man 字符串 男人姓名
data.content.woman 字符串 女人姓名
data.content.country 字符串 注册国家
data.content.birthday_man 字符串 男人生日
data.content.birthday_woman 字符串 女人身份证号码
data.content.idcard_man 字符串 男人身份证号码
data.content.remark 字符串 备注
msg 字符串 提示信息,失败时的错误提示

在线测试   

参数是否必须
service 必须
access_token 必须
upfile 必须

客户端请求示例

# 暂无示例,可添加示例文件:./src/view/docs/demos/App.MarriageCertificate.Marriagecertificate.json

错误列表

错误状态码错误描述信息
400 ret=400,客户端参数错误或非法请求
404 表示接口服务不存在
406 ret=406,access_token令牌校验不通过
407 ret=407,app_key权限不足,或未知应用
408 ret=408,当前用户禁止使用,或用户未登录
500 表示服务端内部错误
©2012-2023 萝卜动力 粤ICP备12058243号