# 指数型基金基本信息 API 数据接口


指数型基金基本信息 API 数据接口

基础与增长信息，实时数据，包含净值与增长。

![gugudata_api_cover](https://static.gugudata.com/api_stock_fundbasicindex.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/fundbasicindex](https://www.gugudata.com/api/details/fundbasicindex)

**接口地址:** https://api.gugudata.com/fund/basic/index

**返回格式:** application/json; charset=utf-8

**请求方式:** GET

**请求协议:** HTTPS

**请求示例:** https://api.gugudata.com/fund/basic/index?appkey=YOUR_APPKEY&index=&indicator=

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

**接口测试:** [https://api.gugudata.com/fund/basic/index/demo](https://api.gugudata.com/fund/basic/index/demo)

# 3. 请求参数

|  参数名   | 参数类型 | 是否必须 |   默认值    |                             备注                             |
| :-------: | :------: | :------: | :---------: | :----------------------------------------------------------: |
|  appkey   |  string  |    是    | YOUR_APPKEY |                     付费后获取的 APPKEY                      |
|   index   |  string  |    是    |             | 指数类型，可选值: 全部\|沪深指数\|行业主题\|大盘指数\|中盘指数\|小盘指数\|股票指数\|债券指数 |
| indicator |  string  |    是    |             |        数据指标，可选值: 全部\|被动指数型\|增强指数型        |

# 4. 返回参数

|              参数名               | 参数类型 |                 备注                 |
| :-------------------------------: | :------: | :----------------------------------: |
|       DataStatus.StatusCode       |   int    |            接口返回状态码            |
|   DataStatus.StatusDescription    |  string  |           接口返回状态说明           |
|    DataStatus.ResponseDateTime    |  string  |           接口数据返回时间           |
|     DataStatus.DataTotalCount     |   int    | 此条件下的总数据量，一般用于分页计算 |
|           Data.FundCode           |  string  |               基金代码               |
|           Data.FundName           |  string  |             基金中文全称             |
|        Data.NetAssetValue         |  number  |             基金单位净值             |
|           Data.TimeKey            |  string  |           基金单位净值日期           |
|        Data.DayGrowthRate         |  number  |             基金日增长率             |
|        Data.WeekGrowthRate        |  number  |             基金周增长率             |
|       Data.MonthGrowthRate        |  number  |             基金月增长率             |
|     Data.ThreeMonthGrowthRate     |  number  |            基金三月增长率            |
|      Data.SixMonthGrowthRate      |  number  |            基金六月增长率            |
|        Data.YearGrowthRate        |  number  |             基金年增长率             |
|      Data.TwoYearGrowthRate       |  number  |            基金两年增长率            |
|     Data.ThreeYearGrowthRate      |  number  |            基金三年增长率            |
|      Data.ThisYearGrowthRate      |  number  |          基金今年以来增长率          |
| Data.SinceEstablishmentGrowthRate |  number  |          基金成立以来增长率          |
|             Data.Fee              |  number  |               基金费率               |
|      Data.MinPurchaseAmount       |  string  |           基金最低购买金额           |
|        Data.TrackingTarget        |  string  |             基金跟踪标的             |
|        Data.TrackingMethod        |  string  |             基金跟踪方式             |

