# 📚 Servicio de Estudios con Cédula (Cédulas SEP)
- Método:
GET - URL de Consumo:
https://consultaunica.mx/api/v2/studies - Compra de paquetes: https://consultaunica.mx/#prices (opens new window)
# Headers (requerido API Key)
{
"x-api-key": "1a2b3c4d5e6f1a2b3c4d5e6f1a2b3c4d5e6f1a2b3c4d5e6f"
}
# Parámetros en URL
cedula = 1418552
# Ejemplo
https://consultaunica.mx/api/v2/studies?cedula=1418552
# ✅ Respuesta exitosa. HTTP 200
{
"title": "LICENCIATURA EN CIENCIAS POLÍTICAS Y ADMINISTRACIÓN PÚBLICA",
"name": "ANDRÉS MANUEL",
"sex": "Hombre",
"registrationEntity": "",
"cedulaType": "C1",
"institution": "UNIVERSIDAD NACIONAL AUTÓNOMA DE MÉXICO",
"fullName": "ANDRÉS MANUEL LÓPEZ OBRADOR",
"paternalName": "LÓPEZ",
"maternalName": "OBRADOR",
"cedula": "1418552",
"registrationYear": 1989
}
# ❌ Error de cédula. HTTP 400
La cédula debe tener entre 1 y 8 caracteres.
{
"message": "{'cedula': ['Length must be between 1 and 8.']}"
}
# ❌ Error desconocido. HTTP 500
{
"message": "Mensaje describiendo el error"
}