Brazil Company Risk Score — Registry, Reputation & Protests avatar

Brazil Company Risk Score — Registry, Reputation & Protests

Pricing

from $20.00 / 1,000 companies scored

Go to Apify Store
Brazil Company Risk Score — Registry, Reputation & Protests

Brazil Company Risk Score — Registry, Reputation & Protests

Score any Brazilian company by CNPJ into one auditable risk record: Receita Federal registry status, a distress flag read from the official name, Reclame Aqui reputation, optional São Paulo protests and optional nationwide labor-court debts (CNDT/TST). Honest abstain. Pay per result.

Pricing

from $20.00 / 1,000 companies scored

Rating

0.0

(0)

Developer

MoreLock

MoreLock

Maintained by Community

Actor stats

0

Bookmarked

4

Total users

0

Monthly active users

6 days ago

Last modified

Features

Limited permissions

Share

Brazil Company Risk Score — Registry, Reputation & Protests is an Apify Actor. Score any Brazilian company by CNPJ into one auditable risk record: Receita Federal registry status, a judicial-distress flag read from the official name, Reclame Aqui reputation, optional São Paulo protests, and an optional nationwide labor-court debt lookup (CNDT/TST). Deterministic CNPJ match, transparent weighted score, honest abstain. Pay per result.

Free plan: up to 25 delivered company records per run; paid plans have no result cap. This limit is set by the Actor developer, not Apify.

Across 3 proof runs on 10/11/2026, 5 of 5 items came with risk (run IDs in the fields table). On 15/11/2026 the optional labor-court lookup issued 3 of 3 certificates (run v2Jcgjs6uwvLbHLSs). Last verified: 15/11/2026.

Turn a Brazilian CNPJ into one auditable risk score — official Receita Federal registry status, Reclame Aqui consumer reputation, optional São Paulo protests and optional labor-court debts — matched deterministically, in a single record. Built for KYB, vendor onboarding, credit and due diligence.

🇧🇷 Only need the registry + reputation? Use the source actors: Consulta CNPJ em Lote · Brazil Due Diligence

Fields

Coverage = items with the field filled (Runs measured: kuGcL3s6Y32PIScUp, Y2SF4ZZZRwvq0JoMo, Yc9nbBYjClN2pOoPq; the two labor-court rows come from run v2Jcgjs6uwvLbHLSs, with includeJudicial on).

