Skip to content

Latest commit

 

History

History
2176 lines (1446 loc) · 65.4 KB

CompanyApi.md

File metadata and controls

2176 lines (1446 loc) · 65.4 KB

Intrinio.SDK.Api.CompanyApi

All URIs are relative to https://api-v2.intrinio.com

Method HTTP request Description
GetAllCompanies GET /companies All Companies
GetAllCompaniesDailyMetrics GET /companies/daily_metrics All Companies daily metrics
GetAllCompanyNews GET /companies/news All News
GetCompany GET /companies/{identifier} Lookup Company
GetCompanyAnswers GET /companies/{identifier}/answers Company Answers
GetCompanyDailyMetrics GET /companies/{identifier}/daily_metrics Company metrics by Company
GetCompanyDataPointNumber GET /companies/{identifier}/data_point/{tag}/number Data Point (Number) for Company
GetCompanyDataPointText GET /companies/{identifier}/data_point/{tag}/text Data Point (Text) for Company
GetCompanyFilings GET /companies/{identifier}/filings All Filings by Company
GetCompanyFundamentals GET /companies/{identifier}/fundamentals All Fundamentals by Company
GetCompanyHistoricalData GET /companies/{identifier}/historical_data/{tag} Historical Data for Company
GetCompanyIpos GET /companies/ipos IPOs
GetCompanyNews GET /companies/{identifier}/news All News by Company
GetCompanyNewsBody GET /companies/news/body News Article Body
GetCompanyPublicFloat GET /companies/{identifier}/public_float Get Company's public float
GetCompanySecurities GET /companies/{identifier}/securities All Securities by Company
InsiderTransactionFilingsByCompany GET /companies/{identifier}/insider_transaction_filings Insider Transaction Filings by Company
LatestInsiderTransactionFilingByCompany GET /companies/{identifier}/insider_transaction_filings/latest Latest Insider Transaction Filing by Company
LookupCompanyFundamental GET /companies/{identifier}/fundamentals/lookup/{statement_code}/{fiscal_year}/{fiscal_period} Lookup Fundamental by Company
RecognizeCompany GET /companies/recognize Recognize Company
SearchCompanies GET /companies/search Search Companies
SharesOutstandingByCompany GET /companies/{identifier}/shares_outstanding Shares Outstanding by Company

GetAllCompanies

View Intrinio API Documentation

ApiResponseCompanies GetAllCompanies (DateTime? latestFilingDate = null, string sic = null, string template = null, string sector = null, string industryCategory = null, string industryGroup = null, bool? hasFundamentals = null, bool? hasStockPrices = null, bool? theaEnabled = null, int? pageSize = null, string nextPage = null)

All Companies

Returns all Companies. When parameters are specified, returns matching companies.

Example

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 GetAllCompaniesExample
  {
    public static void Main()
    {
      Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
      Configuration.Default.AllowRetries = true;
      
      var companyApi = new CompanyApi();
      
      DateTime? latestFilingDate = null;
      string sic = null;
      string template = null;
      string sector = null;
      string industryCategory = null;
      string industryGroup = null;
      bool? hasFundamentals = true;
      bool? hasStockPrices = true;
      bool? theaEnabled = null;
      int? pageSize = 100;
      string nextPage = null;
      
      ApiResponseCompanies result = companyApi.GetAllCompanies(latestFilingDate, sic, template, sector, industryCategory, industryGroup, hasFundamentals, hasStockPrices, theaEnabled, pageSize, nextPage);
      Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
    }
  }
}

Parameters

Name Type Description Notes
latestFilingDate DateTime? Return companies whose latest 10-Q or 10-K was filed on or after this date [optional]  
sic string Return companies with the given Standard Industrial Classification code [optional]  
template string Return companies with the given financial statement template [optional]  
sector string Return companies in the given industry sector [optional]  
industryCategory string Return companies in the given industry category [optional]  
industryGroup string Return companies in the given industry group [optional]  
hasFundamentals bool? Return only companies that have fundamentals when true [optional]  
hasStockPrices bool? Return only companies that have stock prices when true [optional]  
theaEnabled bool? Return companies whose have been read by our Thea NLP and are ready for our company answers endpoint [optional]  
pageSize int? The number of results to return [optional] [default to 100]  
nextPage string Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseCompanies

