Skip to main content

Overview

lookup turns something a human typed into something panel, quotes or funds will accept. It searches B3 tickers, CVM funds and listed companies at once, and returns whatever matched, tagged with the key that matched it.
Parameters, response columns and types are generated from the SQL catalog and render under Endpoints → Lookup in the sidebar. This page carries what a schema cannot: what the matching actually does, and which columns are null on purpose.
It does not invent identifier matches. There is no ticker ↔ CNPJ join here. A query matching both a ticker and a listed company returns two rows, and whether they are the same entity is your call.

What the matching does

Note: because names are substrings, an empty string or a single common letter matches nearly everything and returns an arbitrary 20. Send something specific.

Field notes

Example

A name query spans populations, and a company row carries its tickers:

Notes

  • At most 20 rows, across all three populations combined.
  • No defined ordering. If more than 20 match, which 20 you receive is arbitrary and may change between calls. Narrow the query — there is no offset that would help.
  • Ticker rows span every cash-market BDI board, including BDR and fund-quota boards.
  • No match returns 200 [] — the string matched nothing we hold, which is not the same as the entity not existing. Check spelling, then coverage.