#
# # # # #

Listed Company Financials, News & TTM Checker API

API:Financials

US$9US$18

  • Listed company financials, news and TTM generator provides the company income, cashflow and balance sheet statement over the past 4 years. Moreover, it offers the TTM financials and also the trending news related to this listed company or stock ticker. The statement includes a wide range of parameters and metrics, which include revenue, COGS, EBITDA, net profit, free cashflow, etc. Users can generate the data using a company symbol.

  • For more details regarding API usage obligation & liability, please read Legal Terms of Service & Condition

API Practical Application Showcase 1


Listed Company Financials, News & TTM Checker API

API Practical Application Showcase Case 2


Listed Company Financials, News & TTM Checker API

Features

  • Listed company financials, news and TTM generator provides the company income, cashflow and balance sheet statement over the past 4 years.
  • It offers the TTM financials and also the trending news related to this listed company or stock ticker
  • The statement includes a wide range of parameters and metrics, which include revenue, COGS, EBITDA, net profit, free cashflow, etc.
  • Users can generate the data just using a company symbol or ticker

API Endpoint Specifications

  • Endpoint Path: /api/1/companyfinancials
  • Type of Data: JSON & 20/minute
  • Data Source: USA SEC Filing
  • Request Limit: 5,000 request/month
  • Script & Integration: Code to integrate with cURL, JS, Python, Ruby, Php, Node.js, Java, .NET, Rust, Go, Typescript
Listed Company Financials, News & TTM Checker API Endpoint Basic Info

API Endpoint Path

required

Listed Company Financials News & TTM Checker API

api/1/companyfinancials


Call Method

Required

GET & POST

Type of Data Return

JSON

Output structured JSON data on list company financials & news


Available API Arguments & Parameters

token

required

BUYFROMLO API token. Paid subscription API is available: /api/1/companyfinancials, and accessible to on-site APP on /app/1/companyfinancials as well

ticker

required

Input a stock ticker

type

required

Select the type of data return. The default value is stockpricing. Current available options: AI stock analyzer, news, incomestatement, balancesheet, cashflow, historicalfinancialratio, financialratioTTM, stockpricing, pricingpredictionAPI, cagr

interval

required

Submit an interval. Default is by month. Options are daily, month, week, quarter, year


period

Optional

Length of time duration. Default value is max. Current available options: 1month, 3month, 6month, 1year, 5year, 10year

startTime

Optional

Input a specific start date. Date format is Y-M-D, such as 2000-01-01

endTime

Optional

Input a specific end date. Date format is Y-M-D, such as 2000-01-01. Note: end date value must be equal or less than start date value

datalist

Optional

For AI analyzer only, submit relevant stock data for analysis


Listed Company Financials News & TTM Checker API

api/1/companyfinancials


Code Integration and Response

Python Code Sample


import requests

apiendpoint = "https://api.buyfromlo.com/api/1/companyfinancials?"

## Required Arguments & Parameters ##

token = ""your buyfromlo token""
ticker = ""Input a query""

## Optional Argument ##
type="page number. The default number is 1"
period=""
interval=""

data="ticker=" + ticker + "&type=" + type + "&period=" + period + "&interval=" + interval
headers={"Authorization": "Bearer " + token}  

## Get: Call the api ##
response = requests.get(apiendpoint + data, headers=headers)
print(response.status_code)
print(response.json())

## POST: AI Analyzer - Call the api ##

data = {"type": type, "ticker": ticker, "period": period}  
response = requests.post(apiendpoint, json=data, headers=headers)
print(response.status_code)
print(response.json())




                        

JSON Response Sample