GetAllCompaniesDailyMetrics

View Intrinio API Documentation

ApiResponseCompanyDailyMetrics GetAllCompaniesDailyMetrics (DateTime? onDate = null, int? pageSize = null, string nextPage = null, string nextPage2 = null)

All Companies daily metrics

Returns the company metrics for a date.

Example

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 GetAllCompaniesDailyMetricsExample
  {
    public static void Main()
    {
      Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
      Configuration.Default.AllowRetries = true;
      
      var companyApi = new CompanyApi();
      
      DateTime? onDate = 2013-10-20;
      int? pageSize = 100;
      string nextPage = null;
      string nextPage2 = "";
      
      ApiResponseCompanyDailyMetrics result = companyApi.GetAllCompaniesDailyMetrics(onDate, pageSize, nextPage, nextPage2);
      Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
    }
  }
}

Parameters

Name Type Description Notes
onDate DateTime? Date of the metric [optional]  
pageSize int? The number of results to return [optional] [default to 100]  
nextPage string Gets the next page of data from a previous API call [optional]  
nextPage2 string Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseCompanyDailyMetrics

GetAllCompanyNews

View Intrinio API Documentation

ApiResponseNews GetAllCompanyNews (string specificSource = null, int? pageSize = null, string sentiment = null, string topic = null, string company = null, string security = null, DateTime? startDate = null, DateTime? endDate = null, string language = null, int? wordCountGreaterThan = null, int? wordCountLessThan = null, bool? isSpam = null, decimal? businessRelevanceGreaterThan = null, decimal? businessRelevanceLessThan = null, string nextPage = null)

All News

Returns the latest news article links, headlines and summaries for all US traded companies allowing you to keep a pulse on companies and their business operations.

Example

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 GetAllCompanyNewsExample
  {
    public static void Main()
    {
      Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
      Configuration.Default.AllowRetries = true;
      
      var companyApi = new CompanyApi();
      
      string specificSource = null;
      int? pageSize = 100;
      string sentiment = null;
      string topic = null;
      string company = "AAPL";
      string security = "AAPL";
      DateTime? startDate = null;
      DateTime? endDate = null;
      string language = null;
      int? wordCountGreaterThan = null;
      int? wordCountLessThan = null;
      bool? isSpam = null;
      decimal? businessRelevanceGreaterThan = null;
      decimal? businessRelevanceLessThan = null;
      string nextPage = null;
      
      ApiResponseNews result = companyApi.GetAllCompanyNews(specificSource, pageSize, sentiment, topic, company, security, startDate, endDate, language, wordCountGreaterThan, wordCountLessThan, isSpam, businessRelevanceGreaterThan, businessRelevanceLessThan, nextPage);
      Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
    }
  }
}

Parameters

Name Type Description Notes
specificSource string Only news from this source. Defaults to highest available if not present. [optional]  
pageSize int? The maximum number of results to return. [optional] [default to 100]  
sentiment string Filter by sentiment. Unsupported for yahoo source. [optional]  
topic string Filter by topic. Unsupported for yahoo source. [optional]  
company string Filter by `company` identifier (ticker, CIK, LEI, Intrinio ID) [optional]  
security string Filter by `security` identifier (ticker, figi, isin, cusip, Intrinio ID). Unsupported for yahoo source. [optional]  
startDate DateTime? Limit news stories to those on or after this date. Defaults to yesterday if unspecified. [optional]  
endDate DateTime? Limit news stories to those on or before this date. [optional]  
language string Filter by language. Unsupported for yahoo source. [optional]  
wordCountGreaterThan int? News stories will have a word count greater than this value. Unsupported for yahoo source. [optional]  
wordCountLessThan int? News stories will have a word count less than this value. Unsupported for yahoo source. [optional]  
isSpam bool? Filter whether it is marked as spam or not. Unsupported for yahoo source. [optional]  
businessRelevanceGreaterThan decimal? News stories will have a business relevance score more than this value. Unsupported for yahoo source. [optional]  
businessRelevanceLessThan decimal? News stories will have a business relevance score less than this value. Unsupported for yahoo source. [optional]  
nextPage string Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseNews

