curl --request GET \
--url https://api.pruff.com/api/clients/businesses \
--header 'x-api-key: <api-key>'import requests
url = "https://api.pruff.com/api/clients/businesses"
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/businesses', 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/businesses",
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/businesses"
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/businesses")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pruff.com/api/clients/businesses")
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{
"data": [
{
"identifier": "76111111-6",
"name": "Comercial Ejemplo SpA",
"relation": [
"client"
],
"isEnrolled": true,
"siiStatus": "ACTIVE",
"origin": "myAccounts",
"email": "contacto@example.com",
"address": {
"street": "Av. Ejemplo 1234",
"commune": "Providencia",
"province": "Santiago",
"region": "Región Metropolitana"
},
"economicSector": "Comercio al por mayor y al por menor",
"economicSubsector": "Comercio al por mayor",
"economicActivity": "Venta al por mayor de alimentos",
"economicActivityCode": "463000",
"salesBracket": 6,
"companySize": "small",
"tags": [
"Prioritario"
],
"executives": [
{
"name": "Ana Pérez",
"email": "ana.perez@example.com"
}
],
"createdAt": "2026-03-02T12:00:00.000Z"
}
],
"pagination": {
"total": 1,
"page": 1,
"pageSize": 10,
"totalPages": 1
}
}Listar empresas
Obtiene las empresas de tu cartera y de tu pipeline comercial, clientes y prospectos, con su ficha. Son las mismas empresas de la pestaña Empresas del CRM, y la ficha trae los datos de la pestaña Resumen del perfil de cada empresa: email, dirección, sector y actividad económica, tramo de ventas, tags y ejecutivos.
Ves todas las empresas de tu empresa, sin importar el ejecutivo. Para acotarlas usa los filtros businessIdentifier, executiveEmail, tag, isEnrolled y relation; se combinan con una condición “y”. Una empresa eliminada de tu cartera no aparece, salvo que siga en el pipeline.
Si nadie abrió todavía el perfil de una empresa en Pruff, la ficha se arma con la información tributaria más reciente que Pruff tiene de ella, y economicActivityCode viene en null. Solo se entrega la actividad económica principal, no la lista completa de giros.
Los registros vienen ordenados por nombre de la empresa. El servicio está paginado y el tamaño máximo de página es 500. Cualquier query param que no esté en esta lista responde un error 400.
curl --request GET \
--url https://api.pruff.com/api/clients/businesses \
--header 'x-api-key: <api-key>'import requests
url = "https://api.pruff.com/api/clients/businesses"
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/businesses', 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/businesses",
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/businesses"
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/businesses")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pruff.com/api/clients/businesses")
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{
"data": [
{
"identifier": "76111111-6",
"name": "Comercial Ejemplo SpA",
"relation": [
"client"
],
"isEnrolled": true,
"siiStatus": "ACTIVE",
"origin": "myAccounts",
"email": "contacto@example.com",
"address": {
"street": "Av. Ejemplo 1234",
"commune": "Providencia",
"province": "Santiago",
"region": "Región Metropolitana"
},
"economicSector": "Comercio al por mayor y al por menor",
"economicSubsector": "Comercio al por mayor",
"economicActivity": "Venta al por mayor de alimentos",
"economicActivityCode": "463000",
"salesBracket": 6,
"companySize": "small",
"tags": [
"Prioritario"
],
"executives": [
{
"name": "Ana Pérez",
"email": "ana.perez@example.com"
}
],
"createdAt": "2026-03-02T12:00:00.000Z"
}
],
"pagination": {
"total": 1,
"page": 1,
"pageSize": 10,
"totalPages": 1
}
}