Skip to main content

Financial statements API

Retrieve structured financial statement data for companies, including income statements, balance sheets, and cash flow statements.
Requires authentication. Financial data is sourced from the financial_data schema in PostgreSQL.

Get income statement

Retrieve income statement data for multiple years. Endpoint: GET /companies/{symbol}/income-statement

Path parameters

symbol
string
required
Company ticker symbol (e.g., “AAPL”, “MSFT”)

Query parameters

years
integer
default:5
Number of years of data to retrieve (1-10)

Response

symbol
string
Company ticker
data
array
Array of annual income statement records

Example

curl https://api.financeagent.com/companies/AAPL/income-statement?years=5 \
  -H "Authorization: Bearer YOUR_TOKEN"

Get balance sheet

Retrieve balance sheet data for multiple years. Endpoint: GET /companies/{symbol}/balance-sheet

Path parameters

symbol
string
required
Company ticker symbol

Query parameters

years
integer
default:5
Number of years of data (1-10)

Response

symbol
string
Company ticker
data
array
Array of annual balance sheet records

Example

curl https://api.financeagent.com/companies/MSFT/balance-sheet?years=3 \
  -H "Authorization: Bearer YOUR_TOKEN"

Get cash flow statement

Retrieve cash flow statement data for multiple years. Endpoint: GET /companies/{symbol}/cash-flow

Path parameters

symbol
string
required
Company ticker symbol

Query parameters

years
integer
default:5
Number of years of data (1-10)

Response

symbol
string
Company ticker
data
array
Array of annual cash flow records

Example

curl https://api.financeagent.com/companies/GOOGL/cash-flow?years=5 \
  -H "Authorization: Bearer YOUR_TOKEN"

Data source

Financial statement data is stored in PostgreSQL under the financial_data schema:
  • financial_data.income_statements - Income statement records
  • financial_data.balance_sheets - Balance sheet records
  • financial_data.cash_flow_statements - Cash flow records
Data is filtered to show only annual (FY) periods by default, with the most recent statement per calendar year.

Use cases

Track revenue growth, profit margins, and operating efficiency over time
Analyze assets, liabilities, debt levels, and equity structure
Evaluate operating cash flow, free cash flow, and capital allocation

Company info

Get company details and TTM metrics

SEC filings

Access complete 10-K and 10-Q filing documents

Build docs developers (and LLMs) love