GetCompany

View Intrinio API Documentation

Company GetCompany (string identifier)

Lookup Company

Returns company reference and metadata such as tickers, CIK, and a unique company identifier, as well as company metadata such as business description, employee count, and company URL.

Example

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 GetCompanyExample
  {
    public static void Main()
    {
      Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
      Configuration.Default.AllowRetries = true;
      
      var companyApi = new CompanyApi();
      
      string identifier = "AAPL";
      
      Company result = companyApi.GetCompany(identifier);
      Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
    }
  }
}

Parameters

Name Type Description Notes
identifier string A Company identifier (Ticker, CIK, LEI, Intrinio ID)  

Return type

Company

GetCompanyAnswers

View Intrinio API Documentation

ApiResponseCompanyAnswers GetCompanyAnswers (string identifier, string query)

Company Answers

Returns answers for a question about the Company with the given identifier

Example

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 GetCompanyAnswersExample
  {
    public static void Main()
    {
      Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
      Configuration.Default.AllowRetries = true;
      
      var companyApi = new CompanyApi();
      
      string identifier = "AAPL";
      string query = "What do they believe in?";
      
      ApiResponseCompanyAnswers result = companyApi.GetCompanyAnswers(identifier, query);
      Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
    }
  }
}

Parameters

Name Type Description Notes
identifier string A Company identifier (Ticker, CIK, LEI, Intrinio ID)  
query string The query to ask the Thea API  

Return type

ApiResponseCompanyAnswers

GetCompanyDailyMetrics

View Intrinio API Documentation

ApiResponseCompanyDailyMetrics GetCompanyDailyMetrics (string identifier, DateTime? onDate = null, int? pageSize = null, string nextPage = null, string nextPage2 = null)

Company metrics by Company

Returns the latest company metrics.

Example

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 GetCompanyDailyMetricsExample
  {
    public static void Main()
    {
      Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
      Configuration.Default.AllowRetries = true;
      
      var companyApi = new CompanyApi();
      
      string identifier = "AAPL";
      DateTime? onDate = 2013-10-20;
      int? pageSize = 100;
      string nextPage = null;
      string nextPage2 = "";
      
      ApiResponseCompanyDailyMetrics result = companyApi.GetCompanyDailyMetrics(identifier, onDate, pageSize, nextPage, nextPage2);
      Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
    }
  }
}

Parameters

Name Type Description Notes
identifier string A Company identifier (Ticker, CIK, LEI, Intrinio ID)  
onDate DateTime? Date of the metric [optional]  
pageSize int? The number of results to return [optional] [default to 100]  
nextPage string Gets the next page of data from a previous API call [optional]  
nextPage2 string Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseCompanyDailyMetrics

GetCompanyDataPointNumber

View Intrinio API Documentation

decimal? GetCompanyDataPointNumber (string identifier, string tag)

Data Point (Number) for Company

Returns latest value for calculations, metrics, and financial data points for a company.

Example

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 GetCompanyDataPointNumberExample
  {
    public static void Main()
    {
      Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
      Configuration.Default.AllowRetries = true;
      
      var companyApi = new CompanyApi();
      
      string identifier = "AAPL";
      string tag = "marketcap";
      
      decimal? result = companyApi.GetCompanyDataPointNumber(identifier, tag);
      Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
    }
  }
}

Parameters

Name Type Description Notes
identifier string A Company identifier (Ticker, CIK, LEI, Intrinio ID)  
tag string An Intrinio data tag ID or code (<a href='https://data.intrinio.com/data-tags&#39;&gt;reference&lt;/a>)  

Return type

decimal?

GetCompanyDataPointText

View Intrinio API Documentation

string GetCompanyDataPointText (string identifier, string tag)

Data Point (Text) for Company

Returns latest value for metadata items for a company.

Example

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 GetCompanyDataPointTextExample
  {
    public static void Main()
    {
      Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
      Configuration.Default.AllowRetries = true;
      
      var companyApi = new CompanyApi();
      
      string identifier = "AAPL";
      string tag = "ceo";
      
      string result = companyApi.GetCompanyDataPointText(identifier, tag);
      Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
    }
  }
}

