All URIs are relative to https://api-v2.intrinio.com
Method | HTTP request | Description |
---|---|---|
getAllEtfs | GET /etfs | All ETFs |
getEtf | GET /etfs/{identifier} | Lookup ETF |
getEtfAnalytics | GET /etfs/{identifier}/analytics | ETF Analytics |
getEtfHoldings | GET /etfs/{identifier}/holdings | ETF Holdings |
getEtfStats | GET /etfs/{identifier}/stats | Exchange Traded Fund (ETF) stats |
searchEtfs | GET /etfs/search | Search ETFs |
View Intrinio API Documentation
ApiResponseETFs getAllEtfs(exchange, pageSize, nextPage)
Returns a list of all currently listed ETFs, with relevant identification information including the ETF Name, Ticker, FIGI Ticker, and Exchange MIC for further usage with our ETF Metadata, Holdings, Stats, and Analytics offerings.
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 exchange = "XNAS";
Integer pageSize = 100;
String nextPage = null;
ApiResponseETFs result = etFsApi.getAllEtfs(exchange, pageSize, nextPage);
System.out.println(result);
}
}
Name | Type | Description | Notes |
---|---|---|---|
exchange | String | [optional] | |
pageSize | Integer | The number of results to return | [optional] [default to 100] |
nextPage | String | Gets the next page of data from a previous API call | [optional] |
View Intrinio API Documentation
ETF getEtf(identifier)
Returns classifications and reference data which consists of ~90 columns that give detailed information about an ETF. These granular details include asset class, expense ratio, index name, index weighting scheme, smart beta type and specific investment objectives.
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";
ETF result = etFsApi.getEtf(identifier);
System.out.println(result);
}
}
Name | Type | Description | Notes |
---|---|---|---|
identifier | String | An ETF identifier (Ticker, Figi Ticker, ISIN, RIC, Intrinio ID) |
View Intrinio API Documentation
ETFAnalytics getEtfAnalytics(identifier)
Returns latest market analytics for a specified US ETF, including volume, trailing volume, market cap, 52 week high, and 52 week low.
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";
ETFAnalytics result = etFsApi.getEtfAnalytics(identifier);
System.out.println(result);
}
}
Name | Type | Description | Notes |
---|---|---|---|
identifier | String | An ETF identifier (Ticker, Figi Ticker, ISIN, RIC, Intrinio ID) |
View Intrinio API Documentation
ApiResponseETFHoldings getEtfHoldings(identifier, pageSize, nextPage)
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.
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);
}
}
Name | Type | Description | Notes |
---|---|---|---|
identifier | String | An ETF identifier (Ticker, Figi Ticker, ISIN, RIC, Intrinio ID) | |
pageSize | Integer | The number of results to return | [optional] [default to 100] |
nextPage | String | Gets the next page of data from a previous API call | [optional] |
View Intrinio API Documentation
ETFStats getEtfStats(identifier)
Returns comprehensive key US ETF performance statistics, including prices, NAVs, flows, returns, and much more for both trailing and calendar year periods.
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";
ETFStats result = etFsApi.getEtfStats(identifier);
System.out.println(result);
}
}
Name | Type | Description | Notes |
---|---|---|---|
identifier | String | An ETF identifier (Ticker, Figi Ticker, ISIN, RIC, Intrinio ID) |
View Intrinio API Documentation
ApiResponseETFs searchEtfs(query, mode)
Accepts a string of keyword combinations, and searches across the ETF name and ticker and returns a list of ETFs with related keywords.
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 query = "iShares";
String mode = null;
ApiResponseETFs result = etFsApi.searchEtfs(query, mode);
System.out.println(result);
}
}
Name | Type | Description | Notes |
---|---|---|---|
query | String | ||
mode | String | When set, changes search mode to the specified mode. Paging is not available in rank_order. | [optional] [enum: rank_order, starts_with] |