Dados B3 › Transparency
Transparency
Transparency — how you check the numbers yourself
Data version 2026-11-09-ancora-do-fre · page generated 2026-11-18 18:08 UTC. If these do not match /saude, you are reading a cached copy.
What is checked, before every publication — 1442 automated tests, collected live
26 are DATA invariants (does the number tie out?) and 148 are product tests — access gate, navigation, language, AI connector. Calling all 1442 'invariants' would be inflating it: the split is checkable in the list itself. Not a hand-picked highlight reel: every test below was found by introspecting the actual test files just now, the same way pytest --collect-only would. Grouped by what it protects against, not by which file it lives in.
Level 1 — Integrity: does the data tie out? (26)
BK01— `/admin/backup` lists the three databases of the MOST RECENT daily backup (not the partial folder nor the previous day), with bytes and the sha256 of the uncompressed file.BK02— `/admin/backup/{name}` delivers ONE database, gzipped, which decompresses exactly into the latest backup file and matches the listed sha256; the day goes in a header.BK03— Without X-Admin-Token, with a wrong token or with the token in the URL: 404. A name outside the three databases (the main database, `..`, a stray file inside the backup folder, a missing file) is also 404, and stray files are not listed.BK04— Before the first backup the list comes with `dia: null` and no files, and a download is 404 (not 500).BK05— Encrypt then decrypt returns identical bytes (empty file, smaller than a block, exact multiple of a block, many blocks) and a real SQLite database passes `PRAGMA integrity_check` after the round trip.BK06— A wrong key does not decrypt. A missing, short or malformed key raises an error whose message does not contain the value received.BK07— AES-GCM authenticates: one changed byte, a cut end, swapped blocks, a file delivered under another name or garbage makes decryption FAIL.BK08— Without BACKUP_CHAVE (or with an invalid key) both encrypted-backup routes answer 503, deliver no byte and write NOTHING to disk.BK09— No token, a wrong token or the token in the URL: 404, like the other admin routes. If ADMIN_TOKEN is not set on the server nobody gets in (fail closed).BK10— The manifest lists name, bytes, sha256 of the plain file, encrypted size and rows per table, and never contains the token, the key or the stored e-mails.BK11— `/admin/backup/arquivo/{name}` only serves the backup databases: `../`, encoded slashes, the main database, stray files and unknown names are 404.BK12— The delivered file has no SQLite header or plain e-mail, decrypts exactly into the backup database with the manifest sha256, the Content-Length matches and the original is byte-for-byte unchanged.BK13— More than 60 requests a minute to the encrypted-backup routes: 429 with Retry-After, wrong tokens included.BK14— The pull script stores files still encrypted, checks sha256, never overwrites, keeps N days and prints neither secret; the restore test decrypts in a temporary folder, checks sha256, integrity_check and row counts, and fails on a changed byte.BK51— Bank matching and column reading: a listed bank is matched to the Central Bank IF.data by the 8-digit root of the CNPJ of the group leader, never by name; the group code wins over the CNPJ-root code; the five columns are read by accent-free name; conflicting readings are dropped and a capital ratio published as a fraction is scaled to percent.BK52— Collection: only quarters already published are requested, with a pause and an identified robot; our banks are stored by quarter; a quarter the source does not answer keeps what was there, a quarter with an impossible value is rejected whole, a failing register does not raise, and the result is saved in meta.BK53— Request shape and fallback: the Olinda address follows the service contract (prudential type, Summary report, encoded filter); AnoMes maps to year and quarter; when no column matches an indicator the collection stores nothing and reports the indicator and the column names it saw.BK54— Publication is OFF by default because the Central Bank service gave no real data at build time: the pages and JSON routes answer 404 even with the table full, and the stock page reader returns nothing; turning the flag on enables it for banks only.BK55— With publication on: the JSON of a bank (any of its tickers) and of all banks carries the source, the ODbL licence with its link, the prudential-group basis, the unit and a citation with the latest quarter; the comparison page in Portuguese and English shows where each number comes from, the licence and the citation, orders by loan book size and says so, and has no recommendation wording.BK56— Before the first collection the table does not exist: the JSON answers 503 with Retry-After and the page answers 200 with a neutral notice, noindex and no number.BK57— The Central Bank indicators block on a bank stock page lists the quarterly series newest first with the source and licence next to the table, the caveat about the perimeter versus the CVM consolidated statements, links to the comparison page and the JSON, and a section anchor; without data neither the block nor the anchor exists.BK58— Build inheritance: the bank indicators table is in the list of tables inherited from the previous database, and the fresh value wins over the old one.BK59— Delinquency and problem assets come from IF.data report 16: the delinquent portfolio (or the problem-asset portfolio) divided by the Total Geral of active credit, times 100, with balances in reais; a missing or zero total, or a line from a different institution code than the total, produces no number; delinquency above the total is out of range.BK60— The collection also asks for report 16; if it does not answer, the quarter keeps the Summary figures, notes a warning and the delinquency already stored is not erased; delinquency above the total rejects the whole quarter batch.BK61— The /bancos page labels net income as accumulated within the semester, shows the delinquency and problem-asset columns and a section on what each number means that states our only calculation and admits the full official definition was not found.BK62— On /bancos the first sentence gives the over-90-day delinquency of the (up to) four largest loan books in the latest quarter, in table order and with the same figure the table shows, in Portuguese and English.
Level 2 — Semantics: does the account mean what the calculation assumes? (0)
Level 3 — Economic: is the result possible in the real world? (0)
Other product tests (0)
Access gate, navigation and the MCP connector — they test whether the product works, not whether a number is right, so they don't fit the 3 levels above by design. Still counted, still listed:
Reconstruct it yourself — net margin across 5 companies, 4 sectors
We don't ask you to trust the numbers. Here's the net margin of five companies in four different sectors, each rebuilt straight from its annual report (DFP) at the CVM — net income ÷ revenue, matching the published figure exactly. For ANY indicator, of any company, the whole chain down to the line in CVM's file is at /linhagem:
| Company · sector | Net income (CVM acct) | Revenue (CVM acct) | Margin =÷ |
|---|---|---|---|
| WEGE3 · industrial | R$ 6.78 bn DRE:3.11 | R$ 40.80 bn DRE:3.01 | 16.6% |
| VALE3 · mining | R$ 11.81 bn DRE:3.11 | R$ 213.59 bn DRE:3.01 | 5.5% |
| PETR4 · oil & gas | R$ 110.61 bn DRE:3.11 | R$ 497.55 bn DRE:3.01 | 22.2% |
| ITUB4 · bank | R$ 45.85 bn DRE:3.09 | R$ 387.12 bn DRE:3.01 | 11.8% |
| BBAS3 · bank | R$ 16.78 bn DRE:3.11 | R$ 319.46 bn DRE:3.01 | 5.3% |
Download any of these DFPs from the CVM, take the income and revenue accounts, divide — you get the same number. Banks use interest income as revenue (what makes sense for a bank), so the reconciliation is sector-aware; the others use sales revenue. Figures are the latest fiscal year.
Why we may differ from another site (and it's not an error)
A difference between two sites usually isn't one being wrong — it's a method choice. We disclose ours:
- Average vs ending capital: ROE and ROIC use average equity/capital (this year + last ÷ 2), not the ending balance — so they're not a naive single-year division.
- Controlling vs consolidated: we state which one each item uses.
- TTM vs annual: quarterly multiples use trailing-twelve-months earnings.
- IFRS 16, goodwill, cash, exceptional tax: each handled explicitly and flagged when it distorts.
Do the tests bite? Yes — real cases the suite has caught
A test that never fails could mean perfect data — or a weak test. These were born from real errors that slipped through, and now fail — only shown for tests that actually exist in the collected suite above:
- I-B16 · banks' P/E = 0: the CVM reports share count sometimes in units, sometimes in thousands (varying by company and year); market cap came out 1000× too small and P/E was zero. I-B16 (price × shares recomputed) caught it — we fixed 661 annual and 2,027 quarterly multiples.
- I-B24 · the vanishing profit: the profit/equity account varies by bank (Itaú 3.09, BB 3.11); if the label search fails, the number vanishes silently and ROE is born wrong. I-B24 makes that hole fail.
- H-B23 · the 800% dividend yield: old B3 dividends carry a price not adjusted for splits; without H-B23 the yield would look absurdly real. The flag keeps the record and warns.
- I-B20 · the missing COTAHIST 2023: on the first deploy one year of prices failed to download silently; the API shipped with ~50k fewer prices and the suite passed, because nothing checked coverage. We added I-B20 — a year without prices now fails the build loudly.
- I-B33 · Oil & Gas at −89.6% in one week: COTAHIST isn't split-adjusted; a 10:1 split read as a −90% weekly return and stayed in the cumulative return forever, with nothing failing (a blind amplitude filter didn't fix it either — it just flipped which direction was wrong). I-B33 (no sector week beyond ±35%, the ruler is the exchange itself) stops the build.
- I-B31 · 364 of 865 sector-index weeks frozen: extending the series back to 2010, a sector with no company carrying a market cap that week turned into a factor of 1.0 — a flat line that the cumulative return read as 'market stood still', and the 'since 2010' return came out fictional (+527%). I-B31 fails on any week repeated to the cent.
- I-E05 · EMBRAER's 2010 P/E priced with 2025 data: the point-in-time price lookup fell forward with no ceiling whenever the current ticker had no price at balance-sheet time (ticker change, share-class migration); the multiple came out priced 15 years into the future, in 22% of annual and quarterly rows, silently. The 45-day window (and I-E05) blocks it: no session inside the deadline, no multiple computed.
- I-E04 · AZUL at R$ 1.67 quadrillion market cap: the balance sheet carried 54.7 trillion shares from the judicial recovery issuance, but the price used was already on the post-reverse-split (1:150,000) basis — two ends measured on different bases, market cap wrong by orders of magnitude. I-E04 (market cap never above Brazil's GDP) fails the build on that absurdity.
How far back each block of data goes
No asterisks here: this is coverage year by year, counted right now. Indicators (ROE, ROIC, margins, growth) come from the filings alone and cover the whole series. Multiples (P/E, P/BV, EV/EBITDA) need a price and a share count — and the share count comes from CVM's reference form, which the further back you go the fewer companies filed in a usable format. The gap between the two columns is a source limit, not an ingestion hole. If you look for an old P/E and do not find it, it is because nobody has it — not because we hid it. The same numbers as JSON: /cobertura.
| Year | Companies with indicators | Companies with multiples |
|---|---|---|
| 2025 | 441 | 290 |
| 2024 | 443 | 296 |
| 2023 | 441 | 298 |
| 2022 | 428 | 295 |
| 2021 | 422 | 296 |
| 2020 | 410 | 274 |
| 2019 | 371 | 166 |
| 2018 | 326 | 167 |
| 2017 | 317 | 165 |
| 2016 | 311 | 154 |
| 2015 | 303 | 144 |
| 2014 | 301 | 140 |
| 2013 | 292 | 131 |
| 2012 | 291 | 112 |
| 2011 | 284 | 98 |
| 2010 | 277 | 34 |
Live coverage
457 companies · 885,737 price points · 8,650 recorded restatements · last refresh 2026-11-18 02:37:03. Full live counts at /saude.
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-09-ancora-do-fre · page generated 2026-11-18 18:08 UTC. If this does not match /saude, you are reading a cached copy.