Parameters

Name Type Description Notes
identifier string A Company identifier (Ticker, CIK, LEI, Intrinio ID)  
tag string An Intrinio data tag ID or code (<a href='https://data.intrinio.com/data-tags&#39;&gt;reference&lt;/a>)  

Return type

string

GetCompanyFilings

View Intrinio API Documentation

ApiResponseCompanyFilings GetCompanyFilings (string identifier, string reportType = null, DateTime? startDate = null, DateTime? endDate = null, bool? theaEnabled = null, int? pageSize = null, string nextPage = null)

All Filings by Company

Returns a complete list of SEC filings for the Company with the given identifier

Example

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 GetCompanyFilingsExample
  {
    public static void Main()
    {
      Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
      Configuration.Default.AllowRetries = true;
      
      var companyApi = new CompanyApi();
      
      string identifier = "AAPL";
      string reportType = null;
      DateTime? startDate = DateTime.Parse("2015-01-01");
      DateTime? endDate = null;
      bool? theaEnabled = null;
      int? pageSize = 100;
      string nextPage = null;
      
      ApiResponseCompanyFilings result = companyApi.GetCompanyFilings(identifier, reportType, startDate, endDate, theaEnabled, pageSize, nextPage);
      Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
    }
  }
}

Parameters

Name Type Description Notes
identifier string A Company identifier (Ticker, CIK, LEI, Intrinio ID)  
reportType string Filter by <a href=&quot;https://docs.intrinio.com/documentation/sec_filing_report_types\" target=&quot;_blank&quot;>report type</a>. Separate values with commas to return multiple report types. [optional]  
startDate DateTime? Filed on or after the given date [optional]  
endDate DateTime? Filed before or after the given date [optional]  
theaEnabled bool? Return filings that have been read by our Thea NLP and are ready for our answers endpoint [optional]  
pageSize int? The number of results to return [optional] [default to 100]  
nextPage string Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseCompanyFilings

GetCompanyFundamentals

View Intrinio API Documentation

ApiResponseCompanyFundamentals GetCompanyFundamentals (string identifier, DateTime? filedAfter = null, DateTime? filedBefore = null, bool? reportedOnly = null, int? fiscalYear = null, string statementCode = null, string type = null, DateTime? startDate = null, DateTime? endDate = null, DateTime? updatedAfter = null, DateTime? updatedBefore = null, int? pageSize = null, string nextPage = null)

All Fundamentals by Company

Returns a list of fundamentals with unique fundamental IDs associated with a particular company. Useful to obtain all historical and/or latest fundamental IDs for a given company to then use to loop through and pull all fundamental data available.

Example

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 GetCompanyFundamentalsExample
  {
    public static void Main()
    {
      Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
      Configuration.Default.AllowRetries = true;
      
      var companyApi = new CompanyApi();
      
      string identifier = "AAPL";
      DateTime? filedAfter = null;
      DateTime? filedBefore = null;
      bool? reportedOnly = false;
      int? fiscalYear = null;
      string statementCode = null;
      string type = null;
      DateTime? startDate = null;
      DateTime? endDate = null;
      DateTime? updatedAfter = DateTime.Parse("2022-12-01");
      DateTime? updatedBefore = DateTime.Parse("2022-12-01");
      int? pageSize = 100;
      string nextPage = null;
      
      ApiResponseCompanyFundamentals result = companyApi.GetCompanyFundamentals(identifier, filedAfter, filedBefore, reportedOnly, fiscalYear, statementCode, type, startDate, endDate, updatedAfter, updatedBefore, pageSize, nextPage);
      Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
    }
  }
}

Parameters

Name Type Description Notes
identifier string A Company identifier (Ticker, CIK, LEI, Intrinio ID)  
filedAfter DateTime? Filed on or after this date [optional]  
filedBefore DateTime? Filed on or before this date [optional]  
reportedOnly bool? Only as-reported fundamentals [optional]  
fiscalYear int? Only for the given fiscal year [optional]  
statementCode string Only of the given statement code [optional]  
type string Only of the given type [optional]  
startDate DateTime? Only on or after the given date [optional]  
endDate DateTime? Only on or before the given date [optional]  
updatedAfter DateTime? Only include fundamentals where it was updated after this date. [optional]  
updatedBefore DateTime? Only include fundamentals where it was updated before this date. [optional]  
pageSize int? The number of results to return [optional] [default to 100]  
nextPage string Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseCompanyFundamentals

