cURL
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": "" } }
Retorna datos segun el DNI
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
El dni a consultar
dni response
El código de estado de la respuesta
El estado de la respuesta true o false
Mensaje de la respuesta
Datos detallados de la respuesta
Show child attributes