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.
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
{
"fund_ticker": "VFIAX",
"holdings": [
{
"ticker": "AAPL",
"num_shares": 125720700,
"weight": 0.08847,
"value": 24284210412,
"last_updated": 1745406283
},
{
"ticker": "MSFT",
"num_shares": 62215405,
"weight": 0.0814,
"value": 22342796243.6,
"last_updated": 1745406283
},
{
"ticker": "NVDA",
"num_shares": 204205065,
"weight": 0.0721,
"value": 19789512849.15,
"last_updated": 1745406283
},
"..."
]
}
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.