GetCompanyHistoricalData

View Intrinio API Documentation

ApiResponseCompanyHistoricalData GetCompanyHistoricalData (string identifier, string tag, string frequency = null, string type = null, DateTime? startDate = null, DateTime? endDate = null, string sortOrder = null, int? pageSize = null, string nextPage = null)

Historical Data for Company

Returns historical values for the given tag and the Company with the given identifier

Example

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 GetCompanyHistoricalDataExample
  {
    public static void Main()
    {
      Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
      Configuration.Default.AllowRetries = true;
      
      var companyApi = new CompanyApi();
      
      string identifier = "AAPL";
      string tag = "marketcap";
      string frequency = "daily";
      string type = null;
      DateTime? startDate = DateTime.Parse("2018-01-01");
      DateTime? endDate = null;
      string sortOrder = null;
      int? pageSize = 100;
      string nextPage = null;
      
      ApiResponseCompanyHistoricalData result = companyApi.GetCompanyHistoricalData(identifier, tag, frequency, type, startDate, endDate, sortOrder, pageSize, nextPage);
      Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
    }
  }
}

Parameters

Name Type Description Notes
identifier string A Company identifier (Ticker, CIK, LEI, Intrinio ID)  
tag string An Intrinio data tag ID or code (<a href='https://data.intrinio.com/data-tags&#39;&gt;reference&lt;/a>)  
frequency string Return historical data in the given frequency [optional] [default to daily]  
type string Return historical data for given fiscal period type [optional]  
startDate DateTime? Return historical data on or after this date [optional]  
endDate DateTime? Return historical data on or before this date [optional]  
sortOrder string Sort by date `asc` or `desc` [optional] [default to desc]  
pageSize int? The number of results to return [optional] [default to 100]  
nextPage string Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseCompanyHistoricalData

GetCompanyIpos

View Intrinio API Documentation

ApiResponseInitialPublicOfferings GetCompanyIpos (string ticker = null, string status = null, DateTime? startDate = null, DateTime? endDate = null, int? offerAmountGreaterThan = null, int? offerAmountLessThan = null, int? pageSize = null, string nextPage = null)

IPOs

Returns a list of historical, current, and upcoming initial public offerings (IPOs) across the major US Exchanges. Includes relevant information such as the IPO status, the offer amount, the total share count and target share price.

Example

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 GetCompanyIposExample
  {
    public static void Main()
    {
      Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
      Configuration.Default.AllowRetries = true;
      
      var companyApi = new CompanyApi();
      
      string ticker = "UBER";
      string status = null;
      DateTime? startDate = null;
      DateTime? endDate = null;
      int? offerAmountGreaterThan = null;
      int? offerAmountLessThan = null;
      int? pageSize = 100;
      string nextPage = null;
      
      ApiResponseInitialPublicOfferings result = companyApi.GetCompanyIpos(ticker, status, startDate, endDate, offerAmountGreaterThan, offerAmountLessThan, pageSize, nextPage);
      Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
    }
  }
}

Parameters

Name Type Description Notes
ticker string Return IPOs with the given ticker (typically the IPO for the company) [optional]  
status string Return IPOs with the given status. Upcoming IPOs are scheduled to occur in the future. Priced IPOs have occurred and the company should be trading publicly. Withdrawn IPOs were planned to occurr but were withdrawn beforehand [optional]  
startDate DateTime? Return IPOs on or after the given date [optional]  
endDate DateTime? Return IPOs on or before the given date [optional]  
offerAmountGreaterThan int? Return IPOs with an offer dollar amount greater than the given amount [optional]  
offerAmountLessThan int? Return IPOs with an offer dollar amount less than the given amount [optional]  
pageSize int? The number of results to return [optional] [default to 100]  
nextPage string Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseInitialPublicOfferings

GetCompanyNews

View Intrinio API Documentation

