Consultas Perú
  • Introducción
  • API CONSULTAS
    • DNI
    • RUC
    • TIPO DE CAMBIO
    • PLACA DE VEHICULO
    • LICENCIA DE CONDUCIR
    • CARNET DE EXTRANJERIA
    • ESTABLECIMIENTOS ANEXOS
    • COMISIONES AFP
    • SOAT de vehículo
  • API CONSULTA CPE
    • CONSULTA DOCUMENTO CPE
Con tecnología de GitBook
En esta página
  • Headers
  • Body
  • Response

¿Te fue útil?

  1. API CONSULTAS

DNI

Búsqueda por número de Documento Nacional de Identidad

POST
https://api.consultasperu.com/api/v1/query

Headers

Name
Value

Content-Type

application/json

Body

{
    "token": "tu_token_aqui",
    "type_document":"dni",
    "document_number": "00000000"
}

Response

{
    "success": true,
    "message": "Successful response",
    "data": {
        "number": "00000000",
        "full_name": "Nombre completo",
        "name": "Solo el nombre",
        "surname": "Solo apellidos",
        "date_of_birth": "2005-03-31",
        "department": "Departamento",
        "province": "Provincia",
        "district": "Distrito",
        "address": "Dirección",
        "ubigeo": "000000"
    }
}
{
    "success": false,
    "message": "No data found",
    "data": null
}
{
    "success": false,
    "message": "Invalid Token",
    "data": null
}
AnteriorIntroducciónSiguienteRUC

Última actualización hace 6 meses

¿Te fue útil?