## Income Statement Data API Response ##
{
"Fiscal Year": " " (string),
"Revenue Yearly": " " (integer),
"Cost of Good Sales": " " (integer),
"Gross Profit": " " (integer),
"Gross Profit Margin": " " (float),
"Research and Development Cost": " " (integer),
"Marketing Cost": " " (integer),
"General, Admin and Expenses": " " (integer),
"Selling, General and Expenses": " " (integer),
"Other Expenses": " " (integer),
"Cost and Expenses": " " (integer),
"Operation Expenses": " " (integer),
"Interest Income": " " (integer),
"Interest Expenses": " " (integer),
"Depreciation and Amortization": " " (integer),
"EBITDA": " " (integer),
"EBITDA Margin": " " (float),
"Operating Income": " " (integer),
"Opearting Income Margin": " " (float),
"Total Other Expenses Net": " " (integer),
"Income Before Tax": " " (integer),
"Income Before Tax Margin": " " (float),
"Income Tax Expenses": " " (integer),
"Net Income": " " (integer),
"Net Income Margin": " " (float),
"Earning per Share": " " (integer),
"Earning per Share Diluted": " " (integer),
"Weighted Average Shares Out": " " (integer),
"Weighted Average Shares Out Ratio": " " (float),
"Security Exchange Name": " " (string),
"Sector": " " (string),
"Industry": " " (string)
}

## Cashflow Statement Data API Response ##
{
"Year\\/CashFlow Statement": " " (string),
"Net Income": " " (integer),
"Deferred Tax Income": " " (integer),
"Stock Based Compensation": " " (integer),
"Change in Working Capital": " " (integer),
"Inventory": " " (integer),
"Account Payables": " " (integer),
"Other Working Capital": " " (integer),
"Other Non Cash Items": " " (integer),
"Net Cash Provided by Operating": " " (integer),
"Investment in PPE": " " (integer),
"Acquisition Net": " " (integer),
"Purchase Of Investment": " " (integer),
"Maturity of Investment": " " (integer),
"Other Investing Activities": " " (integer),
"Net Cash Used for Investing": " " (integer),
"Debt Repayment": " " (integer),
"Common Stock Issued": " " (integer),
"Common Stock Repurchased": " " (integer),
"Dividend Paid": " " (integer),
"Other Financing": " " (integer),
"Net Cash Used For Financing": " " (integer),
"Effect of Exchange on Cash": " " (integer),
"Net Change in Cash": " " (integer),
"Cash at the End of Period": " " (integer),
"Cash at the Begining of Period": " " (integer),
"Operating Cashflow":" " (integer),
"Account Receivables": " " (integer),
"Capital Expenditure": " " (integer),
"Free Cash Flow": " " (integer),
"Security Exchange Name": " " (string),
"Sector": " " (string),
"Industry": " " (string)
}

## Balancesheet Statement Data API Response ##
{
"Year\\/BalanceSheet Statement": " " (string),
"Cash and Cash Equivalent": " " (integer),
"Short Term Investments": " " (integer),
"Cash and Short Term Investment": " " (integer),
"Net Receivables": " " (integer),
"Inventory": " " (integer),
"Other Current Asset": " " (integer),
"Total Current Asset": " " (integer),
"PPE Asset": " " (integer),
"Good Will": " " (integer),
"Intangible Asset": " " (integer),
"Good Will and Intangible Asset": " " (integer),
"Long term Investment": " " (integer),
"Tax Assets": " " (integer),
"Other Non Current Assets": " " (integer),
"Total Non Current Asset": " " (integer),
"Other Assets": " " (integer),
"Total Asset": " " (integer),
"Account Payables": " " (integer),
"Short Term Debt": " " (integer),
"Tax Payables": " " (integer),
"Deferred Revenue": " " (integer),
"Other Current Liabilities": " " (integer),
"Total Current Liabilities": " " (integer),
"Long Term Debt": " " (integer),
"Deferred Revenue Non Current": " " (integer),
"Deferred Tax Liabilities Non Current": " " (integer),
"Total Non Current Liabilities": " " (integer),
"Other Liabilities": " " (integer),
"Capital Lease Obligation": " " (integer),
"Total Liability": " " (integer),
"Preferred Stock": " " (integer),
"Common Stock": " " (integer),
"Retained Earnings": " " (integer),
"Accumulated Other Income Loss": " " (integer),
"Other Total Stock Holder Equity": " " (integer),
"Total Stock Holder Equity": " " (integer),
"Total Equity": " " (integer),
"Total Liabilities and Stock Holder Equity": " " (integer),
"Minority Interest": " " (integer),
"Total Liabilities and Total Equity": " " (integer),
"Total Investment": " " (integer),
"Total Debt": " " (integer),
"Book Value": " " (integer),
"Net Debt": " " (integer),
"SEC Filing": " " (string),
"SEC Final Link": " " (string),
"Latest Update": " " (string),
"Security Exchange Name": " " (string),
"Sector": " " (string),
"Industry": " " (string)
}

