curl --request GET \
--url https://api.pruff.com/api/clients/datahub/{identifier}/stakeholderProfile \
--header 'x-api-key: <api-key>'import requests
url = "https://api.pruff.com/api/clients/datahub/{identifier}/stakeholderProfile"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.pruff.com/api/clients/datahub/{identifier}/stakeholderProfile', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.pruff.com/api/clients/datahub/{identifier}/stakeholderProfile",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.pruff.com/api/clients/datahub/{identifier}/stakeholderProfile"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.pruff.com/api/clients/datahub/{identifier}/stakeholderProfile")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pruff.com/api/clients/datahub/{identifier}/stakeholderProfile")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"identifier": "76111111-6",
"buroData": {
"lastUpdate": "2026-10-15T13:20:11.000Z",
"totalDebt": 0,
"totalDocuments": 0,
"unit": "CLP"
},
"debtData": {
"lastUpdate": "2026-10-15T13:20:14.000Z",
"period": "2026-08",
"unit": "CLP_THOUSANDS",
"directaVigente": 152340,
"directaMorosa": 0,
"directaVencida": 0,
"directaComercial": 98210,
"leasingVigente": 12500,
"leasingMorosa": 0,
"creditoDisponible": 45000
},
"bankruptcyData": [],
"factoringData": {
"documentsTotal": 8,
"onDateDocuments": 5,
"inArrearDocuments": 1,
"paidDocuments": 2,
"payDaysAverage": 52.5,
"payDaysMin": 45,
"payDaysMax": 60,
"operationDatePayDaysAverage": 41,
"operationDatePayDaysMin": 38,
"operationDatePayDaysMax": 44,
"amounts": [
{
"currency": "CLP",
"total": 25480000,
"paid": 6120000
}
]
},
"confirmingData": {
"documentsTotal": 0,
"onDateDocuments": 0,
"inArrearDocuments": 0,
"paidDocuments": 0,
"payDaysAverage": null,
"payDaysMin": null,
"payDaysMax": null,
"operationDatePayDaysAverage": null,
"operationDatePayDaysMin": null,
"operationDatePayDaysMax": null,
"amounts": []
},
"creditData": {
"documentsTotal": 0,
"onDateDocuments": 0,
"inArrearDocuments": 0,
"paidDocuments": 0,
"payDaysAverage": null,
"payDaysMin": null,
"payDaysMax": null,
"operationDatePayDaysAverage": null,
"operationDatePayDaysMin": null,
"operationDatePayDaysMax": null,
"amounts": []
}
}{
"message": "invalid_union",
"displayMessage": "El RUT o Nit ingresado no es válido.",
"data": {
"errors": [
{
"path": "identifier",
"message": "El RUT o Nit ingresado no es válido.",
"code": "invalid_union"
}
]
}
}{
"message": "Unauthorized: Invalid API Key"
}{
"message": "BUSINESS_NOT_FOUND",
"displayMessage": "No se encontró la empresa indicada"
}{
"message": "Rate limit exceeded: 501 requests in the current 60s window, limit is 500. Retry in 12s.",
"displayMessage": "Superaste el límite de 500 solicitudes cada 60 segundos. Vuelve a intentarlo en 12 segundos.",
"data": {
"code": "RATE_LIMIT_EXCEEDED",
"scope": "All API keys of your company share this budget.",
"limit": 500,
"used": 501,
"windowSeconds": 60,
"retryAfterSeconds": 12,
"resetAt": "2026-11-04T15:00:12.000Z",
"hint": "Wait until resetAt (or honor the Retry-After header) before retrying. Avoid repeating identical requests: reuse responses you already fetched, use filters and larger pageSize values instead of one request per item, and cap your client concurrency."
}
}{
"message": "Internal server error"
}{
"message": "request_timeout",
"displayMessage": "La solicitud excedió el tiempo máximo permitido"
}Obtener perfil del deudor
Devuelve en una sola llamada el perfil de un deudor: resumen de morosidad del buró, deuda del cliente, procesos concursales en que aparece y comportamiento de pago en las operaciones de tu empresa, separado por producto (factoring, confirming y crédito). La información de buró y de deuda se lee de la última consulta guardada en Pruff; el endpoint no gatilla consultas nuevas a fuentes externas. El RUT debe existir como empresa en Pruff. Con pocos datos, los bloques de producto vienen con contadores en 0 y promedios en null.
curl --request GET \
--url https://api.pruff.com/api/clients/datahub/{identifier}/stakeholderProfile \
--header 'x-api-key: <api-key>'import requests
url = "https://api.pruff.com/api/clients/datahub/{identifier}/stakeholderProfile"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.pruff.com/api/clients/datahub/{identifier}/stakeholderProfile', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.pruff.com/api/clients/datahub/{identifier}/stakeholderProfile",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.pruff.com/api/clients/datahub/{identifier}/stakeholderProfile"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.pruff.com/api/clients/datahub/{identifier}/stakeholderProfile")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pruff.com/api/clients/datahub/{identifier}/stakeholderProfile")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"identifier": "76111111-6",
"buroData": {
"lastUpdate": "2026-10-15T13:20:11.000Z",
"totalDebt": 0,
"totalDocuments": 0,
"unit": "CLP"
},
"debtData": {
"lastUpdate": "2026-10-15T13:20:14.000Z",
"period": "2026-08",
"unit": "CLP_THOUSANDS",
"directaVigente": 152340,
"directaMorosa": 0,
"directaVencida": 0,
"directaComercial": 98210,
"leasingVigente": 12500,
"leasingMorosa": 0,
"creditoDisponible": 45000
},
"bankruptcyData": [],
"factoringData": {
"documentsTotal": 8,
"onDateDocuments": 5,
"inArrearDocuments": 1,
"paidDocuments": 2,
"payDaysAverage": 52.5,
"payDaysMin": 45,
"payDaysMax": 60,
"operationDatePayDaysAverage": 41,
"operationDatePayDaysMin": 38,
"operationDatePayDaysMax": 44,
"amounts": [
{
"currency": "CLP",
"total": 25480000,
"paid": 6120000
}
]
},
"confirmingData": {
"documentsTotal": 0,
"onDateDocuments": 0,
"inArrearDocuments": 0,
"paidDocuments": 0,
"payDaysAverage": null,
"payDaysMin": null,
"payDaysMax": null,
"operationDatePayDaysAverage": null,
"operationDatePayDaysMin": null,
"operationDatePayDaysMax": null,
"amounts": []
},
"creditData": {
"documentsTotal": 0,
"onDateDocuments": 0,
"inArrearDocuments": 0,
"paidDocuments": 0,
"payDaysAverage": null,
"payDaysMin": null,
"payDaysMax": null,
"operationDatePayDaysAverage": null,
"operationDatePayDaysMin": null,
"operationDatePayDaysMax": null,
"amounts": []
}
}{
"message": "invalid_union",
"displayMessage": "El RUT o Nit ingresado no es válido.",
"data": {
"errors": [
{
"path": "identifier",
"message": "El RUT o Nit ingresado no es válido.",
"code": "invalid_union"
}
]
}
}{
"message": "Unauthorized: Invalid API Key"
}{
"message": "BUSINESS_NOT_FOUND",
"displayMessage": "No se encontró la empresa indicada"
}{
"message": "Rate limit exceeded: 501 requests in the current 60s window, limit is 500. Retry in 12s.",
"displayMessage": "Superaste el límite de 500 solicitudes cada 60 segundos. Vuelve a intentarlo en 12 segundos.",
"data": {
"code": "RATE_LIMIT_EXCEEDED",
"scope": "All API keys of your company share this budget.",
"limit": 500,
"used": 501,
"windowSeconds": 60,
"retryAfterSeconds": 12,
"resetAt": "2026-11-04T15:00:12.000Z",
"hint": "Wait until resetAt (or honor the Retry-After header) before retrying. Avoid repeating identical requests: reuse responses you already fetched, use filters and larger pageSize values instead of one request per item, and cap your client concurrency."
}
}{
"message": "Internal server error"
}{
"message": "request_timeout",
"displayMessage": "La solicitud excedió el tiempo máximo permitido"
}Parámetros de ruta
RUT del cliente, sin puntos, con guion y con la K del dígito verificador en mayúscula (por ejemplo 76111111-6). También se acepta un NIT colombiano con el formato XXXXXXXXX-Y. Un identificador que no es un RUT ni un NIT válido responde 400. Envía el RUT con su dígito verificador correcto.
^(\d{1,8}-[\dK]|\d{1,15}-\d)$"76111111-6"
Respuesta
Perfil del deudor.