FieldWhat it isMeasured coverage
tax_idCNPJ, formatted (00.000.000/0000-00).5/5
registry.legal_nameLegal name5/5
registry.statusStatus5/5
risk.scoreRisk score5/5
risk.bandBand5/5
risk.confidenceConfidence5/5
reclame_aqui.reputation_labelRA reputation3/5
reclame_aqui_statusmatched (a page carries this CNPJ) / not_matched (searched and no page carries it - abstention, not proof none5/5
reclame_aqui.total_complaintsComplaints3/5
registry.address.stateUF5/5
litigation.labor.statusLabor-debt certificate result (NEGATIVA / POSITIVA / POSITIVA_COM_EFEITO_NEGATIVA). Only with includeJudicial3/3
cnd.trabalhista.certificate_numberNumber of the CNDT certificate issued by the TST. Only with includeJudicial3/3

How to use

  1. Open the Actor in Apify Console and fill in cnpjs, includeReputation. Tick includeJudicial only for the companies whose labor-court debts you need.
  2. Click Start and follow the log.
  3. Download the result from the Output tab as JSON, CSV or Excel.
  4. To automate: call the API (POST https://api.apify.com/v2/acts/paulovitor18~brazil-company-risk-score/runs), create a schedule in Console, or connect an AI agent through the Apify MCP server (https://mcp.apify.com).

Ready-made examples

Public tasks with ready input; each has its own page with FAQ and numbers from its proof run:

Overview

Give it a list of CNPJs; get back, per company, a transparent composite risk score (0-100) and a band (LOW / MEDIUM / HIGH). The score is never a black box: every component (registration status, registry red flags, reputation, protests, labor-court debts) reports its own sub-score, weight, and the exact reason it contributed. Missing signals lower the confidence instead of being silently treated as zero — so you always know what the score was actually built from.

The CNPJ ↔ company match for reputation is deterministic (the Reclame Aqui record carries the CNPJ in its documents[]), so the actor never attaches the wrong company. When a signal is not available it says so in absent_reason and drops out of the score — honest abstain, never a fabricated value.

Features

  • Transparent, auditable score — per-component breakdown (sub-score + weight + reason), overall band, and a confidence that reflects how many signals were present.
  • Official registry — legal & trade name, registration status, activity (CNAE), legal nature, share capital, size, contacts, full address, owners (QSA).
  • Judicial distress flag — detects bankruptcy (falência/falida), judicial recovery (recuperação judicial), liquidation and intervention embedded in the official Receita name — the signal that catches a bankrupt company still registered as ATIVA. It is name-based only: a company in distress whose official name carries no such flag gets judicial_status.raw: null ("no distress flag in official name").
  • Labor-court debts, nationwide (opt-in) — with includeJudicial, the actor issues the company's CNDT, the labor-debt certificate of the TST, and reads from it whether debts are registered, whether they are enforceable, and how many process numbers the certificate lists. It fills litigation and cnd. Labor courts only: see Labor-court debts.
  • Reclame Aqui reputation — reputation label (RA1000 / GREAT / GOOD / REGULAR / BAD / NOT_RECOMMENDED), score, complaint count, % solved, segment — matched by exact CNPJ, over a Brazilian residential IP.
  • Reputation status, spelled out — reclame_aqui_status separates matched from not_matched (searched, nothing carries this CNPJ) and lookup_failed (the source did not answer: reputation UNKNOWN, not absent).
  • Optional São Paulo protests — CENPROT São Paulo protest existence, count and total value (opt-in, premium).
  • Deterministic matching — exact CNPJ, with an 8-digit root as a second net. Never a fuzzy guess.
  • Honest abstain — every absent component carries an absent_reason and lowers confidence instead of silently scoring 0. Registry lookups that come back not-found, invalid or failed produce no record and are never billed.

Input

{
"cnpjs": ["47960950000121", "18236120000158", "06164253000187"],
"includeReputation": true,
"includeProtesto": false,
"includeJudicial": false,
"maxItems": 1000
}

Output example

Real record, Magazine Luiza (CNPJ 47.960.950/0001-21), default input, trimmed for readability (run Nnopv7HWxS4LVYW7i):

{
"tax_id": "47.960.950/0001-21",
"risk": {
"score": 1,
"band": "LOW",
"confidence": 0.9,
"components": [
{ "name": "registration_status", "present": true, "subscore": 0, "weight": 35, "raw": "ATIVA", "reason": "registration status is ATIVA", "absent_reason": null },
{ "name": "judicial_status", "present": true, "subscore": 0, "weight": 25, "raw": null, "reason": "no distress flag in official name", "absent_reason": null },
{ "name": "registry_flags", "present": true, "subscore": 0, "weight": 10, "raw": 0, "reason": "no registry red flags", "absent_reason": null },
{ "name": "reputation", "present": true, "subscore": 5, "weight": 20, "raw": "GREAT", "reason": "Reclame Aqui reputation GREAT, 89.7% solved, 55296 complaints", "absent_reason": null },
{ "name": "protesto", "present": false, "subscore": null, "weight": 10, "raw": null, "reason": null, "absent_reason": "protest lookup disabled (includeProtesto: false) — excluded from the score" }
],
"missing_components": [
{ "name": "protesto", "weight": 10, "reason": "protest lookup disabled (includeProtesto: false) — excluded from the score" }
],
"reasons": []
},
"registry": {
"tax_id": "47.960.950/0001-21",
"legal_name": "MAGAZINE LUIZA S/A",
"trade_name": "MAGAZINE LUIZA",
"status": "ATIVA",
"founded": "1966-10-24",
"main_activity": { "code": 4713004, "description": "Lojas de departamentos ou magazines, exceto lojas francas (Duty free)" },
"share_capital": 14202162000,
"address": { "city": "FRANCA", "state": "SP" },
"partners": [{ "name": "FREDERICO TRAJANO INACIO RODRIGUES", "role": "Presidente" }]
},
"reclame_aqui": {
"name": "Magazine Luiza - Loja Online",
"shortname": "magazine-luiza-loja-online",
"reclame_aqui_url": "https://www.reclameaqui.com.br/empresa/magazine-luiza-loja-online/",
"reputation_label": "GREAT",
"reclame_aqui_score": "8.2",
"total_complaints": 55296,
"solved_percent": "89.7",
"segment": "Varejo",
"match_type": "exact_cnpj"
},
"reclame_aqui_status": "matched",
"reclame_aqui_note": null,
"protesto": null,
"protesto_note": "protest lookup disabled (set includeProtesto = true to add São Paulo protests)",
"cnd": null,
"litigation": null,
"litigation_note": "labor-court lookup disabled (set includeJudicial = true to add the national CNDT/TST labor-debt signal — civil/federal courts not covered)"
}

confidence: 0.9 says the score was built on 90 of the 100 declared weight points — only the opt-in protest signal was missing. With the default input cnd and litigation are null, and litigation_note says why.

The same kind of record with includeJudicial: true (only the fields that change are shown). The values come from run v2Jcgjs6uwvLbHLSs. That build emitted a single has_outstanding_debts flag; the current version splits it into has_registered_debts and debts_enforceable, so a debt that is suspended or secured is not read as one that can be collected now:

{
"risk": {
"components": [
{ "name": "labor_debts", "present": true, "subscore": 85, "weight": 20, "raw": "POSITIVA", "reason": "outstanding labor-court debts on record (CNDT positive, 4 process(es) listed, TST/BNDT nationwide)", "absent_reason": null }
]
},
"cnd": {
"trabalhista": {
"certificate": "POSITIVE",
"status_raw": "POSITIVA",
"clear_for_bidding": false,
"certificate_number": "97070011/2026",
"issued_at": "15/11/2026, às 01:42:58",
"valid_until": "14/05/2027",
"source": "CNDT / TST"
},
"federal": null,
"state": null
},
"litigation": {
"scope": "labor courts nationwide (TST / BNDT)",
"labor": {
"has_registered_debts": true,
"debts_enforceable": true,
"status": "POSITIVA",
"processes_listed": 4,
"certificate_number": "97070011/2026",
"issued_at": "15/11/2026, às 01:42:58",
"valid_until": "14/05/2027",
"source": "CNDT / TST (Banco Nacional de Devedores Trabalhistas)"
},
"civil": null,
"federal": null
},
"litigation_note": null
}

Parameters

ParameterTypeDefaultDescription
cnpjsarray—CNPJ numbers, formatted or digits-only. One per line.
includeReputationbooleantrueAdd Reclame Aqui reputation to the score.
includeProtestobooleanfalseAdd São Paulo (CENPROT) protests. Slower + adds its own charge. SP state only.
includeJudicialbooleanfalseAdd nationwide labor-court debts (CNDT/TST). Slower + adds its own charge, billed only when a certificate is issued. Labor courts only.
maxItemsinteger1000Stop after this many companies (cost control). With reputation on, 1 to 3 companies took 12 to 14 seconds in the proof runs (kuGcL3s6Y32PIScUp, Y2SF4ZZZRwvq0JoMo, Yc9nbBYjClN2pOoPq); time grows with the list.
includeRawbooleanfalseAttach the full raw registry payload.

How the score works

The final score is the weighted average of the components that are present:

ComponentWeight0 (low risk) → 100 (high risk)
Registration status35ATIVA = 0 · SUSPENSA = 60 · INAPTA = 85 · BAIXADA/NULA = 100
Judicial status (from official name)25none = 0 · judicial recovery = 70 · intervention = 80 · bankruptcy/liquidation = 100
Registry red flags10+34 each: opened < 1 year, no contact, zero share capital
Reclame Aqui reputation20RA1000/GREAT = 0-5 · GOOD = 20 · REGULAR = 50 · BAD = 80 · NOT_RECOMMENDED = 100
São Paulo protests10none = 0 · any on record = 80
Labor-court debts (only with includeJudicial)20NEGATIVA = 0 · positive with negative effects = 35 · POSITIVA = 85

confidence = share of total weight that was actually present. The labor-court component exists only when you turn includeJudicial on: without it the total weight is 100 and nothing about the score changes; with it the total is 120, and a labor lookup that fails counts as 20 missing points. A bankrupt / in-liquidation company (flagged in its official Receita name) or an irregular/defunct registration status (INAPTA, BAIXADA, NULA) forces the band to HIGH regardless of the other signals — note that a bankrupt company often still shows registration status ATIVA, so the name-level judicial flag is what catches it. A positive labor certificate never forces the band by itself.

Labor-court debts (CNDT/TST)

Brazil's Superior Labor Court (TST) keeps the Banco Nacional de Devedores Trabalhistas, a national register of companies that owe money under labor-court rulings in any of the regional labor courts. Anyone can request the certificate for a CNPJ; it is the same document Brazilian public bodies require from bidders. With includeJudicial: true the actor requests that certificate for each company and reads its result:

litigation.labor.statusMeaningSub-score
NEGATIVANo labor-court debt registered for this CNPJ0
POSITIVA_COM_EFEITO_NEGATIVADebts are registered, but suspended or secured in court. The company stays clear for public bidding (cnd.trabalhista.clear_for_bidding: true)35
POSITIVADebts are registered and enforceable. processes_listed is the number of processes the certificate lists (null when the count cannot be read, 0 only for a NEGATIVA)85

What it does not cover: civil, tax and federal courts. State courts such as TJSP and the federal TRFs are not searched, and litigation.civil and litigation.federal are always null. A NEGATIVA here says nothing about lawsuits outside the labor courts, and the certificate lists debts under a final ruling, not every labor claim still being argued.

Read a POSITIVA with the size of the company in mind. In the proof run all three large employers came back positive, listing 4 (Magazine Luiza), 310 (Oi, in judicial recovery) and 533 (Petrobras) process numbers, counted before the actor started removing repeated numbers. The count is the useful part.

When the lookup cannot issue a certificate (the TST server returned an error, the TST did not answer, the captcha was refused, the run ran out of time, the run's maximum charge left no room for it, or a certificate was issued but could not be classified), litigation and cnd stay null, litigation_note says which, the labor_debts component is absent with its absent_reason, and nothing is charged for it.

It takes time. In the proof run two companies took 17 and 24 seconds and one took 262 seconds, because the court's page failed to load seven times before the certificate came through. Companies are served in the order you list them, each planned at no less than about 45 seconds and at most what is left of the run; when a company's share runs out, its labor debts come back UNKNOWN and are not charged, and when the whole run's time runs out, the companies not yet reached produce no record at all (not charged; the run log and status message count them) instead of the run being killed. Keep judicial runs to short lists, or raise the run timeout.

Large companies often cannot be certified. The captcha step works (about 8 in 10 submissions are accepted by the court), but for many large companies the TST server itself fails with an HTTP 500 after the captcha is accepted, on every attempt. In a 22 November 2026 test of 13 CNPJs, the certificate was issued on the first or second attempt for 3 mid-size companies (Nubank, iFood, Stone) and the TST returned HTTP 500 for the other 10, among them Petrobras, Itaú, Vale, Ambev, Bradesco, Banco do Brasil, Magalu, Americanas and Mercado Livre. After three HTTP 500s in a row the actor stops, returns labor debts as UNKNOWN with the reason, and charges nothing. Expect labor_debts to be absent for this kind of company; it is not evidence that they have no debts.

No reputation status

An absent reputation is never scored as a good one. The component simply leaves the weighted average (which lowers confidence), and the record says which absence it is:

reclame_aqui_statusMeaningreclame_aquiEffect on the score
matchedA Reclame Aqui page carries this CNPJ (or its 8-digit corporate root)the reputation objectreputation counts (weight 20)
not_matchedReclame Aqui was searched by CNPJ and by the registry names, and no page carries this CNPJ. Not proof that no page exists — a page registered without a CNPJ, or under another CNPJ of the same group, cannot be matched safelynullexcluded, confidence drops
lookup_failedThe source refused or did not answer. Reputation is UNKNOWN, not absent — re-run to retrynullexcluded, confidence drops, and components[].absent_reason says so
disabledYou set includeReputation: falsenullexcluded, confidence drops

⚠️ matched means a page was found, not that it can be scored. Reclame Aqui publishes no reputation index for pages with very few complaints — the label comes back NO_INDEX with no score and no % solved. Those records keep the page (reclame_aqui with the URL and complaint count) but the reputation component stays absent, with absent_reason saying so, rather than being given a made-up middle value. [Measured on 22 small Brazilian businesses: 6 pages matched, 5 of them NO_INDEX.]

The same rule applies to every component: anything present: false carries an absent_reason, and risk.missing_components lists them together. A failed lookup can never pass for "nothing bad found".

Tips

  • Turn includeReputation off for a registry-only score — the reputation lookup queries Reclame Aqui over a residential IP, which adds time.
  • Use includeProtesto only for the counterparties that matter — it is the slow, premium signal (São Paulo only).
  • Use includeJudicial the same way: a short list of the companies you are about to sign with, not the whole prospect base.
  • Read confidence alongside score: a low-confidence LOW just means few signals were available, not "safe". risk.missing_components tells you exactly which ones and why.
  • reasons[] gives you the human-readable drivers for a review or a report.

Use cases

  • Vendor onboarding / KYB — one score to accept, review, or reject a Brazilian supplier.
  • Credit & risk — a fast pre-screen before pulling a paid bureau report.
  • M&A / due diligence — registry + reputation + protests + labor-court debts in one auditable record.
  • Supplier compliance — check whether a supplier's labor-debt certificate is clear before a contract or a public bid.
  • Marketplace / platform trust — score sellers by CNPJ at scale.
  • Sales qualification — filter a prospect list by company health.
  • AI agents — MCP-ready structured JSON for autonomous due-diligence workflows.

FAQ

Is the score a black box?

No. Every component reports its sub-score, weight, and reason; the final score is a plain weighted average over the present components.

Does it search court lawsuits?

Only labor-court debts, and only when you turn includeJudicial on: the actor reads the TST's national labor-debt certificate for the CNPJ. Civil, tax and federal courts are not searched. Without includeJudicial, the only judicial signal is the distress flag in the official company name.

What if a company has no Reclame Aqui page?

reclame_aqui is null, reclame_aqui_status tells you whether we searched and found nothing (not_matched) or could not ask at all (lookup_failed), and reputation is excluded from the score so confidence drops. No guessing, and a failed lookup is never scored as a clean reputation.

Why is protest São Paulo only?

It uses the CENPROT São Paulo source. Other states are on the roadmap.

Do I pay for failed or invalid CNPJs?

No — not-found, invalid, and failed lookups are never charged. The labor-court lookup is charged only when a certificate is issued; a lookup that fails or runs out of time costs nothing.

Is the CNPJ match reliable?

Yes — it is deterministic (exact CNPJ from the company's own documents[]), never a fuzzy name guess.

How do I run Brazil Company Risk Score — Registry, Reputation & Protests via API, on a schedule or from an AI agent (MCP)?

Brazil Company Risk Score — Registry, Reputation & Protests runs through the Apify API (POST /v2/acts/paulovitor18~brazil-company-risk-score/runs, with the same input JSON as in Console), on a schedule in Console, or from an AI agent connected to the Apify MCP server (https://mcp.apify.com). Results come as JSON, CSV or Excel.

Pricing

How much does Brazil Company Risk Score — Registry, Reputation & Protests cost?

Pay per result, in two events:

EventPriceWhen it is charged
apify-default-dataset-item (Company scored)US$ 0.02Once per company returned with a score
judicial-lookup (Labor-court debt lookup)US$ 0.10Only with includeJudicial, and only when the CNDT certificate is issued

Example: 5 suppliers with includeJudicial on, 4 certificates issued = 5 × 0.02 + 4 × 0.10 = US$ 0.50. If you set a maximum charge per run, the actor skips a labor-court lookup when the remaining budget cannot cover both the certificate and the record it belongs to.

You are not charged for CNPJs that are not in the registry, are invalid, or whose registry lookup failed — those produce no record at all. A record whose reputation or labor-court lookup failed is still a delivered registry record and is charged the US$ 0.02; reclame_aqui_status, litigation_note and the lowered confidence tell you what you got. Enabling includeProtesto runs a dedicated São Paulo protest actor that adds its own pay-per-result charge on top (opt-in only).

MoreLock suite

Changelog

  • 15/11/2026: optional labor-court debts. includeJudicial issues the company's CNDT (TST) and fills litigation and cnd, with a new labor_debts score component that exists only when the option is on. New judicial-lookup event (US$ 0.10), charged only when a certificate is issued. New field litigation_note. With the option off, the score, its confidence and its price are unchanged; records only gain the litigation_note field.
  • 10/11/2026: README revised (no H1, FAQ as H3, measured per-field coverage table and last-verified date). No code or price change.
  • 1.0.7 — Reputation fixed. The Reclame Aqui lookup used to run from a datacenter IP, get blocked, and report the block as "no page registered under this CNPJ" — so the reputation component was absent in every record and the score ran on 70 of its 100 weight points. It now queries Reclame Aqui over a Brazilian residential IP and matches the CNPJ deterministically. New reclame_aqui_status (matched / not_matched / lookup_failed / disabled), absent_reason on every absent component, and risk.missing_components. Measured on the sample in this README: reputation went from 0 of 3 to 2 of 3 companies.
  • 1.0 — First release: registry + reputation + optional São Paulo protests, transparent composite score, deterministic CNPJ match, honest abstain.

Contact

Found a bug or need another signal (civil or federal courts, tax clearance, more states)? Open an issue on the actor's Issues tab.