API 文档
接口地址: https://api.gugudata.com/fund/fund-etf-open-ranking-list
返回格式: application/json; charset=utf-8
请求方式: GET
请求协议: HTTPS
请求示例: https://api.gugudata.com/fund/fund-etf-open-ranking-list?appkey=YOUR_APPKEY&type=&keyword=&pageIndex=1&pageSize=100
数据预览: https://www.gugudata.com/preview/fundetfopenrankinglist
接口测试: https://api.gugudata.com/fund/fund-etf-open-ranking-list/demo
OpenAPI: https://www.gugudata.com/openapi/gugudata.openapi.3.1.json
| 参数名 |
参数类型 |
是否必须 |
默认值 |
备注 |
| appkey |
string |
是 |
YOUR_APPKEY |
必填。接口调用凭证,请在咕咕数据控制台获取;用于身份鉴权和套餐额度校验,不要在公开页面或客户端日志中暴露 |
| type |
string |
否 |
|
可选。按 FundType 精确筛选,不区分英文字母大小写;留空时不限制基金类型 |
| keyword |
string |
否 |
|
可选。按基金代码或基金名称进行不区分大小写的模糊筛选 |
| pageIndex |
integer |
否 |
1 |
可选。分页页码,从 1 开始;仅传 pageSize 时默认使用第 1 页 |
| pageSize |
integer |
否 |
100 |
可选。每页数量,取值范围 1~500;未传 pageIndex 和 pageSize 时返回全部匹配记录 |
| 参数名 |
参数类型 |
备注 |
| DataStatus.RequestParameter |
string |
服务端识别并记录的本次业务查询参数摘要,不包含 APPKEY 等鉴权信息 |
| DataStatus.StatusCode |
integer |
业务状态码;100 表示正常返回,其他值需结合 StatusDescription 判断 |
| DataStatus.StatusDescription |
string |
业务状态说明;成功时说明请求结果,失败时说明参数、权限或数据依赖问题 |
| DataStatus.ResponseDateTime |
string |
服务端生成响应的北京时间,格式为 yyyy-MM-dd HH:mm:ss.fff |
| DataStatus.DataTotalCount |
integer |
当前查询条件下的数据总量;分页接口通常表示全部匹配数量,而不是当前页条数 |
| Data.FundCode |
string |
场内基金的 6 位代码,保留前导零 |
| Data.FundName |
string |
场内基金简称,用于排行列表展示 |
| Data.FundType |
string |
基金所属类型,用于区分不同场内基金类别 |
| Data.DateKey |
string |
本条业绩排行快照对应的净值日期,通常格式为 yyyy-MM-dd |
| Data.UnitNetValue |
number |
基金在 DateKey 最近公布的单位净值 |
| Data.AccumulatedNetValue |
number |
基金在 DateKey 最近公布的累计净值 |
| Data.Week |
number |
截至排行快照日的近 1 周收益率,单位为百分比 |
| Data.Month |
number |
截至排行快照日的近 1 月收益率,单位为百分比 |
| Data.ThreeMonth |
number |
截至排行快照日的近 3 月收益率,单位为百分比 |
| Data.SixMonth |
number |
截至排行快照日的近 6 月收益率,单位为百分比 |
| Data.Year |
number |
截至排行快照日的近 1 年收益率,单位为百分比 |
| Data.TwoYear |
number |
截至排行快照日的近 2 年收益率,单位为百分比 |
| Data.ThreeYear |
number |
截至排行快照日的近 3 年收益率,单位为百分比 |
| Data.YearToDate |
number |
从本年度首个净值日至排行快照日的收益率,单位为百分比 |
| Data.SinceInception |
number |
从基金成立日至排行快照日的累计收益率,单位为百分比 |
| Data.EstablishingDate |
string |
基金成立日期,通常格式为 yyyy-MM-dd |