ApiResponseCompanyNews GetCompanyNews (string identifier, string specificSource = null, int? pageSize = null, string sentiment = null, string topic = null, string security = null, DateTime? startDate = null, DateTime? endDate = null, string language = null, int? wordCountGreaterThan = null, int? wordCountLessThan = null, bool? isSpam = null, decimal? businessRelevanceGreaterThan = null, decimal? businessRelevanceLessThan = null, string nextPage = null)

All News by Company

Returns the latest and historical news article links, headlines and summaries for a specified US traded company.

Example

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 GetCompanyNewsExample
  {
    public static void Main()
    {
      Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
      Configuration.Default.AllowRetries = true;
      
      var companyApi = new CompanyApi();
      
      string identifier = "AAPL";
      string specificSource = null;
      int? pageSize = 100;
      string sentiment = null;
      string topic = null;
      string security = "AAPL";
      DateTime? startDate = null;
      DateTime? endDate = null;
      string language = null;
      int? wordCountGreaterThan = null;
      int? wordCountLessThan = null;
      bool? isSpam = null;
      decimal? businessRelevanceGreaterThan = null;
      decimal? businessRelevanceLessThan = null;
      string nextPage = null;
      
      ApiResponseCompanyNews result = companyApi.GetCompanyNews(identifier, specificSource, pageSize, sentiment, topic, security, startDate, endDate, language, wordCountGreaterThan, wordCountLessThan, isSpam, businessRelevanceGreaterThan, businessRelevanceLessThan, nextPage);
      Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
    }
  }
}

Parameters

Name Type Description Notes
identifier string A Company identifier (Ticker, CIK, LEI, Intrinio ID)  
specificSource string Only news from this source. Defaults to highest available if not present. [optional]  
pageSize int? The maximum number of results to return [optional] [default to 100]  
sentiment string Filter by sentiment. Unsupported for yahoo source. [optional]  
topic string Filter by topic. Unsupported for yahoo source. [optional]  
security string Filter by `security` identifier (ticker, figi, isin, cusip, Intrinio ID). Unsupported for yahoo source. [optional]  
startDate DateTime? Limit news stories to those on or after this date. Defaults to yesterday if unspecified. [optional]  
endDate DateTime? Limit news stories to those on or before this date [optional]  
language string Filter by language. Unsupported for yahoo source. [optional]  
wordCountGreaterThan int? News stories will have a word count greater than this value. Unsupported for yahoo source. [optional]  
wordCountLessThan int? News stories will have a word count less than this value. Unsupported for yahoo source. [optional]  
isSpam bool? Filter whether it is marked as spam or not. Unsupported for yahoo source. [optional]  
businessRelevanceGreaterThan decimal? News stories will have a business relevance score more than this value. Unsupported for yahoo source. [optional]  
businessRelevanceLessThan decimal? News stories will have a business relevance score less than this value. Unsupported for yahoo source. [optional]  
nextPage string Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseCompanyNews

GetCompanyNewsBody

View Intrinio API Documentation

ApiResponseCompanyNewsBody GetCompanyNewsBody (string newsStoryId, DateTime? publicationDate, string specificSource = null, string nextPage = null)

News Article Body

Returns the body of a news article. This endpoint requires additional authorization beyond basic news access. Please see a representative for details.

Example

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 GetCompanyNewsBodyExample
  {
    public static void Main()
    {
      Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
      Configuration.Default.AllowRetries = true;
      
      var companyApi = new CompanyApi();
      
      string newsStoryId = "new_aBcDef";
      DateTime? publicationDate = null;
      string specificSource = null;
      string nextPage = null;
      
      ApiResponseCompanyNewsBody result = companyApi.GetCompanyNewsBody(newsStoryId, publicationDate, specificSource, nextPage);
      Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
    }
  }
}

Parameters

Name Type Description Notes
newsStoryId string The identifier of the news story.  
publicationDate DateTime? The DateTime of the story.  
specificSource string Only news from this source. Defaults to highest available if not present. [optional]  
nextPage string Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseCompanyNewsBody

GetCompanyPublicFloat

View Intrinio API Documentation

