# 开放式基金实时排行 API 数据接口


开放式基金实时排行 API 数据接口

多维度参数返回，实时数据，类型参数筛选。

![gugudata_api_cover](https://static.gugudata.com/api_cover_fund_ranking_list.png)

# 1. 产品功能

- 返回实时开放式基金排行数据
- 可定义查询基金类型参数；
- 多个基金属性值返回
- 多维指标，一次查询毫秒级返回；
- 数据持续更新与维护；
- 全接口支持 HTTPS（TLS v1.0 / v1.1 / v1.2 / v1.3）；
- 全面兼容 Apple ATS；
- 全国多节点 CDN 部署；
- 接口极速响应，多台服务器构建 API 接口负载均衡；
- [接口调用状态与状态监控](https://www.gugudata.com/status)

# 2. API 文档

**接口详情:** [https://www.gugudata.com/api/details/fundopenrankinglist](https://www.gugudata.com/api/details/fundopenrankinglist)

**接口地址:** 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=N/A

**数据预览:** [https://www.gugudata.com/preview/fundopenrankinglist](https://www.gugudata.com/preview/fundopenrankinglist)

**接口测试:** [https://api.gugudata.com/fund/fund-open-ranking-list/demo](https://api.gugudata.com/fund/fund-open-ranking-list/demo)

# 3. 请求参数

| 参数名 | 参数类型 | 是否必须 |   默认值    |                             备注                             |
| :----: | :------: | :------: | :---------: | :----------------------------------------------------------: |
| appkey |  string  |    是    | YOUR_APPKEY |                     付费后获取的 APPKEY                      |
|  type  |  string  |    是    |     N/A     | 筛选类型，可选参数值：全部｜股票型｜混合型｜债券型｜指数型｜QDII｜LOF｜FOF |

# 4. 返回参数

|            参数名            | 参数类型 |                 备注                 |
| :--------------------------: | :------: | :----------------------------------: |
|    DataStatus.StatusCode     |   int    |            接口返回状态码            |
| DataStatus.StatusDescription |  string  |           接口返回状态说明           |
| DataStatus.ResponseDateTime  |  string  |           接口数据返回时间           |
|  DataStatus.DataTotalCount   |   int    | 此条件下的总数据量，一般用于分页计算 |
|        Data.FundCode         |  string  |               基金代码               |
|        Data.FundName         |  string  |               基金简称               |
|         Data.DateKey         |  string  |                 日期                 |
|      Data.UnitNetValue       |  number  |               单位净值               |
|   Data.CumulativeNetWorth    |  number  |               累计净值               |
|     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.SinceInception      |  number  |          自定义（单位：%）           |
|           Data.Fee           |  string  |                手续费                |


