POST
/
fund
/
portfolio-fund-holdings
基金的持仓基金
curl --request POST \
  --url https://data-api.investoday.net/data/fund/portfolio-fund-holdings \
  --header 'Content-Type: application/json' \
  --header 'apiKey: <api-key>' \
  --data '
{
  "fundCode": "000006",
  "fundCodes": [
    "000001",
    "000006"
  ]
}
'
{
  "code": 0,
  "message": "success",
  "data": [
    {
      "date": "2023-11-15",
      "fundId": "000218JK",
      "fundCode": "000218",
      "fundName": "国泰黄金ETF联接A",
      "holdingFundCode": "A01501JK",
      "holdingShares": 12345.67,
      "holdingValue": 40528979.32,
      "holdingRatio": 65.95,
      "fundTypeOverseas": 3,
      "fundTypeOverseasDesc": "全球股票型基金",
      "fundOperationType": 1,
      "fundOperationTypeDesc": "开放式基金",
      "managerName": "华夏基金管理有限公司",
      "managerId": 100001
    }
  ]
}

Authorizations

apiKey
string
header
required

API访问的安全令牌

Body

application/json

通过基金代码查询基金的持仓基金数据,包括持仓基金标识、数量、市值、占净资产比例、境外基金类型及描述、运作方式及描述、管理人名称及代码等核心信息,便于分析基金的投资组合和资产配置情况。

fundCode
string

基金代码【与fundCodes组成多选一参数,必须且只能传递其中一个】

Example:

"000006"

fundCodes
string[]

基金代码列表【与fundCode组成多选一参数,必须且只能传递其中一个】

Example:
["000001", "000006"]

Response

成功响应

code
integer<int32>

响应状态码

Example:

0

message
string

响应消息

Example:

"success"

data
object[]