Free cash flow screens from XBRL financials
Uses Financial statements
Run this guide in ColabNotebook on GitHub
The financials endpoint has cashFlow.freeCashFlow and incomeStatement.revenue on every period with the same names for every company, so a screen is a range query plus a sort.
Large companies with negative free cash flow
Which non-financial companies with over $10 billion in revenue had negative free cash flow last fiscal year?
A screen across every filer in one call, which needs the same field names for every company to work.
curl -X POST https://www.quantisnow.com/api/v1/financials \
-H "Authorization: Bearer $QUANTISNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "fiscalPeriod:FY AND fiscalYear:2025 AND incomeStatement.revenue:>10000000000 AND cashFlow.freeCashFlow:<0 AND currency:USD AND NOT sector:Finance",
"from": 0,
"size": 5,
"sort": [{"incomeStatement.revenue": {"order": "desc"}}]
}'40 matches, first 5
- BABoeing Company FY 2025Revenue $89.5B · net income $2.23B · free cash flow -$1.88B$89.5B
- BNBrookfield Corporation FY 2025Revenue $75.1B · net income $1.31B · free cash flow -$3.79B$75.1B
- BGBunge Limited FY 2025Revenue $70.3B · net income $816.0M · free cash flow -$879.0M$70.3B
- ORCLOracle Corporation FY 2025Revenue $57.4B · net income $12.4B · free cash flow -$394.0M$57.4B
- AALAmerican Airlines Group Inc. FY 2025Revenue $54.6B · net income $111.0M · free cash flow -$680.0M$54.6B
The JSON it returned
{
"total": {
"value": 40,
"relation": "eq"
},
"data": [
{
"id": "0000012927:2025:FY",
"cik": "0000012927",
"ticker": "BA",
"companyName": "Boeing Company",
"fiscalYear": 2025,
"fiscalPeriod": "FY",
"periodStart": "2025-01-01",
"periodEnd": "2025-12-31",
"filedOn": "2026-01-30",
"form": "10-K",
"accessionNo": "0001628280-26-004357",
"sector": "Industrials",
"currency": "USD",
"derived": false,
"incomeStatement": {
"revenue": 89463000000,
"costOfRevenue": 85174000000,
"grossProfit": 4289000000,
"researchDevelopment": 3615000000,
"sellingGeneralAdmin": 6090000000,
"operatingIncome": 4281000000,
"interestExpense": null,
"pretaxIncome": 2635000000,
"incomeTax": 397000000,
"netIncome": 2235000000,
"epsBasic": 2.49,
"epsDiluted": 2.48,
"sharesDiluted": 762300000
},
"balanceSheet": {
"cash": 10921000000,
"shortTermInvestments": 18479000000,
"receivables": 2921000000,
"inventory": null,
"currentAssets": 128459000000,
"goodwill": 17275000000,
"totalAssets": 168235000000,
"currentLiabilities": 108115000000,
"shortTermDebt": 8461000000,
"longTermDebt": 45637000000,
"totalDebt": 54098000000,
"totalLiabilities": 162778000000,
"equity": 5454000000
},
"cashFlow": {
"operatingCashFlow": 1065000000,
"investingCashFlow": 499000000,
"financingCashFlow": -3763000000,
"capex": 2942000000,
"freeCashFlow": -1877000000,
"dividendsPaid": 331000000,
"shareRepurchases": null,
"stockCompensation": 426000000,
"depreciation": 1953000000
}
},
{
"id": "0001001085:2025:FY",
"cik": "0001001085",
"ticker": "BN",
"companyName": "Brookfield Corporation",
"fiscalYear": 2025,
"fiscalPeriod": "FY",
"periodStart": "2025-01-01",
"periodEnd": "2025-12-31",
"filedOn": "2026-03-18",
"form": "40-F",
"accessionNo": "0001001085-26-000006",
"sector": "Real Estate",
"currency": "USD",
"derived": false,
"incomeStatement": {
"revenue": 75100000000,
"costOfRevenue": 28351000000,
"grossProfit": 46749000000,
"researchDevelopment": null,
"sellingGeneralAdmin": 5131000000,
"operatingIncome": null,
"interestExpense": null,
"pretaxIncome": null,
"incomeTax": 1135000000,
"netIncome": 1307000000,
"epsBasic": 0.51,
"epsDiluted": 0.49,
"sharesDiluted": 2367800000
},
"balanceSheet": {
"cash": 16242000000,
"shortTermInvestments": null,
"receivables": 22772000000,
"inventory": 5923000000,
"currentAssets": null,
"goodwill": 43355000000,
"totalAssets": 518971000000,
"currentLiabilities": null,
"shortTermDebt": null,
"longTermDebt": 13800000000,
"totalDebt": 13800000000,
"totalLiabilities": 352777000000,
"equity": 166194000000
},
"cashFlow": {
"operatingCashFlow": 10958000000,
"investingCashFlow": -31777000000,
"financingCashFlow": 21687000000,
"capex": 14752000000,
"freeCashFlow": -3794000000,
"dividendsPaid": null,
"shareRepurchases": null,
"stockCompensation": null,
"depreciation": 10379000000
}
},
{
"id": "0001996862:2025:FY",
"cik": "0001996862",
"ticker": "BG",
"companyName": "Bunge Limited",
"fiscalYear": 2025,
"fiscalPeriod": "FY",
"periodStart": "2025-01-01",
"periodEnd": "2025-12-31",
"filedOn": "2026-02-19",
"form": "10-K",
"accessionNo": "0001628280-26-009842",
"sector": "Consumer Staples",
"currency": "USD",
"derived": false,
"incomeStatement": {
"revenue": 70329000000,
"costOfRevenue": 66920000000,
"grossProfit": 3409000000,
"researchDevelopment": 28000000,
"sellingGeneralAdmin": 2113000000,
"operatingIncome": null,
"interestExpense": 628000000,
"pretaxIncome": 1134000000,
"incomeTax": 288000000,
"netIncome": 816000000,
"epsBasic": 4.95,
"epsDiluted": 4.91,
"sharesDiluted": 166466940
},
"balanceSheet": {
"cash": 1135000000,
"shortTermInvestments": 861000000,
"receivables": 3870000000,
"inventory": 13198000000,
"currentAssets": 24391000000,
"goodwill": 3141000000,
"totalAssets": 44528000000,
"currentLiabilities": 15127000000,
"shortTermDebt": 5220000000,
"longTermDebt": 8831000000,
"totalDebt": 14051000000,
"totalLiabilities": 27159000000,
"equity": 15904000000
},
"cashFlow": {
"operatingCashFlow": 844000000,
"investingCashFlow": -5227000000,
"financingCashFlow": 2229000000,
"capex": 1723000000,
"freeCashFlow": -879000000,
"dividendsPaid": 459000000,
"shareRepurchases": 551000000,
"stockCompensation": null,
"depreciation": 703000000
}
},
{
"id": "0001341439:2025:FY",
"cik": "0001341439",
"ticker": "ORCL",
"companyName": "Oracle Corporation",
"fiscalYear": 2025,
"fiscalPeriod": "FY",
"periodStart": "2024-06-01",
"periodEnd": "2025-05-31",
"filedOn": "2026-06-22",
"form": "10-K",
"accessionNo": "0001193125-26-277521",
"sector": "Technology",
"currency": "USD",
"derived": false,
"incomeStatement": {
"revenue": 57399000000,
"costOfRevenue": null,
"grossProfit": null,
"researchDevelopment": 9860000000,
"sellingGeneralAdmin": 1602000000,
"operatingIncome": 17678000000,
"interestExpense": 3578000000,
"pretaxIncome": null,
"incomeTax": 1717000000,
"netIncome": 12443000000,
"epsBasic": 4.46,
"epsDiluted": 4.34,
"sharesDiluted": 2866000000
},
"balanceSheet": {
"cash": 10786000000,
"shortTermInvestments": null,
"receivables": 8558000000,
"inventory": 303000000,
"currentAssets": 24579000000,
"goodwill": 62207000000,
"totalAssets": 168361000000,
"currentLiabilities": 32643000000,
"shortTermDebt": 7271000000,
"longTermDebt": null,
"totalDebt": 92568000000,
"totalLiabilities": 147392000000,
"equity": 20451000000
},
"cashFlow": {
"operatingCashFlow": 20821000000,
"investingCashFlow": -21711000000,
"financingCashFlow": 1098000000,
"capex": 21215000000,
"freeCashFlow": -394000000,
"dividendsPaid": 4743000000,
"shareRepurchases": 600000000,
"stockCompensation": 4674000000,
"depreciation": null
}
},
{
"id": "0000006201:2025:FY",
"cik": "0000006201",
"ticker": "AAL",
"companyName": "American Airlines Group Inc.",
"fiscalYear": 2025,
"fiscalPeriod": "FY",
"periodStart": "2025-01-01",
"periodEnd": "2025-12-31",
"filedOn": "2026-02-18",
"form": "10-K",
"accessionNo": "0000006201-26-000014",
"sector": "Consumer Discretionary",
"currency": "USD",
"derived": false,
"incomeStatement": {
"revenue": 54633000000,
"costOfRevenue": null,
"grossProfit": null,
"researchDevelopment": null,
"sellingGeneralAdmin": null,
"operatingIncome": 1467000000,
"interestExpense": 1716000000,
"pretaxIncome": 190000000,
"incomeTax": 79000000,
"netIncome": 111000000,
"epsBasic": 0.17,
"epsDiluted": 0.17,
"sharesDiluted": 661052000
},
"balanceSheet": {
"cash": 1056000000,
"shortTermInvestments": null,
"receivables": 2075000000,
"inventory": null,
"currentAssets": 12205000000,
"goodwill": 4091000000,
"totalAssets": 61774000000,
"currentLiabilities": 24492000000,
"shortTermDebt": 3641000000,
"longTermDebt": 25254000000,
"totalDebt": 28895000000,
"totalLiabilities": null,
"equity": -3727000000
},
"cashFlow": {
"operatingCashFlow": 3099000000,
"investingCashFlow": -1894000000,
"financingCashFlow": -1051000000,
"capex": 3779000000,
"freeCashFlow": -680000000,
"dividendsPaid": null,
"shareRepurchases": null,
"stockCompensation": 57000000,
"depreciation": 2200000000
}
}
]
}Rank by FCF margin in Python
import os, requests, pandas as pd
rows, start = [], 0
while True:
page = requests.post("https://www.quantisnow.com/api/v1/financials",
headers={"Authorization": f"Bearer {os.environ['QUANTISNOW_API_KEY']}"},
json={"query": "fiscalPeriod:FY AND fiscalYear:2025 AND incomeStatement.revenue:>1000000000 AND currency:USD",
"size": 50, "from": start}).json()
rows += page["data"]
start += 50
if start >= min(page["total"]["value"], 1000):
break
df = pd.json_normalize(rows)
df["fcf_margin"] = df["cashFlow.freeCashFlow"] / df["incomeStatement.revenue"]
print(df.sort_values("fcf_margin", ascending=False)[["ticker", "companyName", "fcf_margin"]].head(25))From the command line
npx quantisnow query financials 'fiscalPeriod:FY AND fiscalYear:2025 AND cashFlow.freeCashFlow:<0 AND incomeStatement.revenue:>10000000000' -n 50Related: XBRL financial data, Share count over time.
Related guides
XBRL financial data API
Income statement, balance sheet and cash flow from 10-K and 10-Q XBRL, with the same field names for every company. Screen across companies or pull one company's history.
Share count over time
Track diluted shares outstanding by year or quarter from XBRL financials, to see dilution and buybacks next to cash flow.
Real-time filings
Get new EDGAR filings a minute or two after the SEC accepts them, by polling the filings endpoint or holding open a Server-Sent Events stream.
Daily screener with cron
Run a set of queries every evening with the quantisnow CLI, write the results to files, and diff them against yesterday.