Company Information - Peru
Description
Retrieve comprehensive company information from Peru including RUC, business address, contact details, financial data, company size, and economic activity (CIIU).
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
| NAME | REQUIRED | TYPE | DESCRIPTION |
|---|---|---|---|
| Content-Type | ✅ | string | application/json |
| Authorization | ✅ | string | Bearer JWT token |
Request body parameters
| NAME | REQUIRED | TYPE | DESCRIPTION |
|---|---|---|---|
| country | ✅ | string | PER (Peru) |
| taxID | ✅ | object | Tax identification object |
| taxID.identityNumber | ✅ | string | RUC number (e.g., "20100057876") |
| taxID.checkDigit | ❌ | string | Not applicable for Peru |
| companyName | ❌ | string | Company name (required if searchType=2) |
| searchType | ✅ | number | 1 (by RUC) or 2 (by company name) |
Request example
- Search by RUC
- Search by Company Name
{
"country": "PER",
"taxID": {
"identityNumber": "20100057876",
"checkDigit": ""
},
"companyName": "",
"searchType": 1
}
{
"country": "PER",
"taxID": {
"identityNumber": "",
"checkDigit": ""
},
"companyName": "Empresa Ejemplo SAC",
"searchType": 2
}
Status code responses
| Code | Description |
|---|---|
| 200 | OK |
| 400 | Bad request |
| 401 | Unauthorized |
| 500 | Internal server error |
Response 200 status code
{
"traceId": "839d94123c80d233",
"timestamp": "2026-05-12 14:46:54",
"data": {
"result": 1,
"companyList": [
{
"ruc": "20100057876",
"companyName": "FORU PLASTIK S.A",
"status": "ACTIVO",
"condition": "HABIDO",
"type": "SOCIEDAD ANONIMA",
"mainEconomicActivityRev3": "FABRICACION DE PRODUCTOS DE PLASTICOS",
"secondaryEconomicActivity": "NO DISPONIBLE",
"mainEconomicActivityRev4": "FABRICACION DE PRODUCTOS DE PLASTICO",
"numberOfEmployees": "29",
"typeOfInvoicing": "MANUAL",
"typeOfAccounting": "MANUAL/COMPUTARIZADO",
"foreignTrade": "IMPORTADOR",
"ubigeo": "150103",
"department": "LIMA",
"province": "LIMA",
"district": "ATE",
"publicationPeriod": "202601",
"tradeName": "FORU PLASTIK S.A.",
"phone1": "3480558"
}
]
}
}
Response 400 status code
{
"traceId": "542fc743fffda052",
"timestamp": "2025-03-16 11:20:46",
"code": "IDV-4005",
"message": "Bad request - Invalid parameters provided",
"data": null
}
{
"traceId": "b119600cab50a13e",
"timestamp": "2026-05-14 11:14:07",
"code": "DOM-3020",
"message": "Country not supported.",
"data": null
}
{
"traceId": "c13d6580a1cdb859",
"timestamp": "2026-05-14 11:14:32",
"code": "DOM-3005",
"message": "Invalid search type. Supported values are: 1 (search by tax ID) or 2 (search by company name).",
"data": null
}
{
"traceId": "fe3825c82dbbbc85",
"timestamp": "2026-05-14 11:16:47",
"code": "DOM-3009",
"message": "Company name must not be empty.",
"data": null
}
{
"traceId": "4fa5fb999dc5be89",
"timestamp": "2026-05-14 11:17:10",
"code": "DOM-3008",
"message": "Identity Number must not be empty.",
"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": "8f048c4459b1e48e",
"timestamp": "2026-05-14 11:17:40",
"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
| Code | Message | Additional Info |
|---|---|---|
| E001 | Bearer token is missing or invalid | Check authorization header |
| E002 | Bearer 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 |