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.
From 5,719 users
Applications using this API
API Status
API Response Times
Average | P50 | P75 | P90 | P95 |
|---|---|---|---|---|
| 275ms | 298ms | 327ms | 695ms | 1210ms |
Similar APIs
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.
tickeroptionalCompany ticker symbol (e.g.,
ADBE). Eithertickerorcikmust be provided.cikoptionalCompany Central Index Key (e.g.,
796343). Eithertickerorcikmust be provided.periodoptionalFiscal period. Must be one of:
q1,q2,q3,q4, orfy(full year). If set,yearmust also be set.yearoptionalFiscal year. E.g.
2025. Must be a valid year after 2000. For historical data before 2025, you must have a premium subscription. If set,periodmust also be set.
Headers
X-Api-KeyrequiredAPI Key associated with your account.
Response
A JSON object with the following fields or an error if the request is unsuccessful.
company_infoCompany filing information including ticker, CIK, company name, fiscal year, and fiscal quarter.
cash_flowCash flow statement figures:
operating_cash_flow,net_cash_investing,net_cash_financing,free_cash_flow,capital_expenditures,share_repurchases, anddividends_paid.filing_infoSEC filing metadata including filing type, filing date, and period end date.
Sample Request Live Demo!
Try our APIs in the API playground
Sign up for a free API key to get started — no credit card required.
https://api.api-ninjas.com/v1/cashflow?ticker=ADBE&year=2025&period=q2Headers
X-Api-KeyLog in or sign up to get your API KeySample Response
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.
Frequently Asked Questions
Can I use the Cash Flow API for commercial purposes?
Yes, but you must have a premium subscription. Commercial use of the Cash Flow API is not permitted on the free tier. See our pricing page to choose a plan that fits your needs.How do I get an API key and start using the Cash Flow API?
Sign up for a free account to instantly get your API key, then pass it in theX-Api-Keyheader on every request. The documentation above includes ready-to-run examples in cURL, Python, JavaScript, Node.js, and more.What happens if I exceed my quota for the month?
Your API requests will simply be denied once you hit your monthly quota — you will never be charged more than the plan you signed up for. To increase your quota, you can upgrade your plan any time on our pricing page.What happens if a request to the Cash Flow API fails?
The API responds with a standard HTTP status code and a JSON error message describing the problem. See our error codes reference for the full list of codes and how to resolve each one, or contact support if you need help.How do I get a specific quarter's cash flow versus the full year?
Set theperiodparameter toq1,q2,q3,q4, orfyalong with ayear(both must be set together); Q1-Q3 come directly from 10-Q filings while Q4 is derived from the 10-K by subtracting the first three quarters from full-year totals. If you omit both, the API returns the most recent statement, and historical years require a premium subscription.Can I look up a company by CIK instead of ticker?
Yes. You can identify a company with either thetickerparameter (e.g.ADBE) or thecikparameter (e.g.796343) Central Index Key, but at least one must be provided. For lookups based on official SEC identifiers, the SEC API is also useful.What cash flow metrics are included in the response?
Thecash_flowobject returnsoperating_cash_flow,net_cash_investing,net_cash_financing,free_cash_flow,capital_expenditures,share_repurchases, anddividends_paid, while thefiling_infoobject includes the filing type, filing date, and period end date. To pair these with profitability and balance figures, see the Income Statement API and Balance Sheet API.Where does the cash flow data come from and which companies are covered?
All figures are sourced directly from official SEC filings (10-Q and 10-K) for any public company listed in the United States. For a broader view of a company's reported results, see the Earnings API.