PT

Dados B3 › Spreadsheet

Dados B3 spreadsheet: fundamentals in Google Sheets with one formula

A Google spreadsheet with the =DADOSB3() function. You type the stock, REIT (FII) or ETF ticker and the field name. The cell brings the number from our database: ROE, P/E, dividend yield, next payout and more than 30 fields.

The price does not come from Dados B3: in the template it comes from Google itself, through the =GOOGLEFINANCE function. Nothing here is investment advice.

Start in 3 steps

  1. Open the spreadsheet template and click Make a copy. The copy is yours, in your Google account. If a yellow bar says some formulas are trying to send and receive data from third parties, click Allow access: that is what lets the spreadsheet show each asset logo.
  2. In the Dados B3 › Minha chave menu, paste your key. The free key takes a minute, no card: get a free key. The key is stored in the spreadsheet script, never in a cell.
  3. Use it. Type =DADOSB3("PETR4", "roe") in a cell, or point to a whole column of tickers.

Open the template

Examples

FormulaWhat it returns
=DADOSB3("PETR4", "roe")ROE from the latest annual statement
=DADOSB3(A2:A31, "dy_12m")the whole column at once (a single request)
=DADOSB3(A2:A31, B1:H1)the whole table: tickers in rows, fields in the header
=DADOSB3("WEGE3", "pl", "2019-06-30")the P/E as known on 2019-06-30
=DADOSB3("SELIC")today's Selic target (also IPCA, DOLAR, EURO...)
=GOOGLEFINANCE("BVMF:PETR4")the price, from Google

In a Portuguese-language spreadsheet the separator is a semicolon (;).

Why it is different

What comes ready in the template

The fields

Percentages come as fractions (0.25 = 25%): format the column as %. R$ amounts are gross, before tax.

Profile

FieldWhat it isApplies toTakes a date
nomeName. Company or fund name.Stock, REIT (FII), ETFno
tipoType. Stock, REIT (FII) or ETF.Stock, REIT (FII), ETFno
setorSector. Stock sector; FII segment.Stock, REIT (FII)no
cnpjCNPJ. Company or fund tax ID (CNPJ).Stock, REIT (FII), ETFno
paginaPage. Address of the asset page on dadosb3.com.Stock, REIT (FII), ETFno
logoLogo. Address of the logo (64×64 PNG) on dadosb3.com: the company's, from the website it declares to CVM; for REITs (FIIs) and ETFs, the fund manager's, from the website it declares to CVM. Use with =IMAGE().Stock, REIT (FII), ETFno
link_cvmCVM link. Link to the latest annual statement (DFP) on the CVM website.Stockyes
indiceIndex. Index the ETF tracks.ETFno
gestorManager. ETF manager.ETFno

Statements (latest year)

FieldWhat it isApplies toTakes a date
ano_balancoStatement year. Fiscal year of the annual statement used below.Stockyes
roeROE. Controlling net income ÷ equity.Stockyes
roicROIC. Return on invested capital.Stockyes
roaROA. Net income ÷ total assets.Stockyes
margem_brutaGross margin. Gross profit ÷ revenue.Stockyes
margem_ebitEBIT margin. Operating result ÷ revenue.Stockyes
margem_liquidaNet margin. Total net income ÷ revenue.Stockyes
divida_liquida_ebitdaNet debt/EBITDA. Net debt ÷ EBITDA.Stockyes
liquidez_correnteCurrent ratio. Current assets ÷ current liabilities.Stockyes
crescimento_receitaRevenue growth (1 year). Revenue of the year ÷ previous year − 1.Stockyes
cagr_receita_5aRevenue CAGR (5 years). Average yearly revenue growth over 5 years.Stockyes
piotroskiPiotroski. Score from 0 to 9 on Piotroski's nine tests.Stockyes
ebitdaEBITDA. EBITDA for the year, in R$.Stockyes
divida_liquidaNet debt. Gross debt − cash, in R$.Stockyes

Multiples

FieldWhat it isApplies toTakes a date
plP/E. Market value ÷ last 12 months earnings (the page's 12-month P/E card).Stockyes
pvpP/B. Stock: market value ÷ equity of the latest quarter. FII: price ÷ book value per unit.Stock, REIT (FII)yes
ev_ebitdaEV/EBITDA. EV ÷ EBITDA, priced on the first session after the annual statement was filed.Stockyes
fcf_yieldFCF yield. Free cash flow ÷ market value, on the same date as EV/EBITDA.Stockyes
lpaEPS. Earnings per share of the latest year.Stockno
vpaBVPS. Book value per share of the latest year.Stockno
vp_cotaBook value per unit. Book value per unit in the latest report.REIT (FII)no

Payouts

FieldWhat it isApplies toTakes a date
dy_12m12-month dividend yield. Last 12 months payouts ÷ price.Stock, REIT (FII)no
proventos_12m12-month payouts (R$). Sum per share (or unit) over the last 12 months, gross.Stock, REIT (FII)no
ultimo_proventoLatest payout (R$). R$ per share (or unit) of the latest record date, gross.Stock, REIT (FII), ETFyes
ultima_data_comLatest record date. Record date of the latest payout.Stock, REIT (FII), ETFyes
proximo_proventoNext payout (R$). R$ per share (or unit) of the next announced payment, gross.Stock, REIT (FII), ETFyes
proximo_pagamentoNext payment date. Date of the next announced payment.Stock, REIT (FII), ETFyes
proxima_data_comRecord date of the next payment. Record date of the next announced payment.Stock, REIT (FII), ETFyes

Economic indicators

Type the code instead of a ticker. The field is valor (the default) or data (the date of the value). Source: Central Bank and IBGE.

CodeWhat it is
SELICSelic target (Copom), a year
SELIC_EFETIVAEffective Selic, a year
IPCAIPCA, 12-month change
IPCA_MESIPCA, monthly change
DOLARUS dollar PTAX closing, ask
DOLAR_COMPRAUS dollar PTAX closing, bid
EUROEuro PTAX closing, ask
PIBGDP, four-quarter change
DESEMPREGOUnemployment rate (PNAD)

Limits

The spreadsheet uses your key's quota. Free: 200 calls a day, no card. Pro ($9.90/month): 10,000 calls a day.

Each request uses 1 call per 100 cells (ticker × field), at least 1. A 30-asset portfolio with 10 fields uses 3. The spreadsheet keeps each number for up to 6 hours and does not ask again in that time. Up to 300 tickers and 20 fields per request; larger ranges are split automatically.

Past dates

With a date (YYYY-MM-DD), the statement is the latest the CVM had received on that day, and the P/E and P/B use the price of the first session after filing. The figure is the version published today: if the company restated it later, the restated one applies. Dividend yield, EPS and BVPS only exist for today.

For developers

The function calls this API route, with your key:

curl -H "X-API-Key: SUA_CHAVE" "https://dadosb3.com/planilha/dados?codigos=PETR4,ITUB4,HGLG11&campo=roe,dy_12m"

Numbers on this page are live. Data version 2026-11-03-delistadas-proventos-cvm · page generated 2026-11-03 23:34 UTC. If this does not match /saude, you are reading a cached copy.

Sources: CVM (open data, ODbL) and B3 (COTAHIST). Not affiliated with B3 or the CVM. Not investment advice.

Numbers on this page are live. Data version 2026-11-03-delistadas-proventos-cvm · page generated 2026-11-03 23:34 UTC. If this does not match /saude, you are reading a cached copy.