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
{
"trackingId": "1289580121575923712",
"data": {
"result": 1,
"companyList": [
{
"ruc": "20514885398",
"company_name": "ITALCASE SAC",
"status": "ACTIVO",
"condition": "HABIDO",
"type": "SOCIEDAD ANONIMA CERRADA",
"main_economic_activity_rev3": "ACTIVIDADES DE ARQUITECTURA E INGENIERIA",
"secondary_economic_activity": "NO DISPONIBLE",
"main_economic_activity_rev4": "ACTIVIDADES DE ARQUITECTURA E INGENIERIA Y ACTIVIDADES CONEXAS DE CONSULTORIA TECNICA",
"number_of_employees": "NO DISPONIBLE",
"type_of_invoicing": "MANUAL/COMPUTARIZADO",
"type_of_accounting": "MANUAL/COMPUTARIZADO",
"foreign_trade": "IMPORTADOR/EXPORTADOR",
"ubigeo": "150141",
"department": "LIMA",
"province": "LIMA",
"district": "SURQUILLO",
"publication_period": "202601",
"trade_name": "-",
"phone_1": "4402253"
}
]
}
}
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 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 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 |