NewConnect Claude, Cursor, ChatGPT, and other AI agents to API Ninjas via our MCP server

Cash Flow API

The Cash Flow API returns cash flow statement data for any public company listed in the United States, including operating cash flow, investing cash flow, financing cash flow, free cash flow, capital expenditures, share repurchases, and dividends paid. All data is sourced from official SEC filings (10-Q, 10-K).

Need the full picture in one call? See the Earnings API. For other statements, see the Income Statement API and Balance Sheet API.

(4.2)

From 5,719 users

3,700+

Applications using this API

API Status

Online - All Systems Operational

API Response Times

Average
P50
P75
P90
P95
320ms330ms409ms717ms1237ms

Didn't find what you were looking for? Suggest an improvement


/v1/cashflow GET

https://api.api-ninjas.com/v1/cashflow

Returns cash flow statement data for a specific company, period, and year. You can identify the company using either a ticker symbol or CIK (Central Index Key).

Q1, Q2, and Q3 figures are sourced from 10-Q filings. Q4 figures are derived from the 10-K filing by subtracting the Q1, Q2, and Q3 cash flow figures from the 10-K full-year totals.

Parameters

If you do not specify a year or period, the API will return the most recent cash flow statement.

  • ticker  optional

    Company ticker symbol (e.g., ADBE). Either ticker or cik must be provided.

  • cik  optional

    Company Central Index Key (e.g., 796343). Either ticker or cik must be provided.

  • period  optional

    Fiscal period. Must be one of: q1, q2, q3, q4, or fy (full year). If set, year must also be set.

  • year  optional

    Fiscal year. E.g. 2025. Must be a valid year after 2000. For historical data before 2025, you must have a premium subscription. If set, period must also be set.

Headers

  • X-Api-Key  required

    API Key associated with your account.

Response

A JSON object with the following fields or an error if the request is unsuccessful.

  • company_info

    Company filing information including ticker, CIK, company name, fiscal year, and fiscal quarter.

  • cash_flow

    Cash flow statement figures: operating_cash_flow, net_cash_investing, net_cash_financing, free_cash_flow, capital_expenditures, share_repurchases, and dividends_paid.

  • filing_info

    SEC filing metadata including filing type, filing date, and period end date.

Sample Request Live Demo!

ticker
year 
period
cik

Try this API endpoint with all available parameters in our API playground

https://api.api-ninjas.com/v1/cashflow?ticker=ADBE&year=2025&period=q2

Headers

X-Api-KeyLog in or sign up to get your API Key

Sample Response

JSON

Code Examples

1 2 curl -X GET "https://api.api-ninjas.com/v1/cashflow?ticker=ADBE&year=2025&period=q2" \ -H "X-Api-Key: YOUR_API_KEY"

If your programming language is not listed in the Code Example above, you can still make API calls by using a HTTP request library written in your programming language and following the above documentation.