curl --request GET \
--url https://openapi.ainvest.com/open/securities/stock/financials \
--header 'Authorization: Bearer <token>'{
"data": {
"assets_debt_ratio": 123,
"eps_ttm": 123,
"gross_profit_ttm": 123,
"gross_profit_ratio_ttm": 123,
"net_profit": 123,
"net_profit_ttm": 123,
"net_profit_ratio_ttm": 123,
"net_profit_yoy": 123,
"operating_income_total": 123,
"operating_income_total_ttm": 123,
"operating_income_total_yoy": 123,
"parent_holder_net_profit_ttm": 123,
"balanced_net_assets": 123,
"roe_ttm": 123,
"pay_out_ratio": 123,
"dividend_yield_ratio_ttm": 123,
"pb": 123,
"pe_ttm": 123
},
"status_code": 123,
"status_msg": "<string>"
}Get financial metrics of a stock, including earnings per share, net profit, operating income, etc.
curl --request GET \
--url https://openapi.ainvest.com/open/securities/stock/financials \
--header 'Authorization: Bearer <token>'{
"data": {
"assets_debt_ratio": 123,
"eps_ttm": 123,
"gross_profit_ttm": 123,
"gross_profit_ratio_ttm": 123,
"net_profit": 123,
"net_profit_ttm": 123,
"net_profit_ratio_ttm": 123,
"net_profit_yoy": 123,
"operating_income_total": 123,
"operating_income_total_ttm": 123,
"operating_income_total_yoy": 123,
"parent_holder_net_profit_ttm": 123,
"balanced_net_assets": 123,
"roe_ttm": 123,
"pay_out_ratio": 123,
"dividend_yield_ratio_ttm": 123,
"pb": 123,
"pe_ttm": 123
},
"status_code": 123,
"status_msg": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your key. Get the key here
US stock market ticker symbol, e.g. AAPL, TSLA, etc.
Successful response in standard envelope.
Show child attributes
Ratio of total assets to total debt. Indicates the proportion of a company's assets financed by debt.
Earnings per share for trailing twelve months. Calculated by dividing the company's net income over the last year by the number of outstanding shares.
Total gross profit for trailing twelve months. Gross profit is the profit a company makes after deducting the direct costs associated with producing its goods or services. Gross profit does not include indirect or operating expenses like rent, utilities, or marketing costs
Gross profit ratio for trailing twelve months. This indicates the percentage of revenue a company retains after accounting for the direct costs of producing its goods or services.
Net profit for the last reporting period. This is the profit a company makes after deducting all expenses, including cost of goods sold, operating expenses, interest, and taxes.
Total net profit for trailing twelve months
Net profit ratio for trailing twelve months
Year-over-year net profit growth
Total operating income for the last reporting period. Operating income, also known as operating profit, is a company's profit from its core business operations after deducting operating expenses such as the cost of goods sold, selling expenses, and general & administrative expenses. It reflects the profitability of a company's day-to-day activities, excluding non-operating items like interest and taxes.
Total operating income for trailing twelve months
Year-over-year total operating income growth
Net profit attributable to parent company for trailing twelve months
Total net assets per share for the last reporting period.
Return on equity for trailing twelve months. Return on equity (ROE) measures how effectively a company uses shareholder investments to generate profit. It is calculated by dividing net income (profit) by shareholders' equity expressed as a percentage.
Payout ratio, i.e. percentage of earnings paid out as dividends
Dividend yield ratio for trailing twelve months
Price-to-book ratio. It is a financial metric that compares a company's market capitalization to its book value, which is the net asset value of the company based on accounting principles. Essentially, it reflects how much investors are willing to pay for each dollar of a company's net assets.
Price-to-earnings ratio for trailing twelve months. Calculated by dividing a company's market capitalization by its net profit over the past 12 months.
Status code, 0 for success
Status message, success for success