Financial statements API
Income statement, balance sheet and cash flow by period: annual, quarterly or trailing twelve months.
GET /v1/finance/statements2 credits per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/finance/statements?keyword=MSFT&type=quarterly",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 2 credits{ "symbol": "MSFT", "type": "quarterly", "income_statement": [ { "asOfDate": "2026-09-30", "periodType": "3M", "currencyCode": "USD", "values": { "DilutedAverageShares": 7446000000, "BasicEPS": 4.93, "GrossProfit": 62559000000, "TaxProvision": 9324000000, "ResearchAndDevelopment": 9047000000, "BasicAverageShares": 7426000000, "CostOfRevenue": 29720000000, "OperatingExpense": 16644000000, "EBIT": 46823000000, "NetIncome": 36629000000, "…": "7 more fields" } }, "… 4 more" ], "balance_sheet": [ { "asOfDate": "2026-09-30", "periodType": "3M", "currencyCode": "USD", "values": { "TotalLiabilitiesNetMinorityInterest": 308894000000, "TotalAssets": 779403000000, "OrdinarySharesNumber": 7427000000, "NetDebt": 15200000000, "RetainedEarnings": 354795000000, "CashAndCashEquivalents": 20281000000, "Inventory": 1835000000, "LongTermDebt": 31090000000, "TotalDebt": 57200000000, "WorkingCapital": 34169000000, "…": "4 more fields" } }, "… 4 more" ], "cash_flow": [ { "asOfDate": "2026-09-30", "periodType": "3M", "currencyCode": "USD", "values": { "FreeCashFlow": 18633000000, "FinancingCashFlow": -16640000000, "CashDividendsPaid": -6757000000, "OperatingCashFlow": 58000000000, "CapitalExpenditure": -39367000000, "EndCashPosition": 20281000000, "InvestingCashFlow": -41965000000, "RepurchaseOfCapitalStock": -4379000000 } }, "… 4 more" ]}Parameters
| Name | Type | Description |
|---|---|---|
keywordquery · required | string | A ticker (AAPL, ^GSPC, EURUSD=X, BTC-USD) or a company name. Example: AAPL. |
typequery | "annual" | "quarterly" | "trailing" | One of annual, quarterly, trailing. |
Response fields
200 with a FinanceStatements, in Finance’s own JSON.
| Field | Type | Description |
|---|---|---|
symbol | string | |
type | string | |
income_statement | object[] | |
balance_sheet | object[] | |
cash_flow | object[] |
Status codes
| Status | Meaning |
|---|---|
200 | The three statements. |
400 | Invalid input. Nothing was charged. |
401 | Missing or invalid API key. |
402 | Not enough credits, a spend cap was reached, or payment is required. |
403 | The target is private, or the account is suspended. |
404 | No ticker or data matches. |
429 | Too many requests. Wait for Retry-After seconds. |
503 | Finance is temporarily unavailable. Retryable; nothing was charged. |
Every error has code, message, hint and retryable. All error codes
Questions
How many periods?
About four years or five quarters.
Finance is a trademark of Yahoo Inc. We are not affiliated with or endorsed by Yahoo Inc.