Lookup Security

Lookup Security Java API Documentation

Returns security reference data such as ticker, FIGI, primary exchange, CIK, and a unique security identifier.

API Class:
SecurityApi
Instance Method:
getSecurityById()

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);
SecurityApi securityApi = new SecurityApi();
String identifier = "AAPL";
Security result = securityApi.getSecurityById(identifier);
System.out.println(result);
}
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
identifierStringA Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID) 


Return Type

object
Security

Properties

NameTypeDescription
idStringThe Intrinio ID for the Security  
companyIdStringThe Intrinio ID for the company for which the Security is issued  
nameStringThe name of the Security  
typeStringThe Security's type  
codeStringA 2-3 digit code classifying the Security (reference)  
shareClassStringThe Security's share class (if applicable)  
currencyStringThe currency in which the Security is traded on the exchange  
roundLotSizeBigDecimalThe normal unit of trading  
tickerStringThe common ticker  
exchangeTickerStringThe exchange-level ticker  
compositeTickerStringThe country-composite ticker  
alternateTickersListAlternate formats of the common ticker  
figiStringThe exchange-level OpenFIGI identifier  
cikStringCentral Index Key issued by the SEC, which is the unique identifier for all owner filings  
compositeFigiStringThe country-composite OpenFIGI identifier  
shareClassFigiStringThe global-composite OpenFIGI identifier  
figiUniqueidStringThe OpenFIGI unique ID  
activeBooleanIf true, the Security is active and has been recently traded  
etfBooleanIf true, this Security is an ETF  
delistedBooleanIf true, the Security is no longer traded on the exchange  
primaryListingBooleanIf true, the Security is the primary issue for the company, otherwise it is a secondary issue on a secondary stock exchange  
primarySecurityBooleanIf true, the Security is considered by Intrinio to be the primary Security for its company  
firstStockPriceLocalDateThe date of the first recorded stock price  
lastStockPriceLocalDateThe date of the last recorded stock price (or the most recent trading day)  
lastStockPriceAdjustmentLocalDateThe date of the last stock price adjustment (dividend, split, etc)  
lastCorporateActionLocalDateThe date of the last corporate action  
previousTickersListPrevious tickers used by this security  
listingExchangeMicStringThe MIC code of the exchange on which this security primarily trades