Skip to main content
GET
https://api.fegora.com
/
contribuyente
/
{id}
Consultar un contribuyente por NIT/CUI
curl --request GET \
  --url https://api.fegora.com/contribuyente/{id} \
  --header 'Authorization: Bearer <token>'
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.fegora.com/contribuyente/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
import requests

url = "https://api.fegora.com/contribuyente/{id}"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
{
  "id": "1234567890101",
  "nombre": "PEREZ GARCIA, JUAN ALBERTO",
  "nombreComercial": "PEREZ GARCIA, JUAN ALBERTO"
}
{
"codigo": "FEG_CTRI_OBTE_INEX",
"mensaje": "El contibuyente que intenta obtener no existe o no ha sido actualizado aún por SAT.",
"masInformacion": "https://developer.fegora.com",
"severidad": 2
}
{
"codigo": "FEG_UNAUTHORIZED",
"mensaje": "No está autorizado para acceder a este recurso",
"masInformacion": "https://developer.fegora.com",
"severidad": 2
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

Contribuyente encontrado.

Contribuyente consultado por NIT/CUI (Guatemala). Consulta primero el caché local y luego el servicio del certificador (Digifact).

id
string
required
nombre
string
required
nombreComercial
string