Skip to main content

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

NAMEREQUIREDTYPEDESCRIPTION
Content-Typestringapplication/json
AuthorizationstringBearer JWT token

Request body parameters

NAMEREQUIREDTYPEDESCRIPTION
countrystringPER (Peru)
taxIDobjectTax identification object
taxID.identityNumberstringRUC number (e.g., "20100057876")
taxID.checkDigitstringNot applicable for Peru
companyNamestringCompany name (required if searchType=2)
searchTypenumber1 (by RUC) or 2 (by company name)

Request example

{
"country": "PER",
"taxID": {
"identityNumber": "20100057876",
"checkDigit": ""
},
"companyName": "",
"searchType": 1
}

Status code responses

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

CodeMessageAdditional Info
E001Bearer token is missing or invalidCheck authorization header
E002Bearer token 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