ETF Holdings

ETF Holdings Python API Documentation

Returns holdings data that details all the constituent securities in each ETF with names, identifiers, and the weights for each security providing granular level transparency.

API Class:
ETFsApi
Instance Method:
get_etf_holdings()

Stock Price Code Example

Use my API Key
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
identifier = 'SPY'
page_size = 100
next_page = ''
response = intrinio.ETFsApi().get_etf_holdings(identifier, page_size=page_size, next_page=next_page)
print(response)
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
identifierstrAn ETF identifier (Ticker, Figi Ticker, ISIN, RIC, Intrinio ID) 
page_sizeintThe number of results to return[optional] [default to 100]  
next_pagestrGets the next page of data from a previous API call[optional]  


Return Type

object
ApiResponseETFHoldings

Properties

NameTypeDescription
holdingslist[ETFHolding] 
etfETFSummary 
next_pagestrThe token required to request the next page of the data. If null, no further results are available.  
object
ETFHolding

Properties

NameTypeDescription
as_of_datedateThe date on which the holding and their weights correspond  
namestrThe common name for the holding  
tickerstrThe common exchange ticker for the holding  
typestrThe type of instrument for this holding. Examples (Bond = 'BOND', Equity = 'EQUI', Options = ‘OPTN')  
composite_figistrDEPRECATED  
share_class_figistrThe OpenFIGI symbol for the holding  
isinstrInternational Securities Identification Number (ISIN) for the holding  
ricstrReuters Instrument Code (RIC) for the holding  
sedolstrStock Exchange Daily Official List (SEDOL) for the holding  
facefloatFace value of the debt security, if available  
couponfloatCoupon rate of the debt security, if available  
market_value_heldfloatThe market value of this holding in the ETF as of the `as_of_date`  
notional_valuefloatNotional value of derivatives contracts held in the Exchange Traded Fund (ETF) or Exchange Traded Note (ETN)  
maturitydateMaturity date for the debt security, if available  
quantity_heldfloatNumber of units of the security held if available  
weightingfloatFraction of the funds market value held  
quantity_unitsfloatThe unit of the `quanity_held` field. Examples ('oz', 'shares', ‘contracts')  
quantity_per_sharefloatNumber of units of the security held per units of shares outstanding of the Exchange Traded Fund (ETF), if available  
contract_expiry_datedateExpiry date for the futures contract held in the Exchange Traded Fund (ETF) or Exchange Traded Note (ETN)  
object
ETFSummary

Properties

NameTypeDescription
idstrThe Intrinio ID of the ETF  
namestrThe common name of the ETF  
tickerstrThe common ticker symbol for the ETF  
figi_tickerstrThe OpenFIGI ticker for the ETF  
ricstrReuters Instrument Code (RIC) for the ETF  
isinstrInternational Securities Identification Number (ISIN) for the ETF  
sedolstrStock Exchange Daily Official List (SEDOL) for the ETF  
exchange_micstrThe exchange Market Identifier Code (MIC) from the International Standards Organization (ISO)