Follow a KYB
GET/v1/compliance/kyb/{id}
Returns the KYB status (pending, completed or failed) and, when completed, the full result: risk summary, alerts, company sources and each partner. Only the account that created the KYB can read it.
Parameters
- idstringrequired
- In the path. The
screening_idreturned byPOST /v1/compliance/kyb.
Free. The charge happens once, when the KYB completes.
- A KYB that does not exist or belongs to another account returns 404 with the code
KYB_NOT_FOUND. - The
risk_levelvalues:HIGH(company not active; company under judicial or out-of-court reorganization or bankrupt, by the notice in its Federal Revenue name; a confirmed news item of conviction, or 3 or more of accusation or investigation, about the company or a partner; company in CEIS, CNEP or CEPIM, an unfit bidder or in the slave labor registry; partner in CEAF or in the slave labor registry),MEDIUM(active debt from R$ 50,000, a leniency agreement, company opened less than 6 months ago, PEP partner, partner with an unusual age range or who joined an older company recently, or any possible match by name, including the company in international sanctions; and, in the online presence, a disposable email, a free email at a company that is not micro or small, an email domain without MX, unregistered, expired or registered less than 6 months ago; and, when requested, news that links and accuses the company or a partner, below theHIGHcriteria) andLOW(other cases). Government contracts do not change the risk. These are the BrazID default rules. In Compliance → Risk rules, in the dashboard, the account can adjust the severity of each finding and the thresholds (such as the debt amount), andrisk_levelthen follows those rules;default_risk_levelshows the level under the default rules. International sanctions and slave labor found by document are alwaysHIGH. - Federal government contracts are for information only: if the Transparency Portal does not respond, they come with
statusUNAVAILABLEand the KYB completes normally. The same applies to email, domain and website. Every other source is still required. - Email, domain and website come from the email in the Federal Revenue registry, which is sometimes the accountant’s: that is why a domain holder or a website CNPJ from another company is for information only. With no email, or with a free provider email, domain and website come as
NOT_APPLICABLE.
Result fields
- data.statusstring
pending,completedorfailed.- data.credits_chargednumber
- Credits debited. Only when
completed. - data.companyobject
- Company record at request time.
- data.summary.risk_levelstring
LOW,MEDIUMorHIGH.- data.summary.default_risk_levelstring
- Level under the BrazID default rules (same as
risk_levelwhen the account has not changed the rules). - data.summary.rules_versionnumber
- Version of the account risk rules used in the calculation (
0= default rules). - data.summary.has_sanctionsboolean
- Company in CEIS, CNEP or CEPIM or an unfit bidder, or a partner in CEAF or in international sanctions (certain).
- data.summary.has_active_debtsboolean
- Active federal debt of the company or of any partner.
- data.summary.has_pep_partnersboolean
- Any partner is a politically exposed person.
- data.summary.has_possible_matchesboolean
- Some source returned
POSSIBLE_MATCH(name-only search). Verify before deciding. - data.summary.partners_totalnumber
- Partners listed (individual and corporate).
- data.summary.partners_checkednumber
- Individual partners checked (10 at most).
- data.summary.partners_truncatedboolean
trueif there were more individual partners than the checked limit.- data.summary.has_adverse_newsboolean
- Only when news was requested: some news item links and accuses the company or a partner.
- data.alertsarray
- Alerts with
code,severity(HIGH,MEDIUMorLOW, informational),subject(companyorpartner) andpartner_index(position inpartners). With account rules,default_severitycarries the severity under the default rules when it differs. Codes in the table below. - data.detailsobject
- Company sources, each with
status(CLEAR,MATCH,POSSIBLE_MATCH,NOT_APPLICABLE,UNAVAILABLE) andfound:ceis,cnep,tcu_unfit_bidder(withmatches),slave_labor(matcheswithmatch=cnpjorcnpj_root, another establishment of the same company) andpgfn_active_debt(total_amount,records_count,data_base; sums every establishment). Since 2026-11-17 also:cepim(matcheswithreason,agency,agreement,reference_date),leniency(matcheswithmatch=cnpjorcnpj_root,situation,start_date,end_date,agency),international_sanctions(by legal name and trade name; alwaysPOSSIBLE_MATCHwhen listed, withmatchesanddata_base) andgovernment_contracts(for information:count,total_valuein reais,truncatedabove 150 contracts andlatestwithnumber,object,agency,signed_atandvalue). Earlier KYBs do not have these four fields. Online presence (since 2026-11-17, optional):email(domain,provider=corporate,freeordisposable,mx,spf,dmarc),domain(domain,registered,registered_at,expires_at,holder=same_cnpj,same_root,other_company,individualorunknown; only .br publishes the holder, and the document is not returned) andwebsite(url,reachable,https,cnpj_on_page=match,otherorabsent,first_archived_atfrom the Internet Archive). In these,MATCHflags a point of attention. Withoptions.news:news(foundanditems, up to 10, each withurl,title,outlet,published_at,topic,role,same_entity,evidenceandsummary;MATCH= a confirmed item accusing the company). Anything turned off in the request does not appear. - data.partnersarray
- Listed partners:
name,qualification,identifier_type(INDIVIDUAL,COMPANYorFOREIGN),document(masked by the Federal Revenue),age_range,joined_at,checkedand, for checked ones,risk_levelanddetailswithpep,ceaf,pgfn_active_debt,slave_labor,international_sanctionsand, withoptions.news=company_and_partners,news. Without the 6 CPF digits (foreigners), PEP, CEAF and active debt come asNOT_APPLICABLE. - data.not_checkedarray
- What the KYB does not check:
judicial_processes,protests,credit_score,partner_ceis_cnep_tcuand, when present,company_partners. Anything turned off inoptionsis listed too:partner_checks,digital_presence,government_contracts,newsorpartner_news(news requested for the company only). - data.errorobject
- Only when
failed:code(SOURCE_UNAVAILABLEorPROCESSING_FAILED, when processing could not be completed),messageandunavailable_sources. Nothing is charged.
Alert codes
Codes are stable: use them for automated rules. Severity drives the risk (LOW is informational only).
| COMPANY_NOT_ACTIVE | HIGH | The company is not active at the Federal Revenue. |
| COMPANY_JUDICIAL_RECOVERY | HIGH | The company is under judicial reorganization (notice in its Federal Revenue name), even with an active status. |
| COMPANY_EXTRAJUDICIAL_RECOVERY | HIGH | The company is under out-of-court reorganization (notice in its Federal Revenue name). |
| COMPANY_BANKRUPT | HIGH | The company is listed as bankrupt or a bankrupt estate (notice in its Federal Revenue name). |
| COMPANY_CEIS | HIGH | The company is listed in CEIS. |
| COMPANY_CNEP | HIGH | The company is listed in CNEP. |
| COMPANY_TCU_UNFIT_BIDDER | HIGH | The company is an unfit bidder at TCU. |
| COMPANY_SLAVE_LABOR | HIGH | The company (or another of its establishments) is in the slave labor registry. |
| COMPANY_CEPIM | HIGH | The entity is in CEPIM (barred from receiving federal transfers). |
| COMPANY_LENIENCY | MEDIUM | The company (or another of its establishments) has a leniency agreement. |
| COMPANY_POSSIBLE_SANCTIONS | MEDIUM | Possible match of the company in international sanctions, by name only. |
| COMPANY_ADVERSE_NEWS | HIGH / MEDIUM | News that links the company and points to it as accused, investigated or convicted (only with `options.news`): HIGH with a conviction or 3 or more confirmed accusations or investigations, MEDIUM otherwise. Review the source. |
| PARTNER_ADVERSE_NEWS | HIGH / MEDIUM | News that links the partner and points to them as accused, investigated or convicted (only with `options.news` = `company_and_partners`), with the same HIGH and MEDIUM criteria. |
| COMPANY_EMAIL_DISPOSABLE | MEDIUM | The email in the Federal Revenue registry uses a disposable service. |
| COMPANY_FREE_EMAIL | MEDIUM / LOW | Registered email on a free provider (Gmail, Hotmail...): MEDIUM outside micro and small companies, LOW otherwise. |
| COMPANY_EMAIL_NO_MX | MEDIUM | The domain of the registered email does not receive email (no MX record). |
| COMPANY_DOMAIN_NOT_REGISTERED | MEDIUM | The domain of the registered email is not registered. |
| COMPANY_DOMAIN_EXPIRED | MEDIUM | The domain of the registered email has expired. |
| COMPANY_DOMAIN_RECENT | MEDIUM | The email domain was registered less than 6 months ago. |
| COMPANY_NO_EMAIL | LOW | The company has no email in the Federal Revenue registry. |
| COMPANY_EMAIL_NO_AUTH | LOW | The email domain has neither SPF nor DMARC. |
| COMPANY_DOMAIN_OTHER_HOLDER | LOW | The (.br) domain is registered to another company; it may be the accountant or the agency. |
| COMPANY_WEBSITE_OFFLINE | LOW | The website on the email domain did not respond. |
| COMPANY_WEBSITE_OTHER_CNPJ | LOW | The website's home page shows only another company's CNPJ. |
| COMPANY_ACTIVE_DEBT | MEDIUM / LOW | Company active debt: MEDIUM from R$ 50,000. |
| COMPANY_RECENTLY_OPENED | MEDIUM | Company opened less than 6 months ago. |
| PARTNERS_TRUNCATED | LOW | More than 10 individual partners: only the first 10 were checked. |
| PARTNER_CEAF | HIGH | Partner expelled from the federal administration. |
| PARTNER_SLAVE_LABOR | HIGH | Partner in the slave labor registry (6 CPF digits + name). |
| PARTNER_POSSIBLE_SLAVE_LABOR | MEDIUM | Possible slave labor registry match, by name only. |
| PARTNER_POSSIBLE_SANCTIONS | MEDIUM | Possible international sanctions match, by name only. |
| PARTNER_PEP | MEDIUM | Partner is a politically exposed person. |
| PARTNER_ACTIVE_DEBT | MEDIUM / LOW | Partner active debt: MEDIUM from R$ 50,000. |
| PARTNER_UNUSUAL_AGE | MEDIUM | Unusual age range for a partner (up to 20 or over 80). An indication. |
| PARTNER_RECENT_ENTRY | MEDIUM | Partner joined less than 6 months ago in a company older than 2 years. An indication. |
cURL
1curl https://api.brazid.com/v1/compliance/kyb/kyb_4b7e1a9c2d8f6035 \2 -H "x-api-key: $BRAZID_API_KEY"
1const res = await fetch('https://api.brazid.com/v1/compliance/kyb/kyb_4b7e1a9c2d8f6035', {2 headers: { 'x-api-key': process.env.BRAZID_API_KEY },3});4 5const data = await res.json();6console.log(res.status, data);
1import os2import requests3 4res = requests.get(5 "https://api.brazid.com/v1/compliance/kyb/kyb_4b7e1a9c2d8f6035",6 headers={"x-api-key": os.environ["BRAZID_API_KEY"]},7)8 9print(res.status_code, res.json())
1$ch = curl_init("https://api.brazid.com/v1/compliance/kyb/kyb_4b7e1a9c2d8f6035");2curl_setopt_array($ch, [3 CURLOPT_RETURNTRANSFER => true,4 CURLOPT_HTTPHEADER => ["x-api-key: " . getenv("BRAZID_API_KEY")],5]);6 7$data = json_decode(curl_exec($ch), true);8$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
200 OK · completed
1{2 "success": true,3 "data": {4 "screening_id": "kyb_4b7e1a9c2d8f6035",5 "status": "completed",6 "created_at": "2026-11-17T14:00:00.000Z",7 "completed_at": "2026-11-17T14:00:07.000Z",8 "query": {9 "cnpj": "11222333000181",10 "description": "Onboarding de fornecedor"11 },12 "credits_estimated": 30,13 "credits_charged": 30,14 "options": {15 "partners": true,16 "digital_presence": true,17 "government_contracts": true,18 "news": "company"19 },20 "company": {21 "cnpj": "11222333000181",22 "legal_name": "EMPRESA EXEMPLO COMERCIO DE ALIMENTOS LTDA",23 "trade_name": "EXEMPLO ALIMENTOS",24 "status": "ATIVA",25 "status_date": "2015-04-10",26 "opening_date": "2015-04-10",27 "legal_nature": "206-2 - Sociedade Empresária Limitada",28 "company_size": "Empresa de Pequeno Porte (EPP)",29 "share_capital": 250000,30 "main_cnae": {31 "code": "4639701",32 "text": "Comércio atacadista de produtos alimentícios em geral"33 },34 "tax_regime": "SIMPLES_NACIONAL",35 "branch_type": "MATRIZ",36 "address": {37 "city": "SAO PAULO",38 "state": "SP"39 }40 },41 "summary": {42 "risk_level": "MEDIUM",43 "default_risk_level": "MEDIUM",44 "rules_version": 0,45 "has_sanctions": false,46 "has_active_debts": true,47 "has_pep_partners": true,48 "has_possible_matches": false,49 "partners_total": 2,50 "partners_checked": 2,51 "partners_truncated": false,52 "has_adverse_news": false53 },54 "alerts": [55 {56 "code": "COMPANY_ACTIVE_DEBT",57 "severity": "MEDIUM",58 "subject": "company"59 },60 {61 "code": "PARTNER_PEP",62 "severity": "MEDIUM",63 "subject": "partner",64 "partner_index": 065 }66 ],67 "details": {68 "ceis": {69 "status": "CLEAR",70 "found": false71 },72 "cnep": {73 "status": "CLEAR",74 "found": false75 },76 "tcu_unfit_bidder": {77 "status": "CLEAR",78 "found": false79 },80 "slave_labor": {81 "status": "CLEAR",82 "found": false,83 "matches": [],84 "data_base": "2025-10-06"85 },86 "pgfn_active_debt": {87 "status": "MATCH",88 "found": true,89 "total_amount": 80000,90 "records_count": 3,91 "data_base": "2026-09-30"92 },93 "cepim": {94 "status": "CLEAR",95 "found": false,96 "matches": []97 },98 "leniency": {99 "status": "CLEAR",100 "found": false,101 "matches": []102 },103 "international_sanctions": {104 "status": "CLEAR",105 "found": false,106 "matches": [],107 "data_base": "2026-11-17"108 },109 "government_contracts": {110 "status": "MATCH",111 "count": 4,112 "total_value": 318500,113 "truncated": false,114 "latest": {115 "number": "000212025",116 "object": "Fornecimento de café em grãos",117 "agency": "Ministério da Defesa",118 "signed_at": "2025-08-14",119 "value": 96000120 }121 },122 "email": {123 "status": "CLEAR",124 "domain": "cafeexemplo.com.br",125 "provider": "corporate",126 "mx": true,127 "spf": true,128 "dmarc": true129 },130 "domain": {131 "status": "CLEAR",132 "domain": "cafeexemplo.com.br",133 "registered": true,134 "registered_at": "2012-03-08",135 "expires_at": "2027-03-08",136 "holder": "same_cnpj"137 },138 "website": {139 "status": "CLEAR",140 "url": "https://cafeexemplo.com.br/",141 "reachable": true,142 "https": true,143 "cnpj_on_page": "match",144 "first_archived_at": "2012-07-21"145 },146 "news": {147 "status": "CLEAR",148 "found": false,149 "items": [150 {151 "url": "https://example.com/noticias/homonimo",152 "title": "Café Exemplo de outra cidade é multado pelo Procon",153 "outlet": "Portal de Exemplo",154 "published_at": "2026-05-12",155 "topic": "other",156 "role": "accused",157 "same_entity": "possible_homonym",158 "evidence": "Mesmo nome fantasia, mas outra cidade e outro CNPJ.",159 "summary": "Multa do Procon a uma cafeteria com o mesmo nome em outro estado."160 }161 ]162 }163 },164 "partners": [165 {166 "name": "MARIA APARECIDA DA SILVA",167 "qualification": "49-Sócio-Administrador",168 "identifier_type": "INDIVIDUAL",169 "document": "***123456**",170 "age_range": "41 a 50 anos",171 "joined_at": "2015-04-10",172 "checked": true,173 "risk_level": "MEDIUM",174 "details": {175 "pep": {176 "status": "MATCH",177 "found": true178 },179 "ceaf": {180 "status": "CLEAR",181 "found": false182 },183 "pgfn_active_debt": {184 "status": "CLEAR",185 "found": false,186 "total_amount": 0,187 "records_count": 0,188 "data_base": "2026-09-30"189 },190 "slave_labor": {191 "status": "CLEAR",192 "found": false,193 "matches": [],194 "data_base": "2025-10-06"195 },196 "international_sanctions": {197 "status": "CLEAR",198 "found": false,199 "matches": [],200 "data_base": "2026-11-01"201 }202 }203 },204 {205 "name": "JOSE D'AVILA",206 "qualification": "22-Sócio",207 "identifier_type": "INDIVIDUAL",208 "document": "***987654**",209 "age_range": "51 a 60 anos",210 "joined_at": "2018-02-01",211 "checked": true,212 "risk_level": "LOW",213 "details": {214 "pep": {215 "status": "CLEAR",216 "found": false217 },218 "ceaf": {219 "status": "CLEAR",220 "found": false221 },222 "pgfn_active_debt": {223 "status": "CLEAR",224 "found": false,225 "total_amount": 0,226 "records_count": 0,227 "data_base": "2026-09-30"228 },229 "slave_labor": {230 "status": "CLEAR",231 "found": false,232 "matches": [],233 "data_base": "2025-10-06"234 },235 "international_sanctions": {236 "status": "CLEAR",237 "found": false,238 "matches": [],239 "data_base": "2026-11-01"240 }241 }242 }243 ],244 "not_checked": [245 "judicial_processes",246 "protests",247 "credit_score",248 "partner_ceis_cnep_tcu",249 "partner_news"250 ]251 }252}
200 OK · failed
1{2 "success": true,3 "data": {4 "screening_id": "kyb_9d2c5e8a1f7b3046",5 "status": "failed",6 "created_at": "2026-11-17T14:10:00.000Z",7 "completed_at": "2026-11-17T14:10:09.000Z",8 "query": {9 "cnpj": "11222333000181",10 "description": "Onboarding de fornecedor"11 },12 "credits_estimated": 30,13 "company": {14 "cnpj": "11222333000181",15 "legal_name": "EMPRESA EXEMPLO COMERCIO DE ALIMENTOS LTDA",16 "trade_name": "EXEMPLO ALIMENTOS",17 "status": "ATIVA",18 "status_date": "2015-04-10",19 "opening_date": "2015-04-10",20 "legal_nature": "206-2 - Sociedade Empresária Limitada",21 "company_size": "Empresa de Pequeno Porte (EPP)",22 "share_capital": 250000,23 "main_cnae": {24 "code": "4639701",25 "text": "Comércio atacadista de produtos alimentícios em geral"26 },27 "tax_regime": "SIMPLES_NACIONAL",28 "branch_type": "MATRIZ",29 "address": {30 "city": "SAO PAULO",31 "state": "SP"32 }33 },34 "error": {35 "code": "SOURCE_UNAVAILABLE",36 "message": "Could not query: company_pgfn. Nothing was charged. Please submit the KYB again.",37 "unavailable_sources": [38 "company_pgfn"39 ]40 }41 }42}