API Consulta
- GETDNI
- GETRUC
- GETRUC - Establecimientos
- GETRUC - Representante
- GETCarnet de extranjeria
- Integra Facturador PRO
- GETPlaca de vehiculo
- GETSOAT de vehiculo
- GETLicencia de conducir
- GETTipo de Cambio
- POSTConsulta CPE
- GETDescargar XML (SUNAT)
- GETDescargar CDR (SUNAT)
- GETDescargar PDF (SUNAT)
- GETVer GUIA (SUNAT)
- GETVer GUIA XML (SUNAT)
API Consulta
DNI
Retorna datos segun el DNI
GET
/
dni
/
info
/
{dni}
curl --request GET \
--url https://api.factiliza.com/v1/dni/info/{dni} \
--header 'Authorization: Bearer <token>'
{
"status": 200,
"success": true,
"message": "Exito",
"data": {
"numero": "27427864",
"nombres": "JOSE PEDRO",
"apellido_paterno": "CASTILLO",
"apellido_materno": "TERRONES",
"nombre_completo": "CASTILLO TERRONES, JOSE PEDRO",
"departamento": "CAJAMARCA",
"provincia": "CHOTA",
"distrito": "TACABAMBA",
"direccion": "CASERIO PUÑA",
"direccion_completa": "CASERIO PUÑA, CAJAMARCA - CHOTA - TACABAMBA",
"ubigeo_reniec": "060615",
"ubigeo_sunat": "060417",
"ubigeo": [
"06",
"0604",
"060417"
],
"fecha_nacimiento": "",
"sexo": ""
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
El dni a consultar
Response
200
application/json
dni response
The response is of type object
.
curl --request GET \
--url https://api.factiliza.com/v1/dni/info/{dni} \
--header 'Authorization: Bearer <token>'
{
"status": 200,
"success": true,
"message": "Exito",
"data": {
"numero": "27427864",
"nombres": "JOSE PEDRO",
"apellido_paterno": "CASTILLO",
"apellido_materno": "TERRONES",
"nombre_completo": "CASTILLO TERRONES, JOSE PEDRO",
"departamento": "CAJAMARCA",
"provincia": "CHOTA",
"distrito": "TACABAMBA",
"direccion": "CASERIO PUÑA",
"direccion_completa": "CASERIO PUÑA, CAJAMARCA - CHOTA - TACABAMBA",
"ubigeo_reniec": "060615",
"ubigeo_sunat": "060417",
"ubigeo": [
"06",
"0604",
"060417"
],
"fecha_nacimiento": "",
"sexo": ""
}
}