Guide · Python

Which mutual funds hold a stock

Every Indian mutual fund publishes its full portfolio each month. Turned around, those portfolios tell you which funds own a given share, how much, and how big a part of each fund it is. One call to the Mutual Fund API gives the whole list.

Code we ran Real output Python

What the endpoint returns

GET /api/mf/stock-holders?symbol=TCS (or isin=) lists each scheme that holds the stock in its own newest monthly disclosure, largest market value first, as long as that disclosure is from the last three months on record. Each holder has the scheme name, the fund house, its AMFI scheme codes (one per plan and option), the month, the weight in the fund, the market value and the number of shares. The full reference is in the docs.

Before you start

You need Python 3.9 or newer, the requests package and a free API key. Keep the key in an environment variable, EJI_KEY.

Holders of TCS

Python
import os
from collections import Counter

import requests

BASE = os.environ.get("EJI_BASE", "https://fin.ejiapi.com")
HEADERS = {"x-api-key": os.environ.get("EJI_KEY", "YOUR_KEY")}

r = requests.get(f"{BASE}/api/mf/stock-holders", params={"symbol": "TCS", "limit": 500}, headers=HEADERS, timeout=30)
d = r.json()["data"]
print(f"{d['symbol']} ({d['isin']}) is held by {d['schemeCount']} schemes from {d['amcCount']} fund houses,",
      f"disclosures {d['fromMonth']} to {d['newestMonth']}")
print(f"Total held: Rs {d['totalMarketValue'] / 100:,.0f} crore")  # AMCs report market value in lakhs

print("\nLargest holdings:")
for h in d["holders"][:5]:
    print(f"  {h['schemeName']:<40} Rs {h['marketValue'] / 100:>8,.0f} cr  {h['weightage']:.2f}% of the fund")

print("\nHighest share of the fund:")
for h in sorted(d["holders"], key=lambda h: h["weightage"] or 0, reverse=True)[:3]:
    print(f"  {h['schemeName']:<40} {h['weightage']:.2f}%")

print("\nFund houses with the most schemes holding it:")
for house, n in Counter(h["fundHouse"] for h in d["holders"]).most_common(3):
    print(f"  {house:<30} {n}")
Output
TCS (INE467B01029) is held by 425 schemes from 39 fund houses, disclosures 2026-07 to 2026-10
Total held: Rs 47,747 crore

Largest holdings:
  SBI Nifty 50 ETF                         Rs    4,963 cr  2.39% of the fund
  Parag Parikh Flexi Cap Fund              Rs    4,430 cr  3.02% of the fund
  SBI BSE SENSEX ETF                       Rs    3,420 cr  2.86% of the fund
  Nippon India Large Cap Fund              Rs    1,852 cr  3.55% of the fund
  SBI AGGRESSIVE HYBRID FUND               Rs    1,752 cr  2.04% of the fund

Highest share of the fund:
  ICICI Prudential Nifty IT Index Fund     19.82%
  SBI Nifty IT Index Fund                  19.81%
  Bandhan Nifty IT Index Fund              19.78%

Fund houses with the most schemes holding it:
  HDFC Mutual Fund               34
  ICICI Prudential Mutual Fund   30
  UTI Mutual Fund                25

Reading the result

The same list, without code, is on each stock's page, for example TCS. To go the other way, from a fund to the shares it holds, see portfolio holdings by API.

Related guides

Get a free API key Read the API reference

Data comes from the monthly portfolio disclosures of mutual funds and is for information, not investment advice. Sample outputs were produced on 2026-11-27 and change as new portfolios are published.