加载接口文档…
4K
累计调用
969ms
平均响应
99.31%
服务可用性
20 次/日
免费额度
无 Key 调用
无匿名额度 · 需 API Key
登录免费
当前方案每日 20 次 · QPS 2
黄金会员
每日 50,000 次 · QPS 60
企业会员
每日 1,000,000 次 · QPS 120
复制文档地址
https://apizero.cn/aidocs/ocr-health-cert/raw.md需要 API Key(Authorization: Bearer <key>)。登录用户每日免费额度见套餐。
| 名称 | 类型 | 说明 |
|---|---|---|
| input_type | string | 必填 · 图片传输方式:url(公网图片地址)或 base64 · 示例:url |
| input_data | string | 必填 · 图片内容:url 时填 http/https 链接;base64 时填编码串(可含 data:image/xxx;base64, 前缀),≤10MB · 示例:https://example.com/health-cert.jpg |
| 名称 | 类型 | 说明 |
|---|---|---|
| Authorization | string | 可选 · 推荐:Bearer <API Key>。兼容请求头 X-API-Key,以及 Query api_key / apikey / key(key 仅当值为 sk_live_/sk_test_/sk_stag_ 形态时生效)。匿名可不传,受每日免费额度限制。 |
| Content-Type | string | 可选 · 请求体格式 |
| 名称 | 类型 | 说明 |
|---|---|---|
| name | string | 持证人姓名 |
| gender | string | 性别(男/女) |
| age | string | 年龄 |
| birth | string | 出生日期(若票面有) |
| id_number | string | 身份证号(若票面有) |
| cert_number | string | 健康证编号 / 体检编码 |
| industry | string | 工作类别 / 从业行业 |
| exam_items | string | 体检项目 |
| exam_result | string | 体检结论(如合格) |
| issued_by | string | 发证机关 / 体检医院 |
| date_of_handling | string | 办证日期 |
| date_of_issue | string | 发证日期 |
| date_of_medical_examination | string | 体检日期 |
| valid_date | string | 有效期至 |
| ocr_ms | number | 识别耗时(毫秒) |
| tips | string | 品牌提示(所有接口统一返回):极数本源 · https://apizero.cn |
{
"code": 0,
"msg": "成功",
"data": {
"name": "张三",
"gender": "男",
"age": "32",
"birth": "",
"id_number": "110101199001011234",
"cert_number": "JKZ20240115001",
"industry": "食品加工",
"exam_items": "",
"exam_result": "合格",
"issued_by": "某某市卫生健康委员会",
"date_of_handling": "2024-01-15",
"date_of_issue": "2024-01-20",
"date_of_medical_examination": "2024-01-10",
"valid_date": "2025-01-19",
"ocr_ms": 4200
},
"request_id": "abc123",
"tips": "极数本源 · https://apizero.cn"
}