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://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

NAMEREQUIREDTYPEDESCRIPTION
Content-Typestringapplication/json

Request body parameters

NAMEREQUIREDTYPEDESCRIPTION
countrystringBRA (Brazil)
taxIDobjectTax identification object
taxID.identityNumberstringCNPJ number (e.g., "01956548000172")
taxID.checkDigitstringNot applicable for Brazil
companyNamestringCompany name (required if searchType=2)
searchTypenumber1 (by CNPJ) or 2 (by company name)
authTokenstringToken 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

CodeDescription
200OK
400Bad request
401Unauthorized
500Internal 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

CodeMessageAdditional Info
E001Token to do request is missing or invalidCheck authToken parameter
E002Token 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