ApiResponseCompanyPublicFloatResult GetCompanyPublicFloat (string identifier, DateTime? floatDateGreaterThan = null, DateTime? floatDateLessThan = null, string nextPage = null, string nextPage2 = null)

Get Company's public float

Returns a list of public float data tied to a given company identifier.

Example

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 GetCompanyPublicFloatExample
  {
    public static void Main()
    {
      Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
      Configuration.Default.AllowRetries = true;
      
      var companyApi = new CompanyApi();
      
      string identifier = "AAPL";
      DateTime? floatDateGreaterThan = null;
      DateTime? floatDateLessThan = null;
      string nextPage = null;
      string nextPage2 = "";
      
      ApiResponseCompanyPublicFloatResult result = companyApi.GetCompanyPublicFloat(identifier, floatDateGreaterThan, floatDateLessThan, nextPage, nextPage2);
      Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
    }
  }
}

Parameters

Name Type Description Notes
identifier string A Company identifier (Ticker, CIK, LEI, Intrinio ID)  
floatDateGreaterThan DateTime? The lower-bound date for the data being requested. [optional]  
floatDateLessThan DateTime? The upper-bound date for the data being requested. [optional]  
nextPage string Gets the next page of data from a previous API call [optional]  
nextPage2 string Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseCompanyPublicFloatResult

GetCompanySecurities

View Intrinio API Documentation

ApiResponseCompanySecurities GetCompanySecurities (string identifier, string nextPage = null)

All Securities by Company

Returns a list of underlying securities with associated reference data tied to a given company identifier.

Example

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 GetCompanySecuritiesExample
  {
    public static void Main()
    {
      Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
      Configuration.Default.AllowRetries = true;
      
      var companyApi = new CompanyApi();
      
      string identifier = "AAPL";
      string nextPage = null;
      
      ApiResponseCompanySecurities result = companyApi.GetCompanySecurities(identifier, nextPage);
      Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
    }
  }
}

Parameters

Name Type Description Notes
identifier string A Company identifier (Ticker, CIK, LEI, Intrinio ID)  
nextPage string Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseCompanySecurities

InsiderTransactionFilingsByCompany

View Intrinio API Documentation

ApiResponseInsiderTransactionFilings InsiderTransactionFilingsByCompany (string identifier, DateTime? startDate = null, DateTime? endDate = null, string ownershipType = null, string nextPage = null, int? pageSize = null, string sortBy = null, string nextPage2 = null)

Insider Transaction Filings by Company

Returns a list of all insider transaction filings in a company. Criteria for being an insider include being a director, officer, or 10%+ owner in the company. Transactions are detailed for both non-derivative and derivative transactions by the insider.

Example

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 InsiderTransactionFilingsByCompanyExample
  {
    public static void Main()
    {
      Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
      Configuration.Default.AllowRetries = true;
      
      var companyApi = new CompanyApi();
      
      string identifier = "AAPL";
      DateTime? startDate = DateTime.Parse("2018-01-01");
      DateTime? endDate = DateTime.Parse("2019-01-01");
      string ownershipType = "D";
      string nextPage = null;
      int? pageSize = 100;
      string sortBy = "updated_on";
      string nextPage2 = "";
      
      ApiResponseInsiderTransactionFilings result = companyApi.InsiderTransactionFilingsByCompany(identifier, startDate, endDate, ownershipType, nextPage, pageSize, sortBy, nextPage2);
      Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
    }
  }
}

Parameters

Name Type Description Notes
identifier string A Company identifier (Ticker, CIK, LEI, Intrinio ID)  
startDate DateTime? Return Company's insider transaction filings on or after this date [optional]  
endDate DateTime? Return Company's insider transaction filings on or before this date [optional]  
ownershipType string The type of ownership to return transaction filings for. 'D' is for direct transactions. 'I' is for indirect transactions. Omit for both types. [optional]  
nextPage string Gets the next page of data from a previous API call [optional]  
pageSize int? The number of results to return [optional] [default to 1000]  
sortBy string The field to sort by. Default is 'filing_date'. [optional]  
nextPage2 string Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseInsiderTransactionFilings

LatestInsiderTransactionFilingByCompany

View Intrinio API Documentation

InsiderTransactionFiling LatestInsiderTransactionFilingByCompany (string identifier, string nextPage = null)

