The Mutual Fund API provides detailed information about Mutual Funds including their holdings, expense ratios, assets under management, and other key metrics.
https://api.api-ninjas.com/v1/mutualfund
Returns comprehensive information about any Mutual Fund by its ticker. For live pricing data, please use the Stock Price API with the same ticker.
ticker
requiredMutual Fund ticker symbol (e.g., VFIAX
, FXAIX
, FZROX
).
X-Api-Key
requiredAPI Key associated with your account.
fund_ticker
Mutual Fund ticker symbol.
fund_name
Mutual Fund name.
isin
International Securities Identification Number (ISIN) of the Mutual Fund.
cusip
Nine-character Committee on Uniform Security Identification Procedures (CUSIP) identifier for the Mutual Fund.
country
Country of the Mutual Fund issuer.
expense_ratio
premium onlyAnnual expense ratio of the Mutual Fund as a percentage. For example, 0.2% would be 0.2
.
aum
premium onlyAssets under management of the Mutual Fund in USD.
num_holdings
Number of holdings in the Mutual Fund.
holdings
Array of top holdings in the Mutual Fund, each with ticker, name, and percentage weight. Free users only get access to the first 3 holdings. Premium users get access to all holdings.
https://api.api-ninjas.com/v1/mutualfund?ticker=VFIAX
Headers
X-Api-Key
Log in or sign up to get your API Key
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
"fund_ticker": "VFIAX",
"fund_name": "Vanguard 500 Index Fd Admiral Shares",
"isin": "US9229087104",
"cusip": "922908710",
"country": "US",
"expense_ratio": 0.04,
"aum": 1300000000000,
"num_holdings": 504,
"holdings": [
{
"ticker": "AAPL",
"num_shares": 417498920,
"weight": 0.07024,
"value": 92739035099.6,
"last_updated": 1747220716
},
{
"ticker": "MSFT",
"num_shares": 206610686,
"weight": 0.058739999999999994,
"value": 77559585417.54,
"last_updated": 1747220716
},
{
"ticker": "NVDA",
"num_shares": 680640932,
"weight": 0.055869999999999996,
"value": 73767864210.16,
"last_updated": 1747220716
},
"..."
]
}
1
2
3
4
5
6
7
8
import requests
ticker = 'VFIAX'
api_url = 'https://api.api-ninjas.com/v1/mutualfund?ticker={}'.format(ticker)
response = requests.get(api_url, headers={'X-Api-Key': 'YOUR_API_KEY'})
if response.status_code == requests.codes.ok:
print(response.text)
else:
print("Error:", response.status_code, response.text)
If your programming language is not listed in the Code Example above, you can still make API calls by using a HTTP request library written in your programming language and following the above documentation.