Skip to content
Search filters: CNAE, municipality, size and more
Help · CNPJ search

Search filters: CNAE, municipality, size and more

The 38 company search filters on CNPJá: CNAE, municipality, state, size, status, tax regime, contacts, dates, and how to include or exclude values.

Filters narrow the CNPJ search by registration, company, tax regime, activities, names, address, contacts and the organization’s lists: 38 filters in 8 groups. They sit in the bar above the table in CNPJ > Search CNPJ, and also on the page of each view and each list.

Different filters add up: an establishment has to match all of them. Within one filter, matching any of the chosen values is enough. The free text search and the results table are covered in Search CNPJs.

The filter bar

The bar shows the filters you chose to keep at hand. On a first visit, it holds Status, Type, Tax regime, Opening date, Activity, City, State, Phone type and E-mail type.

To fill in a filter:

  1. Click the filter in the bar. Its editor opens right below it.
  2. Pick or type the values. Each option ticked and each value added updates the table at once; ranges and dates wait for you to click Apply.
  3. Close the editor with Esc or by clicking outside it.

An empty filter shows dashed, with a plus sign (+) before its name. A filled filter shows up to two values and, from three on, a count, such as “3 selected”. When there are exclusions, each side shows one value and, from two on, a count, such as “2 excluded”. To empty a filter, click the X next to it (for example, Clear Status). Clear, at the end of the bar, erases the search and the values of every filter at once, and the filters stay on the bar.

  • Which filters stay on the bar is a choice of this browser, kept in a cookie (see Cookies). The values live in the page address.
  • A link that brings a filter not on your bar shows it while it holds a value. Once emptied, it leaves the bar.
  • Filters you add during a visit go to the end of the bar.
  • On narrow screens, the bar stays on one line that scrolls sideways.

The Filters menu

The Filters button, at the end of the bar, opens the list of every filter, grouped the way the record is: Registration, Company, Tax regime, Activities, Names, Address, Contact and Lists. The Lists group only shows for members of an organization, and not on a list’s page.

To put a filter on the bar or take it off:

  1. Click Filters (on a phone, only the funnel icon shows).
  2. Type in Find a filter to find the filter by its name, its group, its address parameter or a synonym, such as cnae, cep, ddd, matriz or mei. Accents and capitals make no difference.
  3. Click the filter, or reach it with ↑ and ↓ and press Enter.

A filter that was off the bar joins its end, with the editor already open. A filter already on the bar leaves it, taking its values along.

  • Filters on the bar are marked in the menu, and the ones holding values show how many they hold.
  • The count on the Filters button says how many filters hold a value, even those scrolled out of sight on the bar.
  • Restore defaults, at the foot of the menu, takes the bar back to the first-visit filters and erases the values of the filters that leave. The button is disabled when the bar already stands as the default.
  • Filter reference, also at the foot of the menu, opens All filters.

Editor types

Each filter is filled in with one of six editors. In the Filters menu, the icon next to each filter tells its editor.

EditorHow to fill it in
OptionsTick and untick the options on the list. Each click applies at once. In State, the options form a map of Brazil in squares, each state where it sits on the map: the arrow keys move to the neighboring state, and Home and End go to either end
DictionaryType in Search a name or code. The search ignores accents, capitals and punctuation, and a term made only of digits looks up the code. The list shows the first 50 entries and, when there are more, says “… more, type to narrow”. While nothing is typed, values already picked stay at the top
WordsType and press Enter, or click Add. Each word becomes a separate value, because each word counts on its own, ignoring accents. To remove a word, click its X
Exact valuesType one or more values separated by commas and press Enter. The punctuation of a CEP, a phone or a CNPJ root may come along. A value that does not fit stays in the box, with the note Invalid value: followed by it, for you to fix
RangeFill in From, To or both, and click Apply. Bounds entered the wrong way round are swapped on their own
DatesClick the first and last days on the calendar, or a single day, and click Apply. Month and year can be picked from lists, from 1900 to today. The presets next to the calendar apply at once

In the dictionary, words and exact values editors, the Include / Exclude switch shows when the filter accepts exclusions.

Include and exclude

Some filters take two sides: included values, which the establishment must have, and excluded values, which drop it from the result.

SideEffect
IncludeThe establishment must have at least one of the included values
ExcludeAn establishment with any of the excluded values drops out of the result

To exclude values:

  1. Open the filter on the bar.
  2. On the Include / Exclude switch, choose Exclude.
  3. Pick or type the values. They show in red, with a minus sign.

