Google Finance financial statements
A company's financial statements from Google Finance, quarterly or annual: for each period (label, fiscal year and quarter, period end date, currency) the income statement (revenue, cost of revenue, gross profit, R&D, SG&A, operating expense, total expenses, operating income, EBITDA, other non-operating income, pre-tax income, income tax, effective tax rate, net income, net profit margin, EPS diluted and basic), balance sheet (cash, short-term investments, receivables, inventory, current and total assets, PP&E, long-term investments, payables, short-term and long-term debt, deferred revenue, current and total liabilities, retained earnings, accumulated other comprehensive income, total equity, shares outstanding, price to book) and cash flow (net income, cash from operations, capital expenditure, cash from investing, dividends paid, stock issued or repurchased, cash from financing, net change in cash, free cash flow). Values are in the reporting currency; percentages as numbers.
Every response includes credits_used: the credits this call cost.
Parameters
| name | type | description |
|---|---|---|
symbolrequired | string | TICKER:EXCHANGE as Google Finance writes it, e.g. AAPL:NASDAQ, MSFT:NASDAQ, VOD:LON, RELIANCE:NSE. A bare US ticker such as AAPL is looked up on the US exchanges. Example: AAPL:NASDAQ |
period | quarterly | annual | quarterly (default; the latest quarters) or annual (the latest fiscal years). |
statement | string | Comma-separated statements to return: income_statement, balance_sheet, cash_flow (default all three). |
hl | string | Interface language, e.g. en (default). |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/google-finance/v1/financials?symbol=AAPL%3ANASDAQ" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/google-finance/v1/financials",
params={"symbol": "AAPL:NASDAQ"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/google-finance/v1/financials");
url.searchParams.set("symbol", "AAPL:NASDAQ");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); Response
A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).