Skip to main content
Fund Data API

Fund comparison

/v1/fund-compareInstitutional

Juxtaposes 2–5 funds and returns returns and rank, fees, managers, top-10 holdings and industry mix in one call, with notices for duplicate share classes and cross-category comparisons. Institutional and above.

Answers: Put these funds side by side — where do returns, fees, managers, holdings and industries differ?

Request parameters

ParameterRequiredTypeDefaultDescription
codes✅string—2–5 fund codes, comma separated, e.g. 110022,009265

Response fields

FieldTypeDescription
codesarrayFund codes being compared
funds[]arrayFull profile per fund, see below
funds[].code / name / base_namestringCode / full name / base name with the share-class suffix removed
funds[].is_money_fundboolWhether it is a money-market fund (different return convention, not directly comparable)
funds[].scale_yi / equity_pct / institution_pctnumberAUM (100M CNY) / equity position / institutional holding share
funds[].buy_fee_original_pct / buy_fee_current_pct / min_buy_yuannumberOriginal / current subscription fee / minimum purchase
funds[].feeobjectmanage_pct / custodian_pct / annual_pct / state
funds[].returns[]arrayBy period: key / label / return_pct / same_type_avg_pct / hs300_pct / rank / total / excess_vs_peer_pct / excess_vs_hs300_pct
funds[].managers[]arrayManagers: name / star / work_time / fund_size / score_avg
funds[].top_holdings[]arrayTop 10: code / name / nav_ratio
funds[].industry_top5[]arrayTop 5 industries: name / pct / peer_pct / diff_pct
overlap[]arrayPairwise overlap: pair / common_count / common[]
warnings[]arrayComparison notices, e.g. duplicate share class, non-comparable categories

Real response sample

Captured live using 110022. List fields are shortened for readability (the real response is longer); elapsed_ms is from that one call — the first request usually takes 1–3 seconds.

