Fund Holdings Data
Fund Holdings Data
Documentation
API Overview
This API provides fund holding data query services from public fund periodic reports. Developers can pass the fund code (required) and an optional announcement date to retrieve the fund's asset allocation details for the corresponding reporting period, including top-held stock names, codes, holding percentages, and change types (e.g., increased/decreased holdings), as well as bond and FOF holding lists.
Use Cases
- Investment Research Analysis: Quantitative teams or analysts track fund managers' rebalancing paths and stock selection preferences.
- Financial Terminals: Wealth management apps display the transparency of a fund's underlying assets to assist user decision-making.
- Risk Monitoring: Institutional investors monitor changes in the concentration of specific industries or individual stocks within fund portfolios.
Request and Response Details
- Request Method: POST
- Core Parameters:
fundCode(required): Standard 6-digit fund code.reportDate(optional): Announcement date, format YYYY-MM-DD (e.g., 2024-06-30). If not provided, the latest period's data will be returned by default.- Response Data:
stock: Stock holding array, including stock name, code, holding percentage (rate), and change type (e.g., increased/decreased holding).bond: Bond holding array.fof: Array of holdings in other funds (Fund of Funds).reportDate: Reporting period of the actual returned data.
Integration Suggestions
- Date Format Specification: If specifying historical data, please ensure
reportDateconforms to quarter-end or semi-annual/annual announcement dates (e.g., 03-31, 06-30, 09-30, 12-31). - Data Timeliness: Fund holdings are periodically disclosed data, not real-time trading data; please be aware of data lag.
- Null Value Handling: Some funds may not have bond or FOF holdings; the corresponding arrays might be empty. Frontend display should handle null checks.
Integration Examples
Includes ready-to-use Shell, Python, Go, Java, and PHP examples for direct integration.
Request Example
{
"fundCode": "基金代码",
"reportDate": "公告日期,格式为2020-06-30,2020-03-31,不传则默认最新"
}Response Example
{
"code": 200,
"msg": "成功",
"taskNo": "492823910191448773171202",
"data": {
"reportDate": "2024-06-30",
"stock": [
{
"stockName": "金地集团",
"rate": 9.18,
"type": "增持",
"stockCode": "600383"
}
],
"fof": [],
"bond": []
}
}Request Fields
The fields below are derived from example JSON for integration reference only.
| Path | Type | Sample |
|---|---|---|
| type | string | object |
| properties | object | {...} |
| properties.fundCode | object | {...} |
| properties.fundCode.type | string | string |
| properties.fundCode.description | string | 基金代码 |
| properties.reportDate | object | {...} |
| properties.reportDate.type | string |
Response Fields
The fields below are derived from example JSON for integration reference only.
| Path | Type | Sample |
|---|---|---|
| type | string | object |
| properties | object | {...} |
| properties.code | object | {...} |
| properties.code.type | string | number |
| properties.code.example | number | 200 |
| properties.code.description | string | 返回码,详见返回码说明 |
| properties.msg | object |