Search Companies

Search Companies Csharp 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:
Intrinio.SDK.Api.CompanyApi
Instance Method:
SearchCompanies()

Stock Price Code Example

Use my API Key
using System;
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
using Intrinio.SDK.Api;
using Intrinio.SDK.Client;
using Intrinio.SDK.Model;
using Newtonsoft.Json;
namespace Example
{
public class SearchCompaniesExample
{
public static void Main()
{
Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
Configuration.Default.AllowRetries = true;
var companyApi = new CompanyApi();
string query = "Apple";
bool? active = true;
string mode = null;
int? pageSize = 100;
ApiResponseCompaniesSearch result = companyApi.SearchCompanies(query, active, mode, pageSize);
Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
}
}
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
querystringSearch parameters 
activebool?When 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]  
pageSizeint?The number of results to return[optional] [default to 100]  


Return Type

object
Intrinio.SDK.Model.ApiResponseCompaniesSearch

Properties

NameTypeDescription
CompaniesList 
object
Intrinio.SDK.Model.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