跳到主要内容
基金数据 API

持仓重叠

/v1/fund-overlap机构版

传入 2–10 只基金代码,返回它们季报前十大重仓股的交集、各自权重与合计占比。机构版可用。

回答的问题:我买的这几只基金,重仓股有多少是重复的?

请求参数

参数必填类型默认说明
codes✅string—2–10 只基金代码,逗号分隔,如 110022,009265

响应字段

字段类型说明
codesarray回显参与计算的基金代码
report_periodarray各基金使用的报告期(可能不同期)
coveragestring覆盖范围,固定为 top10(只算前十大)
common_countint共同持有的股票只数
common[]array共同持有的股票:code / name / held_by(由哪几只持有)/ nav_ratio(各基金占净值比)
only_inarray只在个别基金里出现的股票
common_weight_sum_pctobject共同持有部分在各基金里的合计占净值比
methodstring计算方式标识

真实响应样例

用 110022 实抓的真实响应。列表类字段已截短以便阅读(原始响应更完整); 其中的 elapsed_ms 是某一次的耗时,首次请求通常 1–3 秒。

{
  "ok": true,
  "endpoint": "fund-overlap",
  "tier": "institutional",
  "elapsed_ms": 606,
  "data": {
    "codes": [
      "110022",
      "009265"
    ],
    "report_period": [
      "2026年3季度"
    ],
    "coverage": "top10",
    "common_count": 6,
    "common": [
      {
        "code": "600519",
        "name": "贵州茅台",
        "held_by": [
          "110022",
          "009265"
        ],
        "nav_ratio": {
          "110022": "9.96%",
          "009265": "9.82%"
        }
      },
      {
        "code": "000333",
        "name": "美的集团",
        "held_by": [
          "110022",
          "009265"
        ],
        "nav_ratio": {
          "110022": "9.48%",
          "009265": "5.90%"
        }
      },
      {
        "code": "002594",
        "name": "比亚迪",
        "held_by": [
          "110022",
          "009265"
        ],
        "nav_ratio": {
          "110022": "8.64%",
          "009265": "4.26%"
        }
      }
    ],
    "only_in": {
      "110022": [
        {
          "code": "600660",
          "name": "福耀玻璃",
          "nav_ratio": "8.02%"
        },
        {
          "code": "000596",
          "name": "古井贡酒",
          "nav_ratio": "6.84%"
        },
        {
          "code": "000568",
          "name": "泸州老窖",
          "nav_ratio": "5.35%"
        }
      ],
      "009265": [
        {
          "code": "09992",
          "name": "泡泡玛特",
          "nav_ratio": "7.70%"
        },
        {
          "code": "09988",
          "name": "阿里巴巴-W",
          "nav_ratio": "6.01%"
        },
        {
          "code": "09633",
          "name": "农夫山泉",
          "nav_ratio": "5.03%"
        }
      ]
    },
    "common_weight_sum_pct": {
      "110022": 48.4,
      "009265": 39.19
    },
    "method": "computed_from_quarterly_holdings",
    "note": "仅基于季报披露的前 10 大重仓股,⛔ 不代表全部持仓;`common_weight_sum_pct` 为共同股票在各基金中的占净值比之和(可反溯,非比率)"
  }
}

调用示例

curl "https://api.fundapi.cn/v1/fund-overlap?code=110022" \
  -H "Authorization: Bearer 你的API Key" \
  -H "User-Agent: your-app"

注意

只覆盖前十大,不是全部持仓

`coverage` 固定为 `top10`。两只基金可能有更多重叠藏在第 11 名之后,本端点算不到。⛔ 不要把 `common_count` 当成「全部重叠」。

各基金报告期可能不同

`report_period` 是数组,因为不同基金最新披露期可能不一样。跨期比较时要先看这个字段。