个人证照OCR识别

个人证照OCR识别

官方自营

身份证OCR-银行卡OCR-护照OCR-户口页OCR文字识别等个人证件类的图片内容自动识别,快速提取图片中的字段信息,包括姓名、性别、民族、出生日期、住址、身份证号、签发机关、有效期限等可用内容。

已选规格
40.00
自购买起有效期 12 个月
专用资源包
支持通用资源包:充值通用资源包后可直接调用含本接口在内的全站付费接口,无需单独购买专用资源包去充值 ›
在线功能演示
户口页识别
接入点说明
识别户口簿中的文字信息,输出姓名、性别、身份证号、籍贯、出生地、婚姻状况、宗教信仰、文化程度、职业、与户主的关系、身高、兵役状况、登记日期等共21个关键信息。暂无法识别户主页。
接口地址
https://route.showapi.com/1429-6?appKey={your_appKey}查看密钥调用帮助
返回格式JSON
请求方式POST
请求参数
Header 参数
参数名称类型示例值必须描述
content-typeString
application/x-www-form-urlencoded
Post 表单
参数名称类型示例值必须描述
img_base64String
-
要识别图片的base64编码。ime_base64和img_url二选一入参
img_urlString
https://showapi.oss-cn-hangzhou.aliyuncs.com/api/1306/hkc1.png
要识别图片的url,ime_base64和img_url二选一入参
返回参数
该接口返回经 showapi_res_body 系统封装,业务数据均位于该对象内;系统级字段见
返回体
cURL
curl -X POST "https://route.showapi.com/1429-6?appKey=YOUR_APPKEY" \
  -H "content-type: application/x-www-form-urlencoded" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d "img_base64=&img_url=https%3A%2F%2Fshowapi.oss-cn-hangzhou.aliyuncs.com%2Fapi%2F1306%2Fhkc1.png"
返回示例
JSON
{
  "showapi_res_id": "",
  "showapi_res_error": "",
  "showapi_res_code": 0,
  "showapi_res_body": {
		 "sex": "女",
    "birth_date": "1991-10170000",
    "name": "刘冬冬",
    "ext_paras": {
      "mar_status": "未婚",
      "used_name": "",
      "belief": "",
      "edu_degree": "",
      
      "career": "",
      "relation": "",
      "to_city": "无迁移",
      "blood_type": "",
      "addr": "",
      "type": "",
      "house_num": "926482458",
      "to_here": "他所移入:2011.12.09/马店派出所马店乡杨村高庄组",
      "ret_code": 0,
      "height": "",
      "veteran_status": "",
      "record_date": "2013年06月20日",
      "work_place": ""
    },
    "card_no": "4103*********1522",
    "birth_place": "河南省洛宁县",
    "nation_place": "河南省洛宁县",
    "nation": "汉",
    "remark": "无异常"
  }
}
MCP 服务集成接口级

在 Cherry Studio、ChatBox 等支持 MCP 的客户端中配置,将 {your_appKey} 替换为真实 AppKey(AppKey 管理)。该服务覆盖本接口全部接入点。

MCP JSON
{
  "mcpServers": {
    "showapi-mcp-1429": {
      "url": "http://www.showapi.com.cn/mcp/1429/{your_appKey}"
    }
  }
}
OpenAPI 文档接口级

标准 OpenAPI 3.0 文档,覆盖本接口全部接入点,可导入 Apifox / Postman / Swagger UI,或供 AI Agent 直接消费。