{
  "ok": true,
  "endpoint": "fund-compare",
  "tier": "institutional",
  "elapsed_ms": 2423,
  "data": {
    "codes": [
      "110022",
      "009265"
    ],
    "funds": [
      {
        "code": "110022",
        "name": "易方达消费行业股票",
        "base_name": "易方达消费行业股票",
        "is_money_fund": false,
        "scale_yi": 101.09,
        "equity_pct": 90.45,
        "institution_pct": 2.67,
        "report_period": "2026年3季度",
        "buy_fee_original_pct": 1.5,
        "buy_fee_current_pct": 0.15,
        "min_buy_yuan": 10,
        "fee": {
          "manage_pct": 1.2,
          "custodian_pct": 0.2,
          "annual_pct": 1.4,
          "state": "开放申购 开放赎回 开放定投"
        },
        "returns": [
          {
            "key": "1w",
            "label": "近1周",
            "return_pct": -0.83,
            "same_type_avg_pct": -1.34,
            "hs300_pct": -0.94,
            "rank": 439,
            "total": 1135,
            "excess_vs_peer_pct": 0.51,
            "excess_vs_hs300_pct": 0.11
          },
          {
            "key": "1m",
            "label": "近1月",
            "return_pct": 7.81,
            "same_type_avg_pct": -7.22,
            "hs300_pct": -6.07,
            "rank": 13,
            "total": 1131,
            "excess_vs_peer_pct": 15.03,
            "excess_vs_hs300_pct": 13.88
          },
          {
            "key": "3m",
            "label": "近3月",
            "return_pct": 1.05,
            "same_type_avg_pct": -15.94,
            "hs300_pct": -13.89,
            "rank": 52,
            "total": 1104,
            "excess_vs_peer_pct": 16.99,
            "excess_vs_hs300_pct": 14.94
          }
        ],
        "managers": [
          {
            "name": "萧楠",
            "star": 4,
            "work_time": "14年又49天",
            "fund_size": "175.06亿(4只基金)",
            "score_avg": 76.53
          }
        ],
        "top_holdings": [
          {
            "code": "600519",
            "name": "贵州茅台",
            "nav_ratio": 9.96
          },
          {
            "code": "000333",
            "name": "美的集团",
            "nav_ratio": 9.48
          },
          {
            "code": "002594",
            "name": "比亚迪",
            "nav_ratio": 8.64
          }
        ],
        "industry_top5": [
          {
            "name": "制造业",
            "pct": 88.4,
            "peer_pct": 56.81,
            "diff_pct": 31.59
          },
          {
            "name": "农、林、牧、渔业",
            "pct": 1.1,
            "peer_pct": 3.97,
            "diff_pct": -2.87
          },
          {
            "name": "租赁和商务服务业",
            "pct": 0.95,
            "peer_pct": 1.38,
            "diff_pct": -0.43
          }
        ],
        "industry_count": 4
      },
      {
        "code": "009265",
        "name": "易方达消费精选股票",
        "base_name": "易方达消费精选股票",
        "is_money_fund": false,
        "scale_yi": 21.76,
        "equity_pct": 89.4,
        "institution_pct": 1.14,
        "report_period": "2026年3季度",
        "buy_fee_original_pct": 1.5,
        "buy_fee_current_pct": 0.15,
        "min_buy_yuan": 10,
        "fee": {
          "manage_pct": 1.2,
          "custodian_pct": 0.2,
          "annual_pct": 1.4,
          "state": "开放申购 开放赎回 开放定投"
        },
        "returns": [
          {
            "key": "1w",
            "label": "近1周",
            "return_pct": -1.84,
            "same_type_avg_pct": -1.34,
            "hs300_pct": -0.94,
            "rank": 697,
            "total": 1135,
            "excess_vs_peer_pct": -0.5,
            "excess_vs_hs300_pct": -0.9
          },
          {
            "key": "1m",
            "label": "近1月",
            "return_pct": 2.98,
            "same_type_avg_pct": -7.22,
            "hs300_pct": -6.07,
            "rank": 56,
            "total": 1131,
            "excess_vs_peer_pct": 10.2,
            "excess_vs_hs300_pct": 9.05
          },
          {
            "key": "3m",
            "label": "近3月",
            "return_pct": -2.63,
            "same_type_avg_pct": -15.94,
            "hs300_pct": -13.89,
            "rank": 129,
            "total": 1104,
            "excess_vs_peer_pct": 13.31,
            "excess_vs_hs300_pct": 11.26
          }
        ],
        "managers": [
          {
            "name": "萧楠",
            "star": 4,
            "work_time": "14年又49天",
            "fund_size": "175.06亿(4只基金)",
            "score_avg": 76.53
          }
        ],
        "top_holdings": [
          {
            "code": "600519",
            "name": "贵州茅台",
            "nav_ratio": 9.82
          },
          {
            "code": "603129",
            "name": "春风动力",
            "nav_ratio": 7.92
          },
          {
            "code": "09992",
            "name": "泡泡玛特",
            "nav_ratio": 7.7
          }
        ],
        "industry_top5": [
          {
            "name": "制造业",
            "pct": 53.17,
            "peer_pct": 56.81,
            "diff_pct": -3.64
          },
          {
            "name": "非必需消费品",
            "pct": 19.96,
            "peer_pct": null,
            "diff_pct": null
          },
          {
            "name": "必需消费品",
            "pct": 5.03,
            "peer_pct": null,
            "diff_pct": null
          }
        ],
        "industry_count": 8
      }
    ],
    "overlap": [
      {
        "pair": [
          "110022",
          "009265"
        ],
        "common_count": 6,
        "common": [
          {
            "code": "600519",
            "name": "贵州茅台",
            "nav_ratio": {
              "110022": 9.96,
              "009265": 9.82
            }
          },
          {
            "code": "000333",
            "name": "美的集团",
            "nav_ratio": {
              "110022": 9.48,
              "009265": 5.9
            }
          },
          {
            "code": "002594",
            "name": "比亚迪",
            "nav_ratio": {
              "110022": 8.64,
              "009265": 4.26
            }
          }
        ]
      }
    ],
    "warnings": [],
    "method": "所有指标并列自同一批数据源,⛔ 不做加权、不做排序、不做综合评分。excess_vs_peer_pct / excess_vs_hs300_pct 是本接口用「本基金收益」减「同类均值」/「沪深300」得到的,数据源没有这两个字段。industry_top5 是数据源行业配置表按占比降序取前 5,已剔除「合计」行;industry_count 只统计**有仓位**的行业(占比为 0 或未披露的不计入)。规模取最近一期(scaleChange 末位),仓位与持有人比例同理取最新一期。",
    "note": "⚠️ 本接口**只并列数据,不判断哪只更好** —— 那取决于风险偏好、持有期和仓位,不是数据能替客户回答的问题。⚠️ 收益率的计算方式是「该基金净值增长率」,不是客户的实际收益(还要扣申赎费、考虑买入时点)。⚠️ 重仓股只覆盖季报披露的前 10 大,不等于全部持仓;行业名称按数据源分类给出,A 股为证监会门类、港股为港股行业分类,同名才可相加。⚠️ 管理费/托管费是每年从净值里扣的,申购费是买入时一次性收的,两者不能相加。⚠️ `fee` 只含**管理费 + 托管费**,不含销售服务费(C 类通常有)和一次性申赎费 —— 这两项的公开定义各家对不上(实测同一只货基,不同平台相差数倍),拿不准的字段不进合计,少算一项比算错一项好。⚠️ 「在管规模」是基金经理管的所有基金合计,⛔ 不是他管这一只的规模。⚠️ 普通基金给 10 档收益(近1周~成立来);**货币基金会多给 4 档**(key 为 SNH / FTNH / TENH / TFNH),数据源以编码形式提供,未提供中文名称,`label` 为 null。这几档是货币基金特有的年化类指标。"
  }
}

Example call

curl "https://api.fundapi.cn/v1/fund-compare?code=110022" \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "User-Agent: your-app"

Notes

Read `warnings` first

If you pass different share classes of the same fund (A / C), or funds from different categories, `warnings` says so. Do not ignore it and jump to conclusions.

Money-market `returns` use a different convention

When `is_money_fund` is true, returns are per-10k-unit income / seven-day annualised, not NAV growth. Never line them up against an equity fund's NAV change.

Use `base_name` to spot share classes

「易方达消费行业股票」 and 「易方达消费行业股票C」 share the same `base_name`, which tells you they are share classes of one fund.