Latest Insider Transaction Filing by Company

Returns the latest insider transaction filing for a company.

Example

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 LatestInsiderTransactionFilingByCompanyExample
  {
    public static void Main()
    {
      Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
      Configuration.Default.AllowRetries = true;
      
      var companyApi = new CompanyApi();
      
      string identifier = "AAPL";
      string nextPage = null;
      
      InsiderTransactionFiling result = companyApi.LatestInsiderTransactionFilingByCompany(identifier, nextPage);
      Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
    }
  }
}

Parameters

Name Type Description Notes
identifier string A Company identifier (Ticker, CIK, LEI, Intrinio ID)  
nextPage string Gets the next page of data from a previous API call [optional]  

Return type

InsiderTransactionFiling

LookupCompanyFundamental

View Intrinio API Documentation

Fundamental LookupCompanyFundamental (string identifier, string statementCode, string fiscalPeriod, int? fiscalYear)

Lookup Fundamental by Company

Returns the Fundamental for the Company with the given identifier and with the given parameters

Example

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 LookupCompanyFundamentalExample
  {
    public static void Main()
    {
      Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
      Configuration.Default.AllowRetries = true;
      
      var companyApi = new CompanyApi();
      
      string identifier = "AAPL";
      string statementCode = "income_statement";
      string fiscalPeriod = "FY";
      int? fiscalYear = 2017;
      
      Fundamental result = companyApi.LookupCompanyFundamental(identifier, statementCode, fiscalPeriod, fiscalYear);
      Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
    }
  }
}

Parameters

Name Type Description Notes
identifier string A Company identifier (Ticker, CIK, LEI, Intrinio ID)  
statementCode string The statement code  
fiscalPeriod string The fiscal period  
fiscalYear int? The fiscal year  

Return type

Fundamental

RecognizeCompany

View Intrinio API Documentation

ApiResponseCompanyRecognize RecognizeCompany (string text)

Recognize Company

Returns a list of companies recognized by the Thea API in the given text query string parameter.

Example

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 RecognizeCompanyExample
  {
    public static void Main()
    {
      Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
      Configuration.Default.AllowRetries = true;
      
      var companyApi = new CompanyApi();
      
      string text = "Apple";
      
      ApiResponseCompanyRecognize result = companyApi.RecognizeCompany(text);
      Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
    }
  }
}

Parameters

Name Type Description Notes
text string The text sent to the Thea API to analyze  

Return type

ApiResponseCompanyRecognize

SearchCompanies

View Intrinio API Documentation

ApiResponseCompaniesSearch SearchCompanies (string query, bool? active = null, string mode = null, int? pageSize = null)

Search Companies

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.

Example

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));
    }
  }
}

Parameters

Name Type Description Notes
query string Search parameters  
active bool? 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]  
mode string When set, changes search mode to the specified mode. [optional]  
pageSize int? The number of results to return [optional] [default to 100]  

Return type

ApiResponseCompaniesSearch

SharesOutstandingByCompany

View Intrinio API Documentation

ApiResponseCompanySharesOutstanding SharesOutstandingByCompany (string identifier, DateTime? endDateGreaterThan = null, DateTime? endDateLessThan = null)

Shares Outstanding by Company

Returns the shares outstanding reported on the front cover of the SEC 10-K and 10-Q filings.

Example

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 SharesOutstandingByCompanyExample
  {
    public static void Main()
    {
      Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
      Configuration.Default.AllowRetries = true;
      
      var companyApi = new CompanyApi();
      
      string identifier = "AAPL";
      DateTime? endDateGreaterThan = null;
      DateTime? endDateLessThan = null;
      
      ApiResponseCompanySharesOutstanding result = companyApi.SharesOutstandingByCompany(identifier, endDateGreaterThan, endDateLessThan);
      Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
    }
  }
}

Parameters

Name Type Description Notes
identifier string A Company identifier (Ticker, CIK, LEI, Intrinio ID)  
endDateGreaterThan DateTime? Returns shares outstanding after this date. [optional]  
endDateLessThan DateTime? Returns shares outstanding before this date. [optional]  

Return type

ApiResponseCompanySharesOutstanding