Both sides can share one filter. In Words in names, including padaria (bakery) and excluding distribuidora (distributor) brings names with “padaria” and drops those that also have “distribuidora”. Picking a value with the switch on the other side moves the value there. A filter that only holds exclusions opens its editor on Exclude.

These filters accept exclusions: Legal nature, Activity, Primary activity, Secondary activity, Words in names, Words in legal name, Words in trade name, City, Street, Number, Address details, District, Country, Area code, Phone, E-mail domain, E-mail and List. In the others, such as Status or State, pick the options you want to keep.

Date presets

Date filters have presets next to the calendar, each with the short code it goes by:

PresetCodePeriod
TodayD0Today
YesterdayD-1The day before
Last 7 days7DToday and the 6 days before
Last 30 days30DToday and the 29 days before
Last 90 days90DToday and the 89 days before
Last 12 months12MFrom the same day 12 months ago through today

Days are counted in Brasília time, the same as the D0 marker and the Dashboard. A click on a preset applies the period and closes the editor. When the period is today, the filter reads Today; otherwise, it shows the dates.

A preset writes the dates of the day you apply it. A link or a view saved with Today keeps showing that day, not the day it is opened. To see the day’s openings, apply Today again.

CEP range

Postal code range finds establishments whose CEP falls between two values. You can type just the start of a CEP.

  1. Click Filters and pick Postal code range, in the Address group.
  2. Type the start in From and the end in To. One of the sides may stay empty.
  3. Click Apply.

An incomplete CEP stands for every CEP that starts with it: in From, the rest is filled with zeros, and in To, with nines. So From 01 and To 05 search from 01000-000 to 05999-999, and From 20 alone searches from 20000-000 onwards.

For exact CEPs, one or several, use the Postal code filter.

All filters

Each group below follows the order of the Filters menu. The tables give the filter’s label, its parameter in the page address, its editor and whether it accepts exclusions.

Registration

FilterParameterEditorExclude
StatusstatusOptions: Active, Suspended, Noncompliant, Closed and VoidNo
TypetypeOptions: Head office and BranchNo
Opening dateopenedDatesNo
Status reasonstatus-reasonDictionaryNo
Status datestatus-dateDatesNo
Special statusspecial-statusDictionaryNo
Special status datespecial-status-dateDatesNo

What each status means is in The five statuses, and special status in Special status.

Company

FilterParameterEditorExclude
CNPJ rootrootExact values: the first 8 characters of the CNPJNo
SizesizeOptions: Micro company, Small company and OtherNo
Legal naturelegal-natureDictionaryYes
Share capitalcapitalRange, in reaisNo

The company data is the same across all its establishments, so these filters bring the head office and the branches. For one result per company, combine them with Type > Head office. The CNPJ root brings every establishment of a company, as Companies and establishments explains.

Tax regime

FilterParameterEditorExclude
Tax regimetax-regimeOptions: Actual Profit, Presumed Profit, Arbitrated Profit, Simples Nacional, Simples Hybrid, MEI and Not ApplicableNo
Simples Nacional startsimples-dateDatesNo
MEI startmei-dateDatesNo
IBS regular regime startibs-dateDatesNo
CBS regular regime startcbs-dateDatesNo

A company’s regime may be estimated, as Estimated regime explains. The last two filters find Simples Nacional hybrid companies by the start of their current period in the regular IBS or CBS regime.

Activities

FilterParameterEditorExclude
ActivityactivityCNAE dictionaryYes
Primary activityprimary-activityCNAE dictionaryYes
Secondary activitysecondary-activityCNAE dictionaryYes

Activity finds the CNAE in the primary activity as well as in the secondary ones. Excluding in Activity drops an establishment that has the code in any position; excluding in Primary activity drops only those that have it as primary.

Names

FilterParameterEditorExclude
Words in namesnameWordsYes
Words in legal namelegal-nameWordsYes
Words in trade nametrade-nameWordsYes

Words in names looks in both the legal name and the trade name. Each word counts on its own, as Words, accents and punctuation explains.

Address

FilterParameterEditorExclude
CitymunicipalityDictionaryYes
StatestateOptions, on the map of BrazilNo
Postal codepostal-codeExact values: 8 digitsNo
Postal code rangepostal-code-rangeRangeNo
StreetstreetExact valuesYes
NumbernumberExact valuesYes
Address detailsdetailsExact valuesYes
DistrictdistrictExact valuesYes
CountrycountryDictionaryYes

