Get Instrument Cash Flow Statements
client.V1.InstrumentData.GetInstrumentCashFlowStatements(ctx, instrumentID, query) (*V1InstrumentDataGetInstrumentCashFlowStatementsResponse, error)
GET/v1/instruments/{instrument_id}/cash-flow-statements
Get cash flow statements for an instrument.
Retrieves historical cash flow statements for the specified instrument. Cash flow statements show cash inflows and outflows from operating, investing, and financing activities.
Pagination metadata does not include total_items or total_pages for this
endpoint. Use next_page_token to detect whether more results exist.
Get Instrument Cash Flow Statements
package main
import (
"context"
"fmt"
"github.com/clear-street/clear-street-go"
"github.com/clear-street/clear-street-go/option"
)
func main() {
client := clearstreet.NewClient(
option.WithAPIKey("My API Key"),
)
response, err := client.V1.InstrumentData.GetInstrumentCashFlowStatements(
context.TODO(),
"x",
clearstreet.V1InstrumentDataGetInstrumentCashFlowStatementsParams{
},
)
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", response)
}
{
"data": [
{
"accepted_date": "2025-05-02T14:30:00Z",
"capital_expenditure": "-2600000000",
"cash_at_beginning_of_period": "33743000000",
"cash_at_end_of_period": "29943000000",
"change_in_working_capital": "-3200000000",
"common_stock_repurchased": "-23000000000",
"depreciation_and_amortization": "2900000000",
"filing_date": "2025-05-01",
"free_cash_flow": "25800000000",
"investments_in_property_plant_and_equipment": "-2600000000",
"net_cash_provided_by_financing_activities": "-28300000000",
"net_cash_provided_by_investing_activities": "-3900000000",
"net_cash_provided_by_operating_activities": "28400000000",
"net_change_in_cash": "-3800000000",
"net_debt_issuance": "-1500000000",
"net_dividends_paid": "-3800000000",
"net_income": "22200000000",
"operating_cash_flow": "28400000000",
"period": "Q1",
"period_type": "QUARTERLY",
"purchases_of_investments": "-9500000000",
"reported_currency": "USD",
"sales_maturities_of_investments": "8200000000",
"stock_based_compensation": "2500000000",
"year": 2025
}
],
"error": null,
"metadata": {
"next_page_token": "AAAAAAAAAGQAAAAAAAAAZQ==",
"page_number": 1,
"request_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}
}{
"error": {
"code": 404,
"message": "Instrument not found: AAPL"
},
"metadata": {
"request_id": "fa8cc9b2-fbf0-4f5b-8ce3-b3205b9f85f2"
}
}Returns Examples
{
"data": [
{
"accepted_date": "2025-05-02T14:30:00Z",
"capital_expenditure": "-2600000000",
"cash_at_beginning_of_period": "33743000000",
"cash_at_end_of_period": "29943000000",
"change_in_working_capital": "-3200000000",
"common_stock_repurchased": "-23000000000",
"depreciation_and_amortization": "2900000000",
"filing_date": "2025-05-01",
"free_cash_flow": "25800000000",
"investments_in_property_plant_and_equipment": "-2600000000",
"net_cash_provided_by_financing_activities": "-28300000000",
"net_cash_provided_by_investing_activities": "-3900000000",
"net_cash_provided_by_operating_activities": "28400000000",
"net_change_in_cash": "-3800000000",
"net_debt_issuance": "-1500000000",
"net_dividends_paid": "-3800000000",
"net_income": "22200000000",
"operating_cash_flow": "28400000000",
"period": "Q1",
"period_type": "QUARTERLY",
"purchases_of_investments": "-9500000000",
"reported_currency": "USD",
"sales_maturities_of_investments": "8200000000",
"stock_based_compensation": "2500000000",
"year": 2025
}
],
"error": null,
"metadata": {
"next_page_token": "AAAAAAAAAGQAAAAAAAAAZQ==",
"page_number": 1,
"request_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}
}{
"error": {
"code": 404,
"message": "Instrument not found: AAPL"
},
"metadata": {
"request_id": "fa8cc9b2-fbf0-4f5b-8ce3-b3205b9f85f2"
}
}