## Historical Financial TTM Data API Response ##
{
"Fiscal Year": " " (string),
"Ticker":" " (string),
"Company Name": " " (string),
"Sector": " " (string),
"Industry":"",
"Exchange":"",
"Dividend Yield": "",
"PE": "",
"Payout Ratio": "",
"Current Ratio": "",
"Quick Ratio": "",
"Cash Ratio": "",
"Days of Sales Outstanding": "",
"Days of Inventory Outstanding": "",
"Operating Cycle": "",
"Days of Payable Outstanding": "",
"Cash Conversion Cycle": "",
"GPM": "",
"EBITDA Margin": "",
"Pretax Profit Margin": "",
"Net Margin": "",
"Effective Tax Rate": "",
"ROA": "",
"ROE": "",
"ROC": "",
"Net Income per EBT": "",
"EBT per EBIT": "",
"EBIT per Revenue": "",
"Debt Ratio": "",
"Debt2Equity": "",
"Long Term Debt to Capitalization": "",
"Total Debt to Capitalization": "",
"Interest Coverage": "",
"Cash Flow Debt Ratio": "",
"Company Equity Multiplier": "",
"Receivables Turnover": "",
"Payables Turnover": "",
"Inventory Turnover": "",
"Fixed Asset Turnover": "",
"Asset Turnover": "",
"Operating Cashflow per Share": "",
"Free Cashflow per Share": "",
"Cash per Share": "",
"Operating Cashflow Sales RatiO": "",
"Free Cashflow and Operating Cashflow Ratio": "",
"Cashflow Coverage Ratio":"",
"Short Term Coverage Ratios":"",
"Capital Expenditure Coverage Ratio": "",
"Divident Paid and Capex Coverage Ratio":"",
"Price Bookvalue Ratio": "",
"PB": "",
"Price to Sales Ratio": "",
"Price Earnings Ratio": "",
"Price to Free Cashflow Ratio": "",
"Price to Operating Cashflow Ratio": "",
"Price Cashflow Ratio": "",
"Price Earnings to Growth Ratio": "",
"Price Sales Ratio": "",
"Dividend Yield": "",
"Enterprise Value multiple": "",
"Price Fair Value": "",
"Dividend per Share": "",
"Moduel":""
}

## Real-time Financial TTM Data API Response ##
{
"Ticker":"",
"Company Name": "",
"Sector": "",
"Industry": "",
"Security Exchange Name": "",
"Payout Ratio TTM":"",
"PE & Earning Growth Ratio TTM": "",
"Quick Ratio TTM": "",
"Current Ratio TTM": "",
"Debt2Equity TTM":"",
"ROA TTM": "",
"ROE TTM": "",
"Price to Sales Ratio TTM":"",
"GPM TTM": "",
"EBITDA Margin TTM": "",
"Net Margin TTM": "",
"PB TTM": "",
"PE TTM": "",
"Dividend Yield TTM": "",
"Module":""
}
                        

4.5 (Overall)

  • 5 stars - 38
  • 4 stars - 10
  • 3 stars - 3
  • 2 stars - 1
  • 1 star - 0

Latest Reviews

FAQ

It is an API that provides listed company financials, news and TTM generator. It offers the company income, cashflow and balance sheet statement over the past 4 years, TTM financials and trending news related to a listed company or stock ticker.

The API provides a wide range of parameters and metrics, which include revenue, COGS, EBITDA, net profit, free cashflow, etc.

You can use the API by sending a request to the API endpoint using a company symbol.

The endpoint path of the API is \/api\/1\/companyfinancials.

The API returns data in JSON format.

The data is updated every 20 minutes.

The data source of the API is the USA SEC Filing.

The request limit of the API is 5,000 requests per month token\/month.

Yes, you can integrate the API with your script or software using cURL, JS, Python, Ruby, Php, Node.js, Java, .NET, Rust, Go, or Typescript.

Yes, there is a paid subscription API available. You can access the paid subscription API at \/api\/1\/companyfinancials and the on-site APP at \/app\/1\/companyfinancials.