Company Information - Mexico
Descriptionβ
Retrieve comprehensive company information from Mexico including business and commercial names, complete address, contact details, company size, sales range, and economic activity (NAICS).
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 | MEX (Mexico) |
| taxID | β | object | Tax identification object |
| taxID.identityNumber | β | string | Tax identification number |
| taxID.checkDigit | β | string | Not applicable for Mexico |
| companyName | β | string | Company name (required if searchType=2) |
| searchType | β | number | 1 (by tax ID) or 2 (by company name) |
| authToken | β | string | Token access for request |
Request exampleβ
{
"country": "MEX",
"taxID": {
"identityNumber": "",
"checkDigit": ""
},
"companyName": "GRUPO BIMBO S A B DE C V",
"searchType": 2,
"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": "1289578405535162368",
"data": {
"result": 1,
"companyList": [
{
"id": 1449,
"companyName": "IMAGEN CLΓNICA EXPRESS SC",
"commercialName": "CLΓNICA DENTAL MΓTRICAS DENTALES",
"address": "CALLE PRESIDENTE IGNACIO COMONFORT 9317 A",
"colonia": "ZONA URBANA RΓO TIJUANA",
"municipio": "Tijuana",
"state": "BAJA CALIFORNIA",
"postalCode": "22010",
"phone": "6646341614",
"email": null,
"employeesRange": "0 a 5 personas",
"salesRange": "Hasta $4MM",
"companySize": "Micro",
"naicsCode": "621511",
"economicActivity": "Laboratorios mΓ©dicos y de diagnΓ³stico del sector privado",
"latitude": "32.5289454",
"lenght": "-117.0253665",
}
]
}
}
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 |