ETF API
The ETF API provides detailed information about Exchange-Traded Funds including their price, holdings, expense ratios, assets under management, and other key metrics.
For data on Mutual Funds, use the Mutual Fund API instead.
From 8,061 users
API Status
API Response Times
Average | P50 | P75 | P90 | P95 |
|---|---|---|---|---|
| 342ms | 360ms | 422ms | 546ms | 1095ms |
Didn't find what you were looking for? Suggest an improvement
/v1/etf GET
https://api.api-ninjas.com/v1/etf
Returns comprehensive information about any ETF by its ticker.
Parameters
tickerrequiredETF ticker symbol (e.g.,
QQQ,SPY,VTI).
Headers
X-Api-KeyrequiredAPI Key associated with your account.
Response
etf_tickerETF ticker symbol.
etf_nameETF name.
isinInternational Securities Identification Number (ISIN) of the ETF.
cusipNine-character Committee on Uniform Security Identification Procedures (CUSIP) identifier for the ETF.
countryCountry of the ETF issuer.
pricepremium onlyCurrent price of the ETF in USD.
expense_ratiopremium onlyAnnual expense ratio of the ETF as a percentage. For example, 0.2% would be
0.2.aumpremium onlyAssets under management of the ETF in USD.
num_holdingspremium onlyNumber of holdings in the ETF.
holdingspremium onlyArray of top holdings in the ETF, each with ticker, name, and percentage weight.
Sample Request Live Demo!
Try this API endpoint with all available parameters in our API playground
https://api.api-ninjas.com/v1/etf?ticker=QQQHeaders
X-Api-KeyLog in or sign up to get your API KeySample Response
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
{
"etf_ticker": "QQQ",
"etf_name": "Invesco QQQ Trust",
"isin": "US46090E1038",
"cusip": "46090E103",
"country": "US",
"expense_ratio": 0.2,
"aum": 305184502800,
"num_holdings": 101,
"holdings": [
{
"ticker": "MSFT",
"num_shares": 61773595,
"weight": 0.08689999999999999,
"value": 27752405289.7,
"last_updated": 1747184735
},
{
"ticker": "AAPL",
"num_shares": 124827810,
"weight": 0.08239,
"value": 26312454069.9,
"last_updated": 1747184735
},
{
"ticker": "NVDA",
"num_shares": 202754805,
"weight": 0.07809,
"value": 24938841015,
"last_updated": 1747184735
},
"..."
]
}Code Examples
1
2
curl -X GET "https://api.api-ninjas.com/v1/etf?ticker=SPY" \
-H "X-Api-Key: YOUR_API_KEY"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.