Search Companies

Search Companies Javascript API Documentation

Search the companies database and return a list of companies matching the text query parameter passed through. Query parameter searches across the company ticker and name.

API Class:
CompanyApi
Instance Method:
searchCompanies()

Stock Price Code Example

Use my API Key
var intrinioSDK = require('intrinio-sdk');
intrinioSDK.ApiClient.instance.authentications['ApiKeyAuth'].apiKey = "YOUR_API_KEY";
intrinioSDK.ApiClient.instance.enableRetries = true;
var company = new intrinioSDK.CompanyApi();
var query = "Apple";
var opts = {
'active': true,
'mode': null,
'pageSize': 100
};
company.searchCompanies(query, opts).then(function(data) {
data = JSON.stringify(data, null, 2)
console.log(data);
}, function(error) {
console.error(error);
});
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
queryStringSearch parameters 
activeBooleanWhen true, return companies that are actively traded (having stock prices within the past 14 days). When false, return companies that are not actively traded or never have been traded. Not setting this value returns all. Not used when mode is set.[optional]  
modeStringWhen set, changes search mode to the specified mode.[optional]  
pageSizeNumberThe number of results to return[optional] [default to 100]  


Return Type

object
ApiResponseCompaniesSearch

Properties

NameTypeDescription
companies[CompanySummary] 
object
CompanySummary

Properties

NameTypeDescription
idStringThe Intrinio ID of the company  
tickerStringThe stock market ticker symbol associated with the company's common stock securities  
nameStringThe company's common name  
leiStringThe Legal Entity Identifier (LEI) assigned to the company  
cikStringThe Central Index Key (CIK) assigned to the company