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://lu0lfdczmd.execute-api.us-west-2.amazonaws.com/api/companies
info
This endpoint requires AWS IAM Signature authentication. Contact IT support to get credentials (ACCESS KEY ID, SECRET ACCESS KEY).
- REGION: us-west-2
- SERVICE: execute-api
Request header parameter
| NAME | REQUIRED | TYPE | DESCRIPTION |
|---|---|---|---|
| Content-Type | ✅ | string | application/json |
Request body parameters
| NAME | REQUIRED | TYPE | DESCRIPTION |
|---|---|---|---|
| country | ✅ | string | BRA (Brazil) |
| taxID | ✅ | object | Tax identification object |
| taxID.identityNumber | ✅ | string | CNPJ number (e.g., "01956548000172") |
| taxID.checkDigit | ❌ | string | Not applicable for Brazil |
| companyName | ❌ | string | Company name (required if searchType=2) |
| searchType | ✅ | number | 1 (by CNPJ) or 2 (by company name) |
| authToken | ✅ | string | Token access for request |
danger
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.
Request example
{
"country": "BRA",
"taxID": {
"identityNumber": "01956548000172",
"checkDigit": ""
},
"companyName": "",
"searchType": 1,
"authToken": "c0444aba-d507-11ea-87d0-0242ac130003"
}
Status code responses
| Code | Description |
|---|---|
| 200 | OK |
| 400 | Bad request |
| 401 | Unauthorized |
| 500 | Internal server error |
Response 200 status code
{
"trackingId": "1289485090194202624",
"data": {
"result": 1,
"companyList": [
{
"id": 289499,
"cnpj": "01956548000172",
"companyName": "NGP CONSULTORIA E FACILITACAO ORGANIZACIONAL - EIRELI",
"streetType": "AVENIDA",
"streetName": "DR ROLAND SIMON",
"streetNumber": "588",
"complementaryAddress": null,
"neighborhood": "JATIUCA",
"municipio": "MACEIO",
"state": "AL",
"postalCode": "57035552",
"phoneNumber1": "82 33558112",
"phoneNumber2": null,
"companysize": "01",
"sales": "70000.00",
"companyTye": "2305",
"cnaeCode": "7020400",
"dateStablished": "1997-06-20",
"contactName": "NADIA TERESINHA PAIM CORSO",
"title": "65",
}
]
}
}
Error codes
| Code | Message | Additional Info |
|---|---|---|
| E001 | Token to do request is missing or invalid | Check authToken parameter |
| E002 | Token expired, contact with your administrator | Contact IT support |
| E101 | Field identityNumber is required | Required when searchType=1 |
| E102 | Field companyName is required and length > 4 characters | Required when searchType=2 |
| E104 | You have exceeded the daily query limit | Limit: 10000 requests/day |
| E106 | Please refine your search. The input returns X results | Only 1 result allowed for BRA |