Skip to main content
POST
Looks up a Brazilian company by CNPJ in the Receita Federal register: legal and trade name, registration status, founding date, legal nature, main activity and head-office state. Didit exposes this service through POST /v3/database-validation/ so you can verify the submitted data against the authoritative source and receive normalized match results.

Coverage

  • Coverage: ~ 100%
  • Country: Brazil
  • Service ID: bra_company_registry
  • Data domain: Government
  • Category: CompanyRegister

Inputs

  • Required inputs: company_registration_number
  • Optional inputs: vendor_data
  • Consent: Not required
  • Workflow availability: Available in workflow with field mapping
  • Coverage: ~ 100%
  • Price: $0.20 per successful query
In a workflow, company_registration_number is not printed on an identity document, so no step produces it on its own. Collect it from a Questionnaire answer, a Document AI extraction field, or a value you send when you create the session, and map it on the Database Validation step. Until it is mapped the workflow editor shows this service disabled and names the missing input; at run time a missing input means the check is skipped before any query, so you are never billed for a database that could not be asked.

Body parameters

string
default:"BRA"
required
ISO 3166-1 alpha-3 country code for this database service.Example: BRA
string
default:"bra_company_registry"
required
Array containing this service ID. Pinning the service keeps the request scoped to this exact database.Example: bra_company_registry
string
default:"11222333000181"
required
company_registration_number value required by this database service.Example: 11222333000181
string
default:"user-1234"
Your stable user reference for this person, such as your internal user ID. Didit uses it to link standalone checks to the same end user and reduce duplicate-detection noise.Example: user-1234

Input rules & validation notes

  • company_registration_number must match \d{2}\.?\d{3}\.?\d{3}/?\d{4}-?\d{2}.

How to call it

Returned data

The exact fields surfaced in source_data depend on what the registry returns. The generated example for bra_company_registry currently documents this normalized shape:
  • company_name
  • company_status
  • company_status_date
  • headquarters_state
  • identification_number
  • legal_nature
  • main_activity
  • main_activity_code
  • registration_date
  • registration_number
  • trade_name

Pricing & SLAs

Brazil - Company Registry Lookup (CNPJ) queries are billed only when Didit receives a conclusive result from the validation source.
  • Per-call price: $0.20 USD.
  • Billing: per successful query. You are not charged when the registry is unreachable, when required fields are missing, or when the request is rejected before reaching the source.
  • Latency: typical p95 < 2 s.
  • Availability: 99.9% per quarter on Didit’s side; downstream source availability varies by country and dataset.

Continue reading