All URIs are relative to https://api-v2.intrinio.com
Method | HTTP request | Description |
---|---|---|
get_all_companies | GET /companies | All Companies |
get_all_companies_daily_metrics | GET /companies/daily_metrics | All Companies daily metrics |
get_all_company_news | GET /companies/news | All News |
get_company | GET /companies/{identifier} | Lookup Company |
get_company_answers | GET /companies/{identifier}/answers | Company Answers |
get_company_daily_metrics | GET /companies/{identifier}/daily_metrics | Company metrics by Company |
get_company_data_point_number | GET /companies/{identifier}/data_point/{tag}/number | Data Point (Number) for Company |
get_company_data_point_text | GET /companies/{identifier}/data_point/{tag}/text | Data Point (Text) for Company |
get_company_filings | GET /companies/{identifier}/filings | All Filings by Company |
get_company_fundamentals | GET /companies/{identifier}/fundamentals | All Fundamentals by Company |
get_company_historical_data | GET /companies/{identifier}/historical_data/{tag} | Historical Data for Company |
get_company_ipos | GET /companies/ipos | IPOs |
get_company_news | GET /companies/{identifier}/news | All News by Company |
get_company_news_body | GET /companies/news/body | News Article Body |
get_company_public_float | GET /companies/{identifier}/public_float | Get Company's public float |
get_company_securities | GET /companies/{identifier}/securities | All Securities by Company |
insider_transaction_filings_by_company | GET /companies/{identifier}/insider_transaction_filings | Insider Transaction Filings by Company |
latest_insider_transaction_filing_by_company | GET /companies/{identifier}/insider_transaction_filings/latest | Latest Insider Transaction Filing by Company |
lookup_company_fundamental | GET /companies/{identifier}/fundamentals/lookup/{statement_code}/{fiscal_year}/{fiscal_period} | Lookup Fundamental by Company |
recognize_company | GET /companies/recognize | Recognize Company |
search_companies | GET /companies/search | Search Companies |
shares_outstanding_by_company | GET /companies/{identifier}/shares_outstanding | Shares Outstanding by Company |
View Intrinio API Documentation
ApiResponseCompanies get_all_companies(latest_filing_date=latest_filing_date, sic=sic, template=template, sector=sector, industry_category=industry_category, industry_group=industry_group, has_fundamentals=has_fundamentals, has_stock_prices=has_stock_prices, thea_enabled=thea_enabled, page_size=page_size, next_page=next_page)
Returns all Companies. When parameters are specified, returns matching companies.
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
latest_filing_date = ''
sic = ''
template = ''
sector = ''
industry_category = ''
industry_group = ''
has_fundamentals = True
has_stock_prices = True
thea_enabled = ''
page_size = 100
next_page = ''
response = intrinio.CompanyApi().get_all_companies(latest_filing_date=latest_filing_date, sic=sic, template=template, sector=sector, industry_category=industry_category, industry_group=industry_group, has_fundamentals=has_fundamentals, has_stock_prices=has_stock_prices, thea_enabled=thea_enabled, page_size=page_size, next_page=next_page)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict)
Name | Type | Description | Notes |
---|---|---|---|
latest_filing_date | date | Return companies whose latest 10-Q or 10-K was filed on or after this date | [optional] |
sic | str | Return companies with the given Standard Industrial Classification code | [optional] |
template | str | Return companies with the given financial statement template | [optional] |
sector | str | Return companies in the given industry sector | [optional] |
industry_category | str | Return companies in the given industry category | [optional] |
industry_group | str | Return companies in the given industry group | [optional] |
has_fundamentals | bool | Return only companies that have fundamentals when True | [optional] |
has_stock_prices | bool | Return only companies that have stock prices when True | [optional] |
thea_enabled | bool | Return companies whose have been read by our Thea NLP and are ready for our company answers endpoint | [optional] |
page_size | int | The number of results to return | [optional] [default to 100] |
next_page | str | Gets the next page of data from a previous API call | [optional] |
View Intrinio API Documentation
ApiResponseCompanyDailyMetrics get_all_companies_daily_metrics(on_date=on_date, page_size=page_size, next_page=next_page, next_page2=next_page2)
Returns the company metrics for a date.
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
on_date = '2013-10-20'
page_size = 100
next_page = ''
next_page2 = ''
response = intrinio.CompanyApi().get_all_companies_daily_metrics(on_date=on_date, page_size=page_size, next_page=next_page, next_page2=next_page2)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict)
Name | Type | Description | Notes |
---|---|---|---|
on_date | date | Date of the metric | [optional] |
page_size | int | The number of results to return | [optional] [default to 100] |
next_page | str | Gets the next page of data from a previous API call | [optional] |
next_page2 | str | Gets the next page of data from a previous API call | [optional] |
ApiResponseCompanyDailyMetrics
View Intrinio API Documentation
ApiResponseNews get_all_company_news(specific_source=specific_source, page_size=page_size, sentiment=sentiment, topic=topic, company=company, security=security, start_date=start_date, end_date=end_date, language=language, word_count_greater_than=word_count_greater_than, word_count_less_than=word_count_less_than, is_spam=is_spam, business_relevance_greater_than=business_relevance_greater_than, business_relevance_less_than=business_relevance_less_than, next_page=next_page)
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.
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
specific_source = ''
page_size = 100
sentiment = ''
topic = ''
company = 'AAPL'
security = 'AAPL'
start_date = ''
end_date = ''
language = ''
word_count_greater_than = ''
word_count_less_than = ''
is_spam = ''
business_relevance_greater_than = ''
business_relevance_less_than = ''
next_page = ''
response = intrinio.CompanyApi().get_all_company_news(specific_source=specific_source, page_size=page_size, sentiment=sentiment, topic=topic, company=company, security=security, start_date=start_date, end_date=end_date, language=language, word_count_greater_than=word_count_greater_than, word_count_less_than=word_count_less_than, is_spam=is_spam, business_relevance_greater_than=business_relevance_greater_than, business_relevance_less_than=business_relevance_less_than, next_page=next_page)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict)
Name | Type | Description | Notes |
---|---|---|---|
specific_source | str | Only news from this source. Defaults to highest available if not present. | [optional] |
page_size | int | The maximum number of results to return. | [optional] [default to 100] |
sentiment | str | Filter by sentiment. Unsupported for yahoo source. | [optional] |
topic | str | Filter by topic. Unsupported for yahoo source. | [optional] |
company | str | Filter by `company` identifier (ticker, CIK, LEI, Intrinio ID) | [optional] |
security | str | Filter by `security` identifier (ticker, figi, isin, cusip, Intrinio ID). Unsupported for yahoo source. | [optional] |
start_date | date | Limit news stories to those on or after this date. Defaults to yesterday if unspecified. | [optional] |
end_date | date | Limit news stories to those on or before this date. | [optional] |
language | str | Filter by language. Unsupported for yahoo source. | [optional] |
word_count_greater_than | int | News stories will have a word count greater than this value. Unsupported for yahoo source. | [optional] |
word_count_less_than | int | News stories will have a word count less than this value. Unsupported for yahoo source. | [optional] |
is_spam | bool | Filter whether it is marked as spam or not. Unsupported for yahoo source. | [optional] |
business_relevance_greater_than | float | News stories will have a business relevance score more than this value. Unsupported for yahoo source. | [optional] |
business_relevance_less_than | float | News stories will have a business relevance score less than this value. Unsupported for yahoo source. | [optional] |
next_page | str | Gets the next page of data from a previous API call | [optional] |
View Intrinio API Documentation
Company get_company(identifier)
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.
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
identifier = 'AAPL'
response = intrinio.CompanyApi().get_company(identifier)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict)
Name | Type | Description | Notes |
---|---|---|---|
identifier | str | A Company identifier (Ticker, CIK, LEI, Intrinio ID) |
View Intrinio API Documentation
ApiResponseCompanyAnswers get_company_answers(identifier, query)
Returns answers for a question about the Company with the given identifier
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
identifier = 'AAPL'
query = 'What do they believe in?'
response = intrinio.CompanyApi().get_company_answers(identifier, query)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict)
Name | Type | Description | Notes |
---|---|---|---|
identifier | str | A Company identifier (Ticker, CIK, LEI, Intrinio ID) | |
query | str | The query to ask the Thea API |
View Intrinio API Documentation
ApiResponseCompanyDailyMetrics get_company_daily_metrics(identifier, on_date=on_date, page_size=page_size, next_page=next_page, next_page2=next_page2)
Returns the latest company metrics.
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
identifier = 'AAPL'
on_date = '2013-10-20'
page_size = 100
next_page = ''
next_page2 = ''
response = intrinio.CompanyApi().get_company_daily_metrics(identifier, on_date=on_date, page_size=page_size, next_page=next_page, next_page2=next_page2)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict)
Name | Type | Description | Notes |
---|---|---|---|
identifier | str | A Company identifier (Ticker, CIK, LEI, Intrinio ID) | |
on_date | date | Date of the metric | [optional] |
page_size | int | The number of results to return | [optional] [default to 100] |
next_page | str | Gets the next page of data from a previous API call | [optional] |
next_page2 | str | Gets the next page of data from a previous API call | [optional] |
ApiResponseCompanyDailyMetrics
View Intrinio API Documentation
float get_company_data_point_number(identifier, tag)
Returns latest value for calculations, metrics, and financial data points for a company.
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
identifier = 'AAPL'
tag = 'marketcap'
response = intrinio.CompanyApi().get_company_data_point_number(identifier, tag)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict)
Name | Type | Description | Notes |
---|---|---|---|
identifier | str | A Company identifier (Ticker, CIK, LEI, Intrinio ID) | |
tag | str | An Intrinio data tag ID or code (<a href='https://data.intrinio.com/data-tags'>reference</a>) |
float
View Intrinio API Documentation
str get_company_data_point_text(identifier, tag)
Returns latest value for metadata items for a company.
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
identifier = 'AAPL'
tag = 'ceo'
response = intrinio.CompanyApi().get_company_data_point_text(identifier, tag)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict)
Name | Type | Description | Notes |
---|---|---|---|
identifier | str | A Company identifier (Ticker, CIK, LEI, Intrinio ID) | |
tag | str | An Intrinio data tag ID or code (<a href='https://data.intrinio.com/data-tags'>reference</a>) |
str
View Intrinio API Documentation
ApiResponseCompanyFilings get_company_filings(identifier, report_type=report_type, start_date=start_date, end_date=end_date, thea_enabled=thea_enabled, page_size=page_size, next_page=next_page)
Returns a complete list of SEC filings for the Company with the given identifier
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
identifier = 'AAPL'
report_type = ''
start_date = '2015-01-01'
end_date = ''
thea_enabled = ''
page_size = 100
next_page = ''
response = intrinio.CompanyApi().get_company_filings(identifier, report_type=report_type, start_date=start_date, end_date=end_date, thea_enabled=thea_enabled, page_size=page_size, next_page=next_page)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict)
Name | Type | Description | Notes |
---|---|---|---|
identifier | str | A Company identifier (Ticker, CIK, LEI, Intrinio ID) | |
report_type | str | Filter by <a href="https://docs.intrinio.com/documentation/sec_filing_report_types\" target="_blank">report type</a>. Separate values with commas to return multiple report types. | [optional] |
start_date | date | Filed on or after the given date | [optional] |
end_date | date | Filed before or after the given date | [optional] |
thea_enabled | bool | Return filings that have been read by our Thea NLP and are ready for our answers endpoint | [optional] |
page_size | int | The number of results to return | [optional] [default to 100] |
next_page | str | Gets the next page of data from a previous API call | [optional] |
View Intrinio API Documentation
ApiResponseCompanyFundamentals get_company_fundamentals(identifier, filed_after=filed_after, filed_before=filed_before, reported_only=reported_only, fiscal_year=fiscal_year, statement_code=statement_code, type=type, start_date=start_date, end_date=end_date, updated_after=updated_after, updated_before=updated_before, page_size=page_size, next_page=next_page)
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.
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
identifier = 'AAPL'
filed_after = ''
filed_before = ''
reported_only = False
fiscal_year = ''
statement_code = ''
type = ''
start_date = ''
end_date = ''
updated_after = '2022-12-01'
updated_before = '2022-12-01'
page_size = 100
next_page = ''
response = intrinio.CompanyApi().get_company_fundamentals(identifier, filed_after=filed_after, filed_before=filed_before, reported_only=reported_only, fiscal_year=fiscal_year, statement_code=statement_code, type=type, start_date=start_date, end_date=end_date, updated_after=updated_after, updated_before=updated_before, page_size=page_size, next_page=next_page)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict)
Name | Type | Description | Notes |
---|---|---|---|
identifier | str | A Company identifier (Ticker, CIK, LEI, Intrinio ID) | |
filed_after | date | Filed on or after this date | [optional] |
filed_before | date | Filed on or before this date | [optional] |
reported_only | bool | Only as-reported fundamentals | [optional] |
fiscal_year | int | Only for the given fiscal year | [optional] |
statement_code | str | Only of the given statement code | [optional] |
type | str | Only of the given type | [optional] |
start_date | date | Only on or after the given date | [optional] |
end_date | date | Only on or before the given date | [optional] |
updated_after | date | Only include fundamentals where it was updated after this date. | [optional] |
updated_before | date | Only include fundamentals where it was updated before this date. | [optional] |
page_size | int | The number of results to return | [optional] [default to 100] |
next_page | str | Gets the next page of data from a previous API call | [optional] |
ApiResponseCompanyFundamentals
View Intrinio API Documentation
ApiResponseCompanyHistoricalData get_company_historical_data(identifier, tag, frequency=frequency, type=type, start_date=start_date, end_date=end_date, sort_order=sort_order, page_size=page_size, next_page=next_page)
Returns historical values for the given tag
and the Company with the given identifier
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
identifier = 'AAPL'
tag = 'marketcap'
frequency = 'daily'
type = ''
start_date = '2018-01-01'
end_date = ''
sort_order = 'desc'
page_size = 100
next_page = ''
response = intrinio.CompanyApi().get_company_historical_data(identifier, tag, frequency=frequency, type=type, start_date=start_date, end_date=end_date, sort_order=sort_order, page_size=page_size, next_page=next_page)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict)
Name | Type | Description | Notes |
---|---|---|---|
identifier | str | A Company identifier (Ticker, CIK, LEI, Intrinio ID) | |
tag | str | An Intrinio data tag ID or code (<a href='https://data.intrinio.com/data-tags'>reference</a>) | |
frequency | str | Return historical data in the given frequency | [optional] [default to daily] |
type | str | Return historical data for given fiscal period type | [optional] |
start_date | date | Return historical data on or after this date | [optional] |
end_date | date | Return historical data on or before this date | [optional] |
sort_order | str | Sort by date `asc` or `desc` | [optional] [default to desc] |
page_size | int | The number of results to return | [optional] [default to 100] |
next_page | str | Gets the next page of data from a previous API call | [optional] |
ApiResponseCompanyHistoricalData
View Intrinio API Documentation
ApiResponseInitialPublicOfferings get_company_ipos(ticker=ticker, status=status, start_date=start_date, end_date=end_date, offer_amount_greater_than=offer_amount_greater_than, offer_amount_less_than=offer_amount_less_than, page_size=page_size, next_page=next_page)
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.
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
ticker = 'UBER'
status = ''
start_date = ''
end_date = ''
offer_amount_greater_than = ''
offer_amount_less_than = ''
page_size = 100
next_page = ''
response = intrinio.CompanyApi().get_company_ipos(ticker=ticker, status=status, start_date=start_date, end_date=end_date, offer_amount_greater_than=offer_amount_greater_than, offer_amount_less_than=offer_amount_less_than, page_size=page_size, next_page=next_page)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict)
Name | Type | Description | Notes |
---|---|---|---|
ticker | str | Return IPOs with the given ticker (typically the IPO for the company) | [optional] |
status | str | 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] |
start_date | date | Return IPOs on or after the given date | [optional] |
end_date | date | Return IPOs on or before the given date | [optional] |
offer_amount_greater_than | int | Return IPOs with an offer dollar amount greater than the given amount | [optional] |
offer_amount_less_than | int | Return IPOs with an offer dollar amount less than the given amount | [optional] |
page_size | int | The number of results to return | [optional] [default to 100] |
next_page | str | Gets the next page of data from a previous API call | [optional] |
ApiResponseInitialPublicOfferings
View Intrinio API Documentation
ApiResponseCompanyNews get_company_news(identifier, specific_source=specific_source, page_size=page_size, sentiment=sentiment, topic=topic, security=security, start_date=start_date, end_date=end_date, language=language, word_count_greater_than=word_count_greater_than, word_count_less_than=word_count_less_than, is_spam=is_spam, business_relevance_greater_than=business_relevance_greater_than, business_relevance_less_than=business_relevance_less_than, next_page=next_page)
Returns the latest and historical news article links, headlines and summaries for a specified US traded company.
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
identifier = 'AAPL'
specific_source = ''
page_size = 100
sentiment = ''
topic = ''
security = 'AAPL'
start_date = ''
end_date = ''
language = ''
word_count_greater_than = ''
word_count_less_than = ''
is_spam = ''
business_relevance_greater_than = ''
business_relevance_less_than = ''
next_page = ''
response = intrinio.CompanyApi().get_company_news(identifier, specific_source=specific_source, page_size=page_size, sentiment=sentiment, topic=topic, security=security, start_date=start_date, end_date=end_date, language=language, word_count_greater_than=word_count_greater_than, word_count_less_than=word_count_less_than, is_spam=is_spam, business_relevance_greater_than=business_relevance_greater_than, business_relevance_less_than=business_relevance_less_than, next_page=next_page)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict)
Name | Type | Description | Notes |
---|---|---|---|
identifier | str | A Company identifier (Ticker, CIK, LEI, Intrinio ID) | |
specific_source | str | Only news from this source. Defaults to highest available if not present. | [optional] |
page_size | int | The maximum number of results to return | [optional] [default to 100] |
sentiment | str | Filter by sentiment. Unsupported for yahoo source. | [optional] |
topic | str | Filter by topic. Unsupported for yahoo source. | [optional] |
security | str | Filter by `security` identifier (ticker, figi, isin, cusip, Intrinio ID). Unsupported for yahoo source. | [optional] |
start_date | date | Limit news stories to those on or after this date. Defaults to yesterday if unspecified. | [optional] |
end_date | date | Limit news stories to those on or before this date | [optional] |
language | str | Filter by language. Unsupported for yahoo source. | [optional] |
word_count_greater_than | int | News stories will have a word count greater than this value. Unsupported for yahoo source. | [optional] |
word_count_less_than | int | News stories will have a word count less than this value. Unsupported for yahoo source. | [optional] |
is_spam | bool | Filter whether it is marked as spam or not. Unsupported for yahoo source. | [optional] |
business_relevance_greater_than | float | News stories will have a business relevance score more than this value. Unsupported for yahoo source. | [optional] |
business_relevance_less_than | float | News stories will have a business relevance score less than this value. Unsupported for yahoo source. | [optional] |
next_page | str | Gets the next page of data from a previous API call | [optional] |
View Intrinio API Documentation
ApiResponseCompanyNewsBody get_company_news_body(news_story_id, publication_date, specific_source=specific_source, next_page=next_page)
Returns the body of a news article. This endpoint requires additional authorization beyond basic news access. Please see a representative for details.
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
news_story_id = 'new_aBcDef'
publication_date = ''
specific_source = ''
next_page = ''
response = intrinio.CompanyApi().get_company_news_body(news_story_id, publication_date, specific_source=specific_source, next_page=next_page)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict)
Name | Type | Description | Notes |
---|---|---|---|
news_story_id | str | The identifier of the news story. | |
publication_date | datetime | The DateTime of the story. | |
specific_source | str | Only news from this source. Defaults to highest available if not present. | [optional] |
next_page | str | Gets the next page of data from a previous API call | [optional] |
View Intrinio API Documentation
ApiResponseCompanyPublicFloatResult get_company_public_float(identifier, float_date_greater_than=float_date_greater_than, float_date_less_than=float_date_less_than, next_page=next_page, next_page2=next_page2)
Returns a list of public float data tied to a given company identifier.
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
identifier = 'AAPL'
float_date_greater_than = ''
float_date_less_than = ''
next_page = ''
next_page2 = ''
response = intrinio.CompanyApi().get_company_public_float(identifier, float_date_greater_than=float_date_greater_than, float_date_less_than=float_date_less_than, next_page=next_page, next_page2=next_page2)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict)
Name | Type | Description | Notes |
---|---|---|---|
identifier | str | A Company identifier (Ticker, CIK, LEI, Intrinio ID) | |
float_date_greater_than | date | The lower-bound date for the data being requested. | [optional] |
float_date_less_than | date | The upper-bound date for the data being requested. | [optional] |
next_page | str | Gets the next page of data from a previous API call | [optional] |
next_page2 | str | Gets the next page of data from a previous API call | [optional] |
ApiResponseCompanyPublicFloatResult
View Intrinio API Documentation
ApiResponseCompanySecurities get_company_securities(identifier, next_page=next_page)
Returns a list of underlying securities with associated reference data tied to a given company identifier.
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
identifier = 'AAPL'
next_page = ''
response = intrinio.CompanyApi().get_company_securities(identifier, next_page=next_page)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict)
Name | Type | Description | Notes |
---|---|---|---|
identifier | str | A Company identifier (Ticker, CIK, LEI, Intrinio ID) | |
next_page | str | Gets the next page of data from a previous API call | [optional] |
View Intrinio API Documentation
ApiResponseInsiderTransactionFilings insider_transaction_filings_by_company(identifier, start_date=start_date, end_date=end_date, ownership_type=ownership_type, next_page=next_page, page_size=page_size, sort_by=sort_by, next_page2=next_page2)
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.
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
identifier = 'AAPL'
start_date = '2018-01-01'
end_date = '2019-01-01'
ownership_type = 'D'
next_page = ''
page_size = 1000
sort_by = 'updated_on'
next_page2 = ''
response = intrinio.CompanyApi().insider_transaction_filings_by_company(identifier, start_date=start_date, end_date=end_date, ownership_type=ownership_type, next_page=next_page, page_size=page_size, sort_by=sort_by, next_page2=next_page2)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict)
Name | Type | Description | Notes |
---|---|---|---|
identifier | str | A Company identifier (Ticker, CIK, LEI, Intrinio ID) | |
start_date | date | Return Company's insider transaction filings on or after this date | [optional] |
end_date | date | Return Company's insider transaction filings on or before this date | [optional] |
ownership_type | str | The type of ownership to return transaction filings for. 'D' is for direct transactions. 'I' is for indirect transactions. Omit for both types. | [optional] |
next_page | str | Gets the next page of data from a previous API call | [optional] |
page_size | int | The number of results to return | [optional] [default to 1000] |
sort_by | str | The field to sort by. Default is 'filing_date'. | [optional] |
next_page2 | str | Gets the next page of data from a previous API call | [optional] |
ApiResponseInsiderTransactionFilings
View Intrinio API Documentation
InsiderTransactionFiling latest_insider_transaction_filing_by_company(identifier, next_page=next_page)
Returns the latest insider transaction filing for a company.
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
identifier = 'AAPL'
next_page = ''
response = intrinio.CompanyApi().latest_insider_transaction_filing_by_company(identifier, next_page=next_page)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict)
Name | Type | Description | Notes |
---|---|---|---|
identifier | str | A Company identifier (Ticker, CIK, LEI, Intrinio ID) | |
next_page | str | Gets the next page of data from a previous API call | [optional] |
View Intrinio API Documentation
Fundamental lookup_company_fundamental(identifier, statement_code, fiscal_period, fiscal_year)
Returns the Fundamental for the Company with the given identifier
and with the given parameters
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
identifier = 'AAPL'
statement_code = 'income_statement'
fiscal_period = 'FY'
fiscal_year = 2017
response = intrinio.CompanyApi().lookup_company_fundamental(identifier, statement_code, fiscal_period, fiscal_year)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict)
Name | Type | Description | Notes |
---|---|---|---|
identifier | str | A Company identifier (Ticker, CIK, LEI, Intrinio ID) | |
statement_code | str | The statement code | |
fiscal_period | str | The fiscal period | |
fiscal_year | int | The fiscal year |
View Intrinio API Documentation
ApiResponseCompanyRecognize recognize_company(text)
Returns a list of companies recognized by the Thea API in the given text
query string parameter.
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
text = 'Apple'
response = intrinio.CompanyApi().recognize_company(text)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict)
Name | Type | Description | Notes |
---|---|---|---|
text | str | The text sent to the Thea API to analyze |
View Intrinio API Documentation
ApiResponseCompaniesSearch search_companies(query, active=active, mode=mode, page_size=page_size)
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.
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
query = 'Apple'
active = True
mode = ''
page_size = 100
response = intrinio.CompanyApi().search_companies(query, active=active, mode=mode, page_size=page_size)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict)
Name | Type | Description | Notes |
---|---|---|---|
query | str | 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 | str | When set, changes search mode to the specified mode. | [optional] |
page_size | int | The number of results to return | [optional] [default to 100] |
View Intrinio API Documentation
ApiResponseCompanySharesOutstanding shares_outstanding_by_company(identifier, end_date_greater_than=end_date_greater_than, end_date_less_than=end_date_less_than)
Returns the shares outstanding reported on the front cover of the SEC 10-K and 10-Q filings.
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
identifier = 'AAPL'
end_date_greater_than = ''
end_date_less_than = ''
response = intrinio.CompanyApi().shares_outstanding_by_company(identifier, end_date_greater_than=end_date_greater_than, end_date_less_than=end_date_less_than)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict)
Name | Type | Description | Notes |
---|---|---|---|
identifier | str | A Company identifier (Ticker, CIK, LEI, Intrinio ID) | |
end_date_greater_than | date | Returns shares outstanding after this date. | [optional] |
end_date_less_than | date | Returns shares outstanding before this date. | [optional] |