Street, Number, Address details and District compare the whole value, as the registry writes it, regardless of case, accents and punctuation, with each word compared by its stem, as explained in Words, accents and punctuation: AVENIDA PAULISTA finds Avenida Paulista, but Avenida Paulista does not find Av. Paulista. The API compares these fields by the same rule. Country is mostly useful to find establishments with an address abroad.

Contact

FilterParameterEditorExclude
Phone typephone-typeOptions: Mobile and LandlineNo
Area codearea-codeExact values: 2 digitsYes
PhonephoneExact values: the number with its area codeYes
E-mail typeemail-typeOptions: Corporate, Consumer, Accounting, Government and AcademicNo
E-mail domainemail-domainExact valuesYes
E-mailemailExact valuesYes

Phone and e-mail types are calculated by CNPJá, as Types calculated by CNPJá explains. Before using the contacts you find, read Responsible use.

Lists

FilterParameterEditorExclude
ListlistDictionary of the organization’s listsYes

List only shows for members of an organization and finds lists by name. On a list’s page it does not show, since the page already searches only among that list’s CNPJs. Including a list searches only among its CNPJs; excluding leaves those CNPJs out. See Use a list as a filter.

Value limits

Each filter takes values in one format. A value outside it is turned down in the editor or, when it comes through the page address, ignored.

FilterWhat it takes
Words in names, Words in legal name and Words in trade nameWords of up to 60 characters
Street, Address details and DistrictValues of up to 120 characters. Repeated spaces become one
NumberUp to 20 characters, kept in capitals, such as S/N or 120A
CNPJ rootThe first 8 characters of the CNPJ, letters or digits, with or without punctuation
Postal code8 digits, with or without the hyphen
Area code2 digits, no zero
PhoneA Brazilian number with its area code, of 8 or 9 digits, with or without the 55 country code
E-mail domainA domain, such as company.example. A leading @ or www. is removed
E-mailA valid e-mail address
Share capitalWhole amounts in reais, up to 12 digits on each side
Date filtersDates that exist on the calendar

In typed values, the comma separates values and cannot be part of any of them. A hyphen at the start of a word, an address part or an e-mail is dropped, because in the page address it marks an exclusion. Ranges and dates hold a single period per filter.

Filters in the page address

The page address holds the whole search, so you can build a search by hand or adjust a link. The same format works on a view’s page and on a list’s page.

  • The search term goes in search, and the results page in offset: offset=50 is the second page.
  • Each filter uses the parameter from the filter tables. For several values, repeat the parameter: state=SP&state=RJ.
  • An exclusion takes a hyphen before the value, such as activity=-4711302, and only works on filters that accept exclusions.
  • Ranges and dates use from..to, and one of the sides may stay empty: opened=2026-01-01.. or capital=..100000. Dates follow the YYYY-MM-DD format.
  • Codes go without punctuation: CNAE 5611201, city by its IBGE code (3550308), CEP 01452922, legal nature 2062.
  • Phones go as digits only, with the area code, such as phone=11987654321.
  • A value outside the format is ignored without notice.

Options filters use these codes:

ParameterCodes
statusACTIVE (Active), SUSPENDED (Suspended), NONCOMPLIANT (Noncompliant), CLOSED (Closed) and VOID (Void)
typeHEAD (Head office) and BRANCH (Branch)
sizeMICRO (Micro company), SMALL (Small company) and OTHER (Other)
tax-regimeACTUAL_PROFIT (Actual Profit), PRESUMED_PROFIT (Presumed Profit), ARBITRATED_PROFIT (Arbitrated Profit), SIMPLES_NACIONAL (Simples Nacional), SIMPLES_NACIONAL_HYBRID (Simples Hybrid), SIMPLES_NACIONAL_SIMEI (MEI) and NOT_APPLICABLE (Not Applicable)
stateThe state abbreviation, such as SP
phone-typeMOBILE (Mobile) and LANDLINE (Landline)
email-typeCORPORATE (Corporate), CONSUMER (Consumer), ACCOUNTING (Accounting), GOVERNMENT (Government) and ACADEMIC (Academic)

For example, /en-us/establishments?status=ACTIVE&state=SP&activity=5611201&opened=2026-01-01.. brings the active restaurants in SP opened since January 1, 2026.

In the API

In the API, filters have other names: the field path followed by an operator, such as address.state.in instead of state. The full list is in Filters, on the CNPJ search and lists page. Address filters follow the app’s rule: address.street, address.number, address.details and address.district compare the whole value and accept only in and nin.

Informational content that may change without notice. It is not tax, accounting or legal advice, and CNPJá's terms and policies prevail over this page.