What it does
Type =QL_FIN("AAPL","revenue") in a cell and get Apple's revenue for its latest fiscal year, straight from its 10-K. The add-on adds custom functions to Google Sheets that read the Quotelinks SEC Fundamentals API: 39 standardized income-statement, balance-sheet and cash-flow fields, 10 ratios and company details for about 17,000 companies that file with the U.S. Securities and Exchange Commission. Annual, quarterly and trailing-twelve-month figures; restated or as first reported.
A sidebar inserts a full income statement, balance sheet, cash flow or ratio table with one click, and builds an example sheet you can copy from. It is the Google Sheets twin of the Quotelinks Excel add-in, with the same fields and period syntax.
Get started
- Install the add-on (see above) and allow its permissions: it can edit only the spreadsheet you use it in, and connects only to api.quotelinks.com.
- In the spreadsheet: Extensions → Quotelinks SEC Fundamentals → Open sidebar. This turns the add-on on for the file, so its functions become available.
- Click Create example sheet, or type
=QL_FIN("MSFT","net_income")in any cell.
Functions
| Function | Returns | Example |
|---|---|---|
QL_FIN(ticker, field, [period], [basis]) | One figure | =QL_FIN("NVDA","eps_diluted",2025) |
QL_HISTORY(ticker, field, [period], [count], [basis]) | Two columns: period and value, oldest first | =QL_HISTORY("AAPL","revenue","quarterly",12) |
QL_STATEMENT(ticker, [statement], [period], [count], [basis]) | Income, balance, cashflow or ratios table, newest period first | =QL_STATEMENT("JPM","balance","annual",5) |
QL_COMPANY(ticker, [attribute]) | Company detail: name, industry, sector, exchange, cik, fiscal_year_end, shares_outstanding, public_float, latest_annual_report … | =QL_COMPANY("KO","industry") |
QL_FIELDS([group]) | List of fields | =QL_FIELDS("ratios") |
ticker is a ticker symbol (AAPL, BRK.B) or an SEC CIK number (320193). Point it at a cell — =QL_FIN($B$3,"revenue") — to build a sheet that works for any company. Tables from QL_STATEMENT and QL_HISTORY fill the cells below and to the right; leave them empty.
If you used the Apps Script from our Google Sheets & Excel guide, =QL(ticker, field, period) also works and gives the same result as QL_FIN.
Fields and ratios
Income statement: revenue, cost_of_revenue, gross_profit, rnd, sga, operating_expenses, operating_income, interest_expense, pretax_income, income_tax, net_income, net_income_common, eps_basic, eps_diluted, shares_basic, shares_diluted, dps.
Balance sheet: cash, st_investments, receivables, inventory, current_assets, ppe_net, goodwill, intangibles, total_assets, accounts_payable, current_liabilities, long_term_debt, total_liabilities, equity, shares_outstanding.
Cash flow: cfo, capex, fcf, dividends_paid, buybacks, sbc, dna.
Ratios (decimals — format the cell as %): gross_margin, operating_margin, net_margin, fcf_margin, roe, roa, current_ratio, debt_to_equity (long-term debt ÷ equity), payout_ratio, effective_tax_rate. Ratios use the same period's figures and end-of-period balances.
Period details: fiscal_year, fiscal_period, start, end, form, filed, accession.
Common names work too: eps = eps_diluted, sales = revenue, free_cash_flow = fcf, ebit = operating_income.
Periods and basis
| period (QL_FIN) | Meaning |
|---|---|
omitted or FY | Latest fiscal year |
FY-1, FY-2 | One, two fiscal years back |
2024 or FY2024 | Fiscal year 2024 (the company's fiscal year, not the calendar year) |
TTM | Trailing twelve months, latest |
Q, Q-1 (or FQ, FQ-1) | Latest quarter, one quarter back |
2025Q3 or Q3 2025 | Fiscal Q3 of fiscal year 2025 |
basis: latest (default) uses restated figures and adjusts per-share values and share counts for stock splits; original gives the figures as first reported.
Data and limits
- Source: XBRL financial data in SEC EDGAR filings (10-K, 10-Q, 20-F, 40-F …), standardized by Quotelinks and rebuilt every night. Fourth quarters are derived from the annual report minus the first nine months.
- Values are in raw units — dollars and shares, not millions. A field the company does not report shows an error with the reason when you hover the cell.
- Responses are cached for up to 6 hours, and Google Sheets keeps a function's result until its arguments change. To refresh: Extensions → Quotelinks SEC Fundamentals → Refresh QL formulas on this sheet.
- One request covers every field of a company for one period type, so many cells for the same ticker load together.
- For personal, non-commercial use, under the Terms of Service. Not investment advice — check important figures against the filing (
=QL_COMPANY("AAPL","latest_annual_report")gives the link).
FAQ
Does it cost anything or need an account?
No. The add-on and the API behind it are free and need no sign-in or key.
What can the add-on access?
Only the spreadsheet you use it in, and only to write the tables you ask for from the sidebar or menu. Formulas send just the ticker and period type to api.quotelinks.com. It does not read other files in your Google Drive. See the Privacy Policy.
A cell shows #NAME? or the sidebar shows a permission error
Open Extensions → Quotelinks SEC Fundamentals → Open sidebar once in that spreadsheet to turn the add-on on. If you are signed in to several Google accounts in the same browser, Google may run add-ons under your default account; sign in with the account that installed the add-on first, or use a browser profile with one account.
Why is a figure different from a data provider's?
Figures come from the company's own XBRL tags. Providers often adjust items (for example, "adjusted EPS"); Quotelinks does not. Restated values replace older ones unless you use basis "original".
Are stock prices included?
No. The add-on covers fundamentals from SEC filings only.
Where do I report a problem?
Use the contact page.