ETF Holdings

ETF Holdings Java 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:
getEtfHoldings()

Stock Price Code Example

Use my API Key
import com.intrinio.api.*;
import com.intrinio.models.*;
import com.intrinio.invoker.*;
import com.intrinio.invoker.auth.*;
import org.threeten.bp.*;
import java.math.BigDecimal;
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
ApiClient defaultClient = Configuration.getDefaultApiClient();
ApiKeyAuth auth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");
auth.setApiKey("YOUR_API_KEY");
defaultClient.setAllowRetries(true);
EtFsApi etFsApi = new EtFsApi();
String identifier = "SPY";
Integer pageSize = 100;
String nextPage = null;
ApiResponseETFHoldings result = etFsApi.getEtfHoldings(identifier, pageSize, nextPage);
System.out.println(result);
}
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

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


Return Type

object
ApiResponseETFHoldings

Properties

NameTypeDescription
holdingsList 
etfETFSummary 
nextPageStringThe token required to request the next page of the data. If null, no further results are available.  
object
ETFHolding

Properties

NameTypeDescription
asOfDateLocalDateThe date on which the holding and their weights correspond  
nameStringThe common name for the holding  
tickerStringThe common exchange ticker for the holding  
typeStringThe type of instrument for this holding. Examples (Bond = 'BOND', Equity = 'EQUI', Options = ‘OPTN')  
compositeFigiStringDEPRECATED  
shareClassFigiStringThe OpenFIGI symbol for the holding  
isinStringInternational Securities Identification Number (ISIN) for the holding  
ricStringReuters Instrument Code (RIC) for the holding  
sedolStringStock Exchange Daily Official List (SEDOL) for the holding  
faceBigDecimalFace value of the debt security, if available  
couponBigDecimalCoupon rate of the debt security, if available  
marketValueHeldBigDecimalThe market value of this holding in the ETF as of the `as_of_date`  
notionalValueBigDecimalNotional value of derivatives contracts held in the Exchange Traded Fund (ETF) or Exchange Traded Note (ETN)  
maturityLocalDateMaturity date for the debt security, if available  
quantityHeldBigDecimalNumber of units of the security held if available  
weightingBigDecimalFraction of the funds market value held  
quantityUnitsBigDecimalThe unit of the `quanity_held` field. Examples ('oz', 'shares', ‘contracts')  
quantityPerShareBigDecimalNumber of units of the security held per units of shares outstanding of the Exchange Traded Fund (ETF), if available  
contractExpiryDateLocalDateExpiry date for the futures contract held in the Exchange Traded Fund (ETF) or Exchange Traded Note (ETN)  
object
ETFSummary

Properties

NameTypeDescription
idStringThe Intrinio ID of the ETF  
nameStringThe common name of the ETF  
tickerStringThe common ticker symbol for the ETF  
figiTickerStringThe OpenFIGI ticker for the ETF  
ricStringReuters Instrument Code (RIC) for the ETF  
isinStringInternational Securities Identification Number (ISIN) for the ETF  
sedolStringStock Exchange Daily Official List (SEDOL) for the ETF  
exchangeMicStringThe exchange Market Identifier Code (MIC) from the International Standards Organization (ISO)