
解析身份证号码省市区_识别身份证前6位省市区代码
根据身份证号码前六位判断所属省市区
近180天成交13 笔
评论0 条
评分0
商品评分
4.5/10
响应时间(近7天)
998.21ms
SLA(近一月)
100%
商品亮点
自动识别省市区,辅助用户输入
商品参数
API
AI应用与OCR
2023-09-19
西安网极网络科技有限公司
商品说明
由于部分行政区域改变,所以不同年份的身份证号码对应不同代码,如果有识别不精准请及时联系客服反馈。
返回参数
参数 | 说明 | 描述 |
---|---|---|
code | int | 返回状态码,1 正常 0异常 |
msg | string | 返回状态码说明,ok 正常 error异常 |
data | 数据集合 | |
——province | string | 省 |
——province_code | string | 省国标code |
——city | string | 市 |
——city_code | string | 城市国标code |
——county | string | 区(县) |
——county_code | string | 区县国标code |
错误码(除400,403错误外,其他错误可联系我们解决,联系方式见右侧旺旺或钉钉)
错误码 | 错误信息 | 说明 |
---|---|---|
400 | Invalid URL | URL错误 |
403 | Forbidden | 没有购买,或者购买次数用尽,或者URL错误 |
408 | Request Timeout | 超时 |
413 | Payload Too Large | request body太大 |
450 | 后端服务队列满,请求被拒绝,重试即可 | |
460 | Invalid Input - failed to parse json | 上传的body不符合json格式要求,是非法json |
461 | Invalid Input - json format error - missing key: image | 新格式:输入Json中缺少image键 旧格式:输入Json的inputs值中缺少image键 |
461 | Invalid Input - json format error - image format error | 新格式:输入Json中的image值不是字符串 旧格式:输入Json中的image值不是包含DataValue和DataType的Json串 |
461 | Invalid Input - json format error - key inputs missing | 旧格式:输入Json中缺少inputs键 |
461 | Invalid Input - json format error - value of inputs must be a array | 旧格式:输入Json中的inputs值不是一个array |
461 | Invalid Input - json format error - image DataValue format error | 旧格式:输入Json的image键中的DataValue值不是字符串 |
461 | Invalid Input - json format error - configure format error | 旧格式:输入Json中的configure值不是包含DataValue和DataType的Json |
461 | Invalid Input - json format error - failed to parse config str: xxx | 输入的configure不是合法的Json |
461 | Invalid Input - json format error - json parse runtime exception | 输入的Json格式不符合要求 |
462 | Invalid Input - image data error - download image from url error | 从URL下载图像失败 |
462 | Invalid Input - image data error - input image empty, please check your image binary data | 输入的image是空字符串 |
462 | Invalid Input - image data error - image decode failed, please check your image binary data | 输入的image解码失败、base64编码的是不合法的图像格式 |
462 | Invalid Input - image data error - base64decode error, please check your image binary data | 输入的image不是合法的base64字符串 |
462 | Invalid Input - image data error - please remove additional header: data:image/jpg:base64, | 请删除base64字符串多余的头: data:image/jpg:base64 |
462 | Invalid Input - image data error - base64decode error: incorrect padding in base64 string | 输入的image不是合法的base64字符串,base64编码的数据长度需要是4的倍数,如果长度不够,需要再末尾加上=补足。 |
462 | Invalid Input - image data error - base64decode error: base64decode error: incorrect base64 format data | 输入的image不是合法的base64字符串,存在非法字符 |
462 | Invalid Input - image data error - open gif image failed | GIF图像打开失败 |
462 | Invalid Input - image data error - read gif image failed | GIF图像读取失败 |
462 | Invalid Input - image data error - decode gif image failed | GIF图像解码失败 |
462 | Invalid Input - image data error - gif data error, no color map got | GIF获取颜色映射表错误 |
462 | Invalid Input - image data error - gif image empty | GIF图像是为空 |
463 | Invalid Input - wrong category | 输入图像不是对应服务的图像,如行驶证服务请求的不是行驶证 |
464 | Invalid Result - algorithm run failed | OCR识别失败 |
464 | Invalid Result - algorithm runtime exception | OCR识别异常 |
464 | Invalid Result - xxx | OCR识别失败 |
469 | Invalid Service - parse result error | 内部异常 |
469 | Invalid Service - error code missing | 内部异常 |
502 | Bad Gateway | 识别程序超时并断开连接 |
503 | Service Unavailable | API网关等待超时断开连接 |
商品价格
购买选项
版本名称 | 计费项 | 新购 |
版本名称 | 计费项 | 新购 |
本页面内容由服务商提供
用户评论
暂无评价