提交查询
https://api.ihuyi.com/idcard/entinfo/Submit.json
| 参数名称 | 参数值描述 | 示例 | 类型 | 必填 |
| Content-Type | 内容类型,固定值 | application/x-www-form-urlencoded | string | 是 |
| 参数名称 | 参数值描述 | 示例 | 类型 | 必填 |
| account | APIID(用户中心【认证核验】-【企业信息验证】-【产品总览】查看) | xxxxxxxx | string | 是 |
| password | 1、APIKEY(用户中心【认证核验】-【企业信息验证】-【产品总览】查看) 2、动态密码(生成动态密码方式请看该文档末尾的说明) |
xxxxxxxxx | string | 是 |
| ent_name | 企业名称 | 上海xx信息技术有限公司 | string | 否 |
| ent_code | 统一社会信用代码 | 9121xxxxxxxxxN | string | 否 |
| reg_no | 企业注册号 | 301xxxxxxx [注:企业名称、统一社会信用代码、企业注册号三选一传递] | string | 否 |
| time | Unix时间戳(10位整型数字,当使用动态密码方式时为必填) | 1623643787 | string | 否 |
| 参数名称 | 参数值描述 | 示例 | 类型 | 必返 |
| code | 返回值为2时,表示提交成功 | 2|1 | int | 是 |
| msg | 提交结果描述 | 查询成功|查询失败 | string | 是 |
| idcardid | 当提交成功后,此字段为流水号,否则为0或空 | 16236437872836|0 | string | |
| result | 认证结果 | object | ||
| status | 核验状态(2:验证成功,1:验证失败) | 2 | string | |
| info | 信息详情 | object | ||
| person | 主要管理人员 | object | ||
| entname | 企业名称 | ******科技有限公司 | string | |
| pername | 高管姓名 | 张三 | string | |
| position | 职位 | 总经理 | string | |
| personamount | 高管总数量 | 5 | string | |
| basic | 企业基本信息 | object | ||
| orgcodes | 组织机构代码 | 12345678-9 | string | |
| regno | 注册号 | 310000000000000 | string | |
| creditcode | 统一信用代码 | 91310000MA1K123456 | string | |
| opfrom | 经营期限自 | 2020-01-01 | string | |
| opto | 经营期限至 | 2030-01-01 | string | |
| entname | 企业名称 | ******科技有限公司 | string | |
| regcap | 注册资本(企业:万元) | 500 | string | |
| esdate | 成立日期 | 2015-05-10 | string | |
| frname | 法定代表人/负责人执行事务合伙人 | 李四 | string | |
| regorg | 登记机关 | 上海市市场监督管理局 | string | |
| entstatus | 经营状态 | 在营 | string | |
| enttype | 企业类型 | 有限责任公司 | string | |
| regorgprovince | 所在省份 | 上海市 | string | |
| regorgcity | 所在城市 | 上海市 | string | |
| regorgdistrict | 所在区/县 | 浦东新区 | string | |
| regcapcur | 注册资本币种 | 人民币 | string | |
| ancheyear | 最后年检年度 | 2023 | string | |
| postalcode | 邮编 | 200000 | string | |
| revdate | 吊销日期 | string |
| code | msg |
| 0 | 未知错误 |
| 1 | 提交失败 |
| 2 | 提交成功 |
| 400 | 非法ip访问 |
| 401 | 帐号不能为空 |
| 402 | 密码不能为空 |
| 403 | 应用不存在 |
| 405 | API ID 或 API KEY 不正确 |
| 4050 | 账号被冻结 |
| 40501 | 动态密码已过期 |
| 40502 | 动态密码校验失败 |
| 40505 | 没有签定合同 |
| 4051 | 剩余条数不足 |
| 4052 | 访问 ip 与备案 ip 不符 |
| 4086 | 通道无效 |
| 4010 | 通道错误 |
| 4201 | 查询无结果 |
https://api.ihuyi.com/idcard/entinfo/Submit.json?account=xxxxxxxx&password=xxxxxxxxx&ent_name=上海xx信息技术有限公司&ent_code=9121xxxxxxxxxN®_no=301xxxxxxx [注:企业名称、统一社会信用代码、企业注册号三选一传递]&time=1623643787
示例(成功)
<?xml version="1.0" encoding="utf-8"?><SubmitResult><code>2</code><msg>查询成功</msg><idcardid>16236437872836</idcardid><result><status>2</status><info><person><entname>******科技有限公司</entname><pername>张三</pername><position>总经理</position><personamount>5</personamount></person><basic><orgcodes>12345678-9</orgcodes><regno>310000000000000</regno><creditcode>91310000MA1K123456</creditcode><opfrom>2020-01-01</opfrom><opto>2030-01-01</opto><entname>******科技有限公司</entname><regcap>500</regcap><esdate>2015-05-10</esdate><frname>李四</frname><regorg>上海市市场监督管理局</regorg><entstatus>在营</entstatus><enttype>有限责任公司</enttype><regorgprovince>上海市</regorgprovince><regorgcity>上海市</regorgcity><regorgdistrict>浦东新区</regorgdistrict><regcapcur>人民币</regcapcur><ancheyear>2023</ancheyear><postalcode>200000</postalcode><revdate></revdate></basic></info></result></SubmitResult>
{ "code":
2
, "msg":
"查询成功"
, "idcardid":
"16236437872836"
, "result":
{ "status":
"2"
, "info":
{ "person":
{ "entname":
"******科技有限公司"
, "pername":
"张三"
, "position":
"总经理"
, "personamount":
"5"
}
, "basic":
{ "orgcodes":
"12345678-9"
, "regno":
"310000000000000"
, "creditcode":
"91310000MA1K123456"
, "opfrom":
"2020-01-01"
, "opto":
"2030-01-01"
, "entname":
"******科技有限公司"
, "regcap":
"500"
, "esdate":
"2015-05-10"
, "frname":
"李四"
, "regorg":
"上海市市场监督管理局"
, "entstatus":
"在营"
, "enttype":
"有限责任公司"
, "regorgprovince":
"上海市"
, "regorgcity":
"上海市"
, "regorgdistrict":
"浦东新区"
, "regcapcur":
"人民币"
, "ancheyear":
"2023"
, "postalcode":
"200000"
, "revdate":
""
}
}
}
}
示例(失败)
<?xml version="1.0" encoding="utf-8"?><SubmitResult><code>1</code><msg>查询失败</msg></SubmitResult> {"code":1,"msg":"查询失败"}
$account = 'xxxxxxxx';
$password = 'xxxxxxxxx';
$app = 'entinfo'; //固定值
$ent_name = '上海xx信息技术有限公司';
$ent_code = '9121xxxxxxxxxN';
$time = '1623643787';
$password=md5($account.$password.$app.$ent_name.$ent_code.$time);
$password=md5('xxxxxxxxxxxxxxxxxentinfo上海xx信息技术有限公司9121xxxxxxxxxN1623643787');
//注意:所有字符编码统一为UTF-8
在线咨询
150,000家
企业客户
21年
行业经验
2V1
2对1客户支持