post https://api.bavest.co/v0/stock/financials
Returns a company's financial data such as the balance sheet, income statement, or cash flow statement.
Parameters
Name | Type | Description |
---|---|---|
symbol | string | The ticker symbol of the company (e.g. AAPL , MSFT ). |
isin | string | The ISIN of the company (e.g. US0378331005 ). |
statement | string | Type of financial statement. Accepted values: - bs (Balance Sheet)- ic (Income Statement)- cf (Cash Flow) |
frequency | string | Reporting frequency. Accepted values: - annual - quarterly |
limit | integer | Number of periods to return (e.g. 4 for last 4 quarters). Optional. |
currency | string | Desired currency for the values (e.g. USD , EUR ). Optional. |
API Status Codes
Here are the common HTTP status codes you may encounter when using our API:
Status Code | Meaning | Description |
---|---|---|
200 | OK | The request was successful, and the expected data was returned. |
401 | Unauthorised | Your API key is missing or invalid. Please authenticate properly. |
403 | Forbidden | You are authenticated but do not have access to this resource. |
404 | Not Found | The requested endpoint or resource could not be found. |
500 | Server Error | An unexpected error occurred on our servers. Please try again later. |