API 文档
接口地址: https://api.gugudata.com/fund/fund-open-ranking-list
返回格式: application/json; charset=utf-8
请求方式: GET
请求协议: HTTPS
请求示例: https://api.gugudata.com/fund/fund-open-ranking-list?appkey=YOUR_APPKEY&type=%e6%8c%87%e6%95%b0%e5%9e%8b
数据预览: https://www.gugudata.com/preview/fundopenrankinglist
接口测试: https://api.gugudata.com/fund/fund-open-ranking-list/demo
OpenAPI: https://www.gugudata.com/openapi/gugudata.openapi.3.1.json
| 参数名 |
参数类型 |
是否必须 |
默认值 |
备注 |
| appkey |
string |
是 |
YOUR_APPKEY |
付费后获取的 APPKEY。文档示例默认通过 Query 参数 appkey 传递;历史 Form 或 JSON body 中的 appkey 仍兼容。 |
| type |
string |
是 |
指数型 |
必填。基金大类,仅支持:全部、股票型、混合型、债券型、指数型、QDII、FOF;不在支持范围时返回参数错误 |
| 参数名 |
参数类型 |
备注 |
| 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.DateKey |
string |
本条业绩排行快照对应的净值日期,通常格式为 yyyy-MM-dd |
| Data.UnitNetValue |
number |
基金在 DateKey 最近公布的单位净值 |
| Data.AccumulatedNetValue |
number |
基金在 DateKey 最近公布的累计净值 |
| Data.DailyGrowthRate |
number |
单位净值相对上一净值日的增长率,单位为百分比 |
| 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.Custom |
number |
数据源提供的自定义统计区间收益率,单位为百分比 |
| Data.Fee |
string |
数据源公布的手续费或费率说明,可能包含百分号或文字 |