请求支持 POST 和 GET 两种方法,字符编码为 utf-8 ,支持全天24小时发送。
https://api.ihuyi.com/idcard/entfuz/Submit.json
| 参数名称 | 参数值描述 | 示例 | 类型 | 必填 |
| Content-Type | 内容类型,固定值 | application/x-www-form-urlencoded | string | 是 |
| 参数名称 | 参数值描述 | 示例 | 类型 | 必填 |
| account | APIID(用户中心【认证核验】-【企业信息验证】-【产品总览】查看) | xxxxxxxx | string | 是 |
| password | 1、APIKEY(用户中心【认证核验】-【企业信息验证】-【产品总览】查看) 2、动态密码(生成动态密码方式请看该文档末尾的说明) |
xxxxxxxxx | string | 是 |
| ent_name | 企业名称 | 上海************有限公司 | string | 是 |
| page_index | 页码,默认第一页 | 1 | string | 否 |
| page_size | 每页条数(默认10条,不超过200条) | 20 | string | 否 |
| time | Unix时间戳(10位整型数字,当使用动态密码方式时为必填) | 1623643787 | string | 否 |
| 参数名称 | 参数值描述 | 示例 | 类型 | 必返 |
| code | 返回值为2时,表示提交成功 | 2|1 | int | |
| msg | 提交结果描述 | 查询成功|查询失败 | string | |
| idcardid | 当提交成功后,此字段为流水号,否则为0或空 | 16236437872836|0 | string | |
| result | 认证结果 | object | ||
| lists[] | 数据列表 | array | ||
| hitReason | 命中原因(1:企业名称 ;2:企业简称 | 1 | string | |
| creditCode | 统一社会信用代码 | 91310115**** | string | |
| entityStatus | 企业状态(1:存续;2:注销;3:吊销;4:撤销;5:迁出;6:设立中;7:清算中;8:停业;9:其他;10:空;11:歇业;12:责令关闭;13:已取缔非法社会组织;14:涉嫌非法社会组织) | 1 | string | |
| entityName | 企业名称 | 上海************有限公司 | string | |
| shortName | 企业简称 | ************有限公司 | string | |
| matchedName | 匹配到的名称,可能是曾用名 | ************有限公司 | string | |
| matchedHistoryName | 1:匹配的是曾用名;0:匹配的是当前名称 | 1 | string |
| code | msg |
| 0 | 未知错误 |
| 1 | 提交失败 |
| 2 | 提交成功 |
| 400 | 非法ip访问 |
| 401 | 帐号不能为空 |
| 402 | 密码不能为空 |
| 403 | 应用不存在 |
| 404 | 姓名不能为空 |
| 4041 | 姓名格式不正确(2-10个中文汉字) |
| 406 | 企业名称、统代、组织机构代码、工商注册号四选一 |
| 407 | 每页条数最大200 |
| 4061 | 身份证格式不正确 |
| 405 | API ID 或 API KEY 不正确 |
| 4050 | 账号被冻结 |
| 40501 | 动态密码已过期 |
| 40502 | 动态密码校验失败 |
| 40505 | 没有签定合同 |
| 4051 | 剩余条数不足 |
| 4052 | 访问 ip 与备案 ip 不符 |
| 4086 | 通道无效 |
| 4010 | 通道错误 |
| 4201 | 查询无结果 |
| 4202 | 查询失败 |
| 4203 | 参数错误 |
| 4204 | 系统异常 |
https://api.ihuyi.com/idcard/entfuz/Submit.json?account=xxxxxxxx&password=xxxxxxxxx&ent_name=上海************有限公司&page_index=1&page_size=20&time=1623643787
示例(成功)
<?xml version="1.0" encoding="utf-8"?><SubmitResult><code>2</code><msg>查询成功</msg><idcardid>16236437872836</idcardid><result><lists><list><hitReason>1</hitReason><creditCode>91310115****</creditCode><entityStatus>1</entityStatus><entityName>上海************有限公司</entityName><shortName>************有限公司</shortName><matchedName>************有限公司</matchedName><matchedHistoryName>1</matchedHistoryName></list><list><hitReason>1</hitReason><creditCode>91310115****</creditCode><entityStatus>1</entityStatus><entityName>上海************有限公司</entityName><shortName>************有限公司</shortName><matchedName>************有限公司</matchedName><matchedHistoryName>1</matchedHistoryName></list><list><hitReason>1</hitReason><creditCode>91310115****</creditCode><entityStatus>1</entityStatus><entityName>上海************有限公司</entityName><shortName>************有限公司</shortName><matchedName>************有限公司</matchedName><matchedHistoryName>1</matchedHistoryName></list></lists></result></SubmitResult>
{ "code":
2
, "msg":
"查询成功"
, "idcardid":
"16236437872836"
, "result":
{ "lists":
[ { "hitReason":
"1"
, "creditCode":
"91310115****"
, "entityStatus":
"1"
, "entityName":
"上海************有限公司"
, "shortName":
"************有限公司"
, "matchedName":
"************有限公司"
, "matchedHistoryName":
"1"
}
, { "hitReason":
"1"
, "creditCode":
"91310115****"
, "entityStatus":
"1"
, "entityName":
"上海************有限公司"
, "shortName":
"************有限公司"
, "matchedName":
"************有限公司"
, "matchedHistoryName":
"1"
}
, { "hitReason":
"1"
, "creditCode":
"91310115****"
, "entityStatus":
"1"
, "entityName":
"上海************有限公司"
, "shortName":
"************有限公司"
, "matchedName":
"************有限公司"
, "matchedHistoryName":
"1"
}
]
}
}
示例(失败)
<?xml version="1.0" encoding="utf-8"?><SubmitResult><code>1</code><msg>查询失败</msg></SubmitResult> {"code":1,"msg":"查询失败"}
$account = 'xxxxxxxx';
$password = 'xxxxxxxxx';
$app = 'entfuz'; //固定值
$ent_name = '上海************有限公司';
$ent_code = '';
$time = '1623643787';
$password=md5($account.$password.$app.$ent_name.$ent_code.$time);
$password=md5('xxxxxxxxxxxxxxxxxentfuz上海************有限公司1623643787');
//注意:所有字符编码统一为UTF-8
在线咨询
150,000家
企业客户
21年
行业经验
2V1
2对1客户支持