請求支持 POST 和 GET 兩種方法,字符編碼為 utf-8 ,支持全天24小時發(fā)送。
https://api.ihuyi.com/idcard/entfuz/Submit.json
參數(shù)名稱 | 參數(shù)值描述 | 示例 | 類型 | 必填 |
Content-Type | 內(nèi)容類型,固定值 | application/x-www-form-urlencoded | string | 是 |
參數(shù)名稱 | 參數(shù)值描述 | 示例 | 類型 | 必填 |
account | APIID(用戶中心【認(rèn)證核驗】-【企業(yè)信息驗證】-【產(chǎn)品總覽】查看) | xxxxxxxx | string | 是 |
password | 1、APIKEY(用戶中心【認(rèn)證核驗】-【企業(yè)信息驗證】-【產(chǎn)品總覽】查看) 2、動態(tài)密碼(生成動態(tài)密碼方式請看該文檔末尾的說明) |
xxxxxxxxx | string | 是 |
ent_name | 企業(yè)名稱 | 上海************有限公司 | string | 是 |
time | Unix時間戳(10位整型數(shù)字,當(dāng)使用動態(tài)密碼方式時為必填) | 1623643787 | string | 否 |
參數(shù)名稱 | 參數(shù)值描述 | 示例 | 類型 | 必返 |
code | 返回值為2時,表示提交成功 | 2|1 | int | |
msg | 提交結(jié)果描述 | 查詢成功|查詢失敗 | string | |
idcardid | 當(dāng)提交成功后,此字段為流水號,否則為0或空 | 16236437872836|0 | string | |
result | 認(rèn)證結(jié)果 | object | ||
lists[] | 數(shù)據(jù)列表 | array | ||
hitReason | 命中原因(1:企業(yè)名稱 ;2:企業(yè)簡稱 | 1 | string | |
creditCode | 統(tǒng)一社會信用代碼 | 91310115**** | string | |
entityStatus | 企業(yè)狀態(tài)(1:存續(xù);2:注銷;3:吊銷;4:撤銷;5:遷出;6:設(shè)立中;7:清算中;8:停業(yè);9:其他;10:空;11:歇業(yè);12:責(zé)令關(guān)閉;13:已取締非法社會組織;14:涉嫌非法社會組織) | 1 | string | |
entityName | 企業(yè)名稱 | 上海************有限公司 | string | |
shortName | 企業(yè)簡稱 | ************有限公司 | string |
code | msg |
0 | 未知錯誤 |
1 | 提交失敗 |
2 | 提交成功 |
400 | 非法ip訪問 |
401 | 帳號不能為空 |
402 | 密碼不能為空 |
403 | 應(yīng)用不存在 |
404 | 姓名不能為空 |
4041 | 姓名格式不正確(2-10個中文漢字) |
406 | 企業(yè)名稱、統(tǒng)代、組織機構(gòu)代碼、工商注冊號四選一 |
407 | 每頁條數(shù)最大50 |
4061 | 身份證格式不正確 |
405 | API ID 或 API KEY 不正確 |
4050 | 賬號被凍結(jié) |
40501 | 動態(tài)密碼已過期 |
40502 | 動態(tài)密碼校驗失敗 |
40505 | 沒有簽定合同 |
4051 | 剩余條數(shù)不足 |
4052 | 訪問 ip 與備案 ip 不符 |
4086 | 通道無效 |
4010 | 通道錯誤 |
https://api.ihuyi.com/idcard/entfuz/Submit.json?account=xxxxxxxx&password=xxxxxxxxx&ent_name=上海************有限公司&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></list><list><hitReason>1</hitReason><creditCode>91310115****</creditCode><entityStatus>1</entityStatus><entityName>上海************有限公司</entityName><shortName>************有限公司</shortName></list><list><hitReason>1</hitReason><creditCode>91310115****</creditCode><entityStatus>1</entityStatus><entityName>上海************有限公司</entityName><shortName>************有限公司</shortName></list></lists></result></SubmitResult>
{"code":2,"msg":"查詢成功","idcardid":"16236437872836","result":{"lists":[{"hitReason":"1","creditCode":"91310115****","entityStatus":"1","entityName":"上海************有限公司","shortName":"************有限公司"},{"hitReason":"1","creditCode":"91310115****","entityStatus":"1","entityName":"上海************有限公司","shortName":"************有限公司"},{"hitReason":"1","creditCode":"91310115****","entityStatus":"1","entityName":"上海************有限公司","shortName":"************有限公司"}]}}
示例(失?。?/p>
<?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'); //注意:所有字符編碼統(tǒng)一為UTF-8
國內(nèi)專業(yè)互聯(lián)網(wǎng)團隊
21年行業(yè)經(jīng)驗
7x24小時售后支持
豐富的行業(yè)經(jīng)驗
Copyright ? 2004-2025 上海思銳信息技術(shù)有限公司 All rights reserved. 滬ICP備07035915號-15 電信增值業(yè)務(wù)許可證:B2-20160082
服務(wù)熱線:
4008 808 898
服務(wù)熱線(工作時間):
4008 808 898
業(yè)務(wù)咨詢(非工作時間):
售后咨詢(非工作時間):
驗證碼已發(fā)送到您的手機,請查收!
輸入驗證碼后,點擊“開通體驗賬戶”按鈕可立即開通體驗賬戶。