Perú
Endpoint
https://api.verifik.co/v2/pe/company
Recuperar datos de empresa peruana por identificador.
Headers
| Name | Value |
|---|---|
| Accept | application/json |
| Authorization | Bearer <token> |
Parámetros
| Name | Type | Required | Description |
|---|---|---|---|
documentType | string | Yes | Tipo de documento. Parámetro permitido: RUC. |
documentNumber | string | Yes | Identificador de empresa. |
Solicitud
- Node.js
- PHP
- Python
- Go
import axios from "axios";
const { data } = await axios.get("https://api.verifik.co/v2/pe/company", {
params: { documentType: "RUC", documentNumber: "20605980008" },
headers: { Accept: "application/json", Authorization: `Bearer ${process.env.VERIFIK_TOKEN}` },
});
console.log(data);
<?php
$ch = curl_init("https://api.verifik.co/v2/pe/company");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Accept: application/json",
"Authorization: Bearer " . getenv("VERIFIK_TOKEN")
]);
$query = http_build_query([
"documentType" => "RUC",
"documentNumber" => "20605980008"
]);
curl_setopt($ch, CURLOPT_URL, "https://api.verifik.co/v2/pe/company?".$query);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
import os, requests
url = "https://api.verifik.co/v2/pe/company"
headers = {"Accept": "application/json", "Authorization": f"Bearer {os.getenv('VERIFIK_TOKEN')}"}
params = {"documentType": "RUC", "documentNumber": "20605980008"}
r = requests.get(url, headers=headers, params=params)
print(r.json())
package main
import (
"fmt"
"net/http"
)
func main() {
url := "https://api.verifik.co/v2/pe/company?documentType=RUC&documentNumber=20605980008"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Set("Accept", "application/json")
req.Header.Set("Authorization", "Bearer "+getenv("VERIFIK_TOKEN"))
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
fmt.Println(resp.Status)
}
Respuesta
- 200
- 404
- 409
- 401
- 500
{
"data": {
"address": "AV. VICTOR ANDRES BELAUNDE NRO. 332 INT. 702 URB. EL ROSARIO - LIMA LIMA SAN ISIDRO",
"businessName": "MERCADOLIBRE PERU S.R.L.",
"conditionTaxpayer": "HABIDO",
"district": "SAN ISIDRO",
"documentNumber": "20605980008",
"documentType": "RUC",
"nameVia": "VICTOR ANDRES BELAUNDE",
"province": "LIMA",
"simpleaddress": "AV. VICTOR ANDRES BELAUNDE NRO. 332 INT. 702 URB. EL ROSARIO",
"state": "LIMA",
"stateTaxpayer": "ACTIVO",
"zoneCode": "URB.",
"zoneType": "EL ROSARIO"
},
"signature": {
"dateTime": "October 10, 2025 5:35 PM",
"message": "Certified by Verifik.co"
},
"id": "RLS8G"
}
{
"code": "NotFound",
"message": "Record not found."
}
{
"code": "MissingParameter",
"message": "documentType must be one of: [RUC]"
}
{
"code": "MissingParameter",
"message": "missing documentNumber\n"
}
{
"code": "MissingParameter",
"message": "missing documentType\n"
}
{
"message": "Authentication required",
"code": "UNAUTHORIZED"
}
{
"code": "InternalServerError",
"message": "Server error."
}
Notas
- Contacta al soporte para campos completos del dataset.