Skip to main content
POST
/
ruc
cURL
curl --request POST \
  --url https://api.json.pe/api/ruc \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "ruc": "20552103816"
}
'
{
  "success": true,
  "message": "exito",
  "data": {
    "ruc": "20552103816",
    "nombre_o_razon_social": "AGROLIGHT PERU S.A.C.",
    "estado": "SUSPENSION TEMPORAL",
    "condicion": "HABIDO",
    "departamento": "LIMA",
    "provincia": "LIMA",
    "distrito": "SANTA ANITA",
    "direccion": "PJ. JORGE BASADRE NRO. 158 URB. POP LA UNIVERSAL 2DA ET.",
    "direccion_completa": "PJ. JORGE BASADRE NRO. 158 URB. POP LA UNIVERSAL 2DA ET., LIMA - LIMA - SANTA ANITA",
    "ubigeo_sunat": "150137",
    "ubigeo": [
      "15",
      "1501",
      "150137"
    ],
    "es_agente_de_retencion": "NO",
    "es_agente_de_percepcion": "NO",
    "es_agente_de_percepcion_combustible": "NO",
    "es_buen_contribuyente": "SI"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json
ruc
string
required

El RUC a consultar

Example:

"20552103816"

Response

ruc response

success
boolean

El estado de la respuesta true o false

message
string

Mensaje de la respuesta

data
object

Datos detallados de la respuesta