Skip to main content

Company Information - Brazil

Description​

Retrieve comprehensive company information from Brazil including CNPJ, business address, contact details, company size, and financial data.

HTTP method POST​

Endpoint​

https://apidev.msla-id.com/experience-companyinfo-api-v1/api/idv-govcheck/v1/company/search
info

This endpoint requires Bearer Token authentication. Contact IT support to get credentials.

Request header parameter​

NAMEREQUIREDTYPEDESCRIPTION
Content-Type✅stringapplication/json
Authorization✅stringBearer JWT token

Request body parameters​

NAMEREQUIREDTYPEDESCRIPTION
country✅stringBRA (Brazil)
taxID✅objectTax identification object
taxID.identityNumber✅stringCNPJ number (e.g., "01956548000172")
taxID.checkDigit❌stringNot applicable for Brazil
companyName❌stringCompany name (required if searchType=2)
searchType✅number1 (by CNPJ) or 2 (by company name)
WARNING

For Brazil, searches by company name (searchType=2) are allowed only when the result returns exactly 1 company. If multiple results are found, error E106 will be returned.

Name search format

When using searchType=2, the companyName field only accepts letters (A-Z, a-z, ñ, Ñ), numbers (0-9), and spaces. Accents, punctuation marks, and special characters are not allowed.

Examples:

  • ✅ Valid: MARAPA SALUD S A, EMPRESA SRL
  • ❌ Invalid: MARAPA SALUD S.A., EMPRESA-S.A., Café S.A.

Request example​

{
"country": "BRA",
"taxID": {
"identityNumber": "01956548000172",
"checkDigit": ""
},
"companyName": "",
"searchType": 1
}

Status code responses​

CodeDescription
200OK
400Bad request
401Unauthorized
500Internal server error

Response 200 status code​

{
"traceId": "3207632b95289cd1",
"timestamp": "2026-05-11 16:17:32",
"data": {
"result": 1,
"companyList": [
{
"basicCnpj": "01956548",
"cnpjOrder": "0001",
"cnpjDv": "72",
"headquarterBranchIdentifier": "1",
"tradeName": "",
"registrationStatus": "02",
"registrationStatusDate": "20001028",
"registrationStatusReason": "00",
"foreignCityName": "",
"country": "",
"startDateOfActivity": "19970620",
"mainCnae": "7020400",
"secondaryCnae": "6203100,7490199,8550302,8599604",
"streetType": "AVENIDA",
"street": "HAMILTON DE BARROS SOUTINHO",
"number": "1554",
"complement": "",
"neighborhood": "JATIUCA",
"zipCode": "57035690",
"state": "AL",
"municipality": "2785",
"ddd1": "82",
"telephone1": "88347963",
"ddd2": "",
"telephone2": "",
"dddFax": "82",
"fax": "33461681",
"email": "",
"specialSituation": "",
"specialSituationDate": "",
}
]
}
}

Response 400 status code​

{
"traceId": "542fc743fffda052",
"timestamp": "2025-03-16 11:20:46",
"code": "IDV-4005",
"message": "Bad request - Invalid parameters provided",
"data": null
}

Response 400 status code​

{
"traceId": "51ae18b2479f33a1",
"timestamp": "2026-05-13 15:31:32",
"code": "DOM-3020",
"message": "Country not supported.",
"data": null
}
{
"traceId": "4e093b4c56cfa635",
"timestamp": "2026-05-13 16:20:10",
"code": "IDV-3010",
"message": "Identity Number (CNPJ) must contain only numbers.",
"data": null
}
{
"traceId": "1bf75cf7a213570e",
"timestamp": "2026-05-13 18:00:13",
"code": "DOM-3009",
"message": "Company name must not be empty.",
"data": null
}
{
"traceId": "f220cf020aed3a8b",
"timestamp": "2026-05-13 18:00:51",
"code": "DOM-3008",
"message": "Identity Number must not be empty.",
"data": null
}
{
"traceId": "9a24c5ffadd56be0",
"timestamp": "2026-05-13 18:04:21",
"code": "DOM-3005",
"message": "Invalid search type. Supported values are: 1 (search by tax ID) or 2 (search by company name).",
"data": null
}

Response 401 status code​

{
"timestamp": "2025-03-16T11:20:46.000Z",
"status": 401,
"error": "Unauthorized",
"message": "Bearer token is missing or invalid",
"path": "/api/companies"
}

Response 404 status code​

{
"traceId": "2c1acdf9d50cf394",
"timestamp": "2026-05-13 15:11:52",
"code": "IDV-1002",
"message": "Data not found.",
"data": null
}

Response 500 status code​

{
"traceId": "43a20f33d4e8730d",
"timestamp": "2025-03-16 11:20:46",
"code": "IDV-1001",
"message": "A generic error has occurred.",
"data": null
}

Error codes​

CodeMessageAdditional Info
E001Bearer token is missing or invalidCheck authorization header
E002Bearer token expired, contact with your administratorContact IT support
E101Field identityNumber is requiredRequired when searchType=1
E102Field companyName is required and length > 4 charactersRequired when searchType=2
E104You have exceeded the daily query limitLimit: 10000 requests/day
E106Please refine your search. The input returns X resultsOnly 1 result allowed for BRA