# 开放式场内交易基金排行 API 数据接口


开放式场内交易基金排行 API 数据接口

多维度参数返回，实时数据，返回多维度指数。

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

# 1. 产品功能

- 返回实时开放式 ETF 基金排行数据
- 多个基金属性值返回
- 多维指标，一次查询毫秒级返回；
- 数据持续更新与维护；
- 全接口支持 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/fundetfopenrankinglist](https://www.gugudata.com/api/details/fundetfopenrankinglist)

**接口地址:** 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

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

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

# 3. 请求参数

| 参数名 | 参数类型 | 是否必须 |   默认值    |        备注         |
| :----: | :------: | :------: | :---------: | :-----------------: |
| appkey |  string  |    是    | YOUR_APPKEY | 付费后获取的 APPKEY |

# 4. 返回参数

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


