基本信息
接口地址
https://api.qixin.com/APIService/qc/getTopTenCirPartnerList数据格式
JSON
请求方式
GET
请求示例
https://api.qixin.com/APIService/qc/getTopTenCirPartnerList?name=深圳市特力(集团)股份有限公司&date=2022-06-30描述
上市企业十大流通股东信息,包括前十大流通股东股东名称、股份类型,及持股比例、本期变动比例等
请求参数 (Headers)
| 参数名 | 类型 | 必填 | 描述 |
|---|---|---|---|
Auth-Version |
String | 是 | 2.0(参数值),固定传入:2.0 |
appkey |
String | 是 | 启信慧眼数据开放平台获取 ,获取方式:个人中心-安全中心-API 密钥,获取appkey的同时,请完成IP白名单的配置:个人中心-安全中心-API IP白名单设置,如未配置,接口调试会报错“104 未添加IP白名单” |
timestamp |
String | 是 | UNIX时间戳,精确到毫秒,示例:1656921036000,当前系统时间近10分钟有效 |
sign |
String | 是 | 请求认证签名,对appkey+timestamp+secret_key进行md5或者sha256摘要计算的结果,小写字符串(实际加密不带入‘+’) |
请求参数 (Query)
| 参数名 | 类型 | 必填 | 描述 |
|---|---|---|---|
name |
String | 是 | 企业全名/注册号/统一社会信用代码 |
skip |
Number | 否 | 跳过条目数(跳过的条数,默认不填返回前20条,取21到40条的数据,skip=20,以此类推进行取数) |
date |
String | 是 | 发布日期,每个季度最后一天,格式: YYYY-MM-DD |
响应参数
| 参数名 | 类型 | 长度 | 描述 |
|---|---|---|---|
datadata.data |
Object | 0 | 返回查询结果,如果没有匹配记录则返回为空。具体字段含义见下表 |
totaldata.data.total |
Number | 0 | 返回列表中记录总数 |
itemsdata.data.items |
Array | 0 | 十大流动股东信息列表 |
sharestypedata.data.items.sharestype |
String | 400 | 股份类型 |
sharehdnumdata.data.items.sharehdnum |
String | 50 | 持股数 |
changeamountratiodata.data.items.changeamountratio |
String | 59 | 本期变动比例 |
listsharratiodata.data.items.listsharratio |
String | 50 | 占已上市流通股比例 |
changeamountdata.data.items.changeamount |
String | 59 | 本期变动股数 |
sharehdtypecodedata.data.items.sharehdtypecode |
String | 36 | 股东类型code |
sharehdcodedata.data.items.sharehdcode |
String | 36 | 股东代码eid |
sharehdratiodata.data.items.sharehdratio |
String | 50 | 持股比例 |
sharehdtypedata.data.items.sharehdtype |
String | 400 | 股东类型 |
reportdatedata.data.items.reportdate |
String | 255 | 报告日期 |
sharehdnamedata.data.items.sharehdname |
String | 1600 | 股东名称 |
ifpledgedata.data.items.ifpledge |
String | 255 | 是否抵押 |
eiddata.data.items.eid |
String | 36 | 企业eid |
signdata.sign |
String | 32 | 数据签名 |
statusdata.status |
String | 10 | 返回结果状态 |
messagedata.message |
String | 255 | 返回结果消息 |
响应示例
JSON
{
"status": "200",
"message": "操作成功",
"sign": "4afd3e656dbcc20552541fd0790b5cb0",
"data": {
"items": [
{
"sharehdcode": "c92f9ecb-5752-466b-b5e0-60f8fe841643",
"sharehdratio": "49.086500",
"sharehdname": "深圳市特发集团有限公司",
"changeamountratio": "",
"reportdate": "2022-03-31",
"listsharratio": "53.8705",
"sharehdtypecode": "019",
"sharehdtype": "其它",
"ifpledge": false,
"changeamount": "-",
"sharestype": "A股",
"eid": "9bf76b5a-a3e8-4caf-8936-4c14be888a78",
"sharehdnum": "211591621"
},
{
"sharehdcode": "f7c8e771-d614-434e-89f7-66485839147f",
"sharehdratio": "11.885600",
"sharehdname": "深圳远致富海珠宝产业投资企业(有限合伙)",
"changeamountratio": "-7.760426",
"reportdate": "2022-03-31",
"listsharratio": "13.044",
"sharehdtypecode": "014",
"sharehdtype": "投资公司",
"ifpledge": false,
"changeamount": "-4310485",
"sharestype": "A股",
"eid": "9bf76b5a-a3e8-4caf-8936-4c14be888a78",
"sharehdnum": "51233952"
},
{
"sharehdcode": "1eb3cdfe-be29-11e6-b0ed-00163e014a2c",
"sharehdratio": "0.408700",
"sharehdname": "GUOTAI JUNAN SECURITIES(HONGKONG) LIMITED",
"changeamountratio": "-5.098446",
"reportdate": "2022-03-31",
"listsharratio": "-",
"sharehdtypecode": "017",
"sharehdtype": "证券公司",
"ifpledge": false,
"changeamount": "-94655",
"sharestype": "B股",
"eid": "9bf76b5a-a3e8-4caf-8936-4c14be888a78",
"sharehdnum": "1761891"
},
{
"sharehdcode": "",
"sharehdratio": "0.226400",
"sharehdname": "中国建设银行股份有限公司-广发中证全指汽车指数型发起式证券投资基金",
"changeamountratio": "2.953530",
"reportdate": "2022-03-31",
"listsharratio": "0.2485",
"sharehdtypecode": "018",
"sharehdtype": "证券投资基金",
"ifpledge": false,
"changeamount": "28000",
"sharestype": "A股",
"eid": "9bf76b5a-a3e8-4caf-8936-4c14be888a78",
"sharehdnum": "976018"
},
{
"sharehdcode": "",
"sharehdratio": "0.199700",
"sharehdname": "石秀民",
"changeamountratio": "100.000000",
"reportdate": "2022-03-31",
"listsharratio": "0.2191",
"sharehdtypecode": "006",
"sharehdtype": "个人",
"ifpledge": false,
"changeamount": "860635",
"sharestype": "A股",
"eid": "9bf76b5a-a3e8-4caf-8936-4c14be888a78",
"sharehdnum": "860635"
},
{
"sharehdcode": "",
"sharehdratio": "0.165800",
"sharehdname": "黄清双",
"changeamountratio": "100.000000",
"reportdate": "2022-03-31",
"listsharratio": "0.182",
"sharehdtypecode": "006",
"sharehdtype": "个人",
"ifpledge": false,
"changeamount": "714700",
"sharestype": "A股",
"eid": "9bf76b5a-a3e8-4caf-8936-4c14be888a78",
"sharehdnum": "714700"
},
{
"sharehdcode": "",
"sharehdratio": "0.154600",
"sharehdname": "李国勇",
"changeamountratio": "100.000000",
"reportdate": "2022-03-31",
"listsharratio": "0.1697",
"sharehdtypecode": "006",
"sharehdtype": "个人",
"ifpledge": false,
"changeamount": "666400",
"sharestype": "A股",
"eid": "9bf76b5a-a3e8-4caf-8936-4c14be888a78",
"sharehdnum": "666400"
},
{
"sharehdcode": "",
"sharehdratio": "0.133800",
"sharehdname": "徐菲蓉",
"changeamountratio": "-0.121259",
"reportdate": "2022-03-31",
"listsharratio": "0.1468",
"sharehdtypecode": "006",
"sharehdtype": "个人",
"ifpledge": false,
"changeamount": "-700",
"sharestype": "A股",
"eid": "9bf76b5a-a3e8-4caf-8936-4c14be888a78",
"sharehdnum": "576578"
},
{
"sharehdcode": "",
"sharehdratio": "0.133100",
"sharehdname": "杨建锋",
"changeamountratio": "13.791154",
"reportdate": "2022-03-31",
"listsharratio": "0.1461",
"sharehdtypecode": "006",
"sharehdtype": "个人",
"ifpledge": false,
"changeamount": "69535",
"sharestype": "A股",
"eid": "9bf76b5a-a3e8-4caf-8936-4c14be888a78",
"sharehdnum": "573735"
},
{
"sharehdcode": "",
"sharehdratio": "0.132900",
"sharehdname": "肖桥月",
"changeamountratio": "100.000000",
"reportdate": "2022-03-31",
"listsharratio": "0.1458",
"sharehdtypecode": "006",
"sharehdtype": "个人",
"ifpledge": false,
"changeamount": "572848",
"sharestype": "A股",
"eid": "9bf76b5a-a3e8-4caf-8936-4c14be888a78",
"sharehdnum": "572848"
}
],
"total": 10,
"date": "2022-03-31"
}
}
代码示例
javascript
let request = require('request');
let urlEncode = require('urlencode');
let crypto = require('crypto');
let baseUrl = 'https://api.qixin.com/APIService/qc/getTopTenCirPartnerList';
let appkey = '正式appkey';
let secretKey = '正式secret_key';
let timeStamp = new Date().getTime();
const hash = crypto.createHash('md5');
let sign = hash.update(appkey + timeStamp + secretKey).digest('hex');
let urlParams = {
name: 'name的值',
skip: 'skip的值',
date: 'date的值'
}
let concatParams = []
for (let key in urlParams) {
concatParams.push(key + '=' + urlParams[key]);
}
let options = {
'method': 'GET',
'url': baseUrl + '?' + concatParams.join('&'),
'headers': {
'Connection': 'keep-alive',
'Auth-version': '2.0',
'appkey': appkey,
'timestamp': timeStamp,
'sign': sign
}
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});