Detalle de un código IAE
Changed onDevuelve el detalle de un código IAE (epígrafe). El código admite forma con o sin puntos (501.3 o 5013). Si un código numérico corresponde a varias filas (p. ej. aparece en secciones Empresarial y Profesional), responde 409 con candidates[]; usa ?slug= para desambiguar. En plan Free, associated_cnae es un objeto bloqueado (locked: true, count, upgrade_url) y related_iae se omite; el array completo requiere plan Profesional, prueba Profesional activa o superior. En esos planes la respuesta incluye además cnae_2025_mapping (1:1, 1:n o sin_correspondencia); en plan Free el campo no aparece.
Request
- Base URLhttps://www.conversoriaecnae.es/api/v1
- URLhttps://www.conversoriaecnae.es/api/v1/iae/{code}
- AuthAPI key in header X-API-Key
Path parameters
Código IAE con o sin puntos (p. ej. 501.3 o 5013).
Query parameters
Slug para desambiguar cuando un código numérico mapea a varias filas. 1–120 caracteres, ^[a-z0-9-]+$.
Response
Detalle del código IAE
Example response
{
"code": "501.3",
"cod_integro": "501.3",
"slug": "albanileria-y-pequenos-trabajos-de-construccion",
"seccion_label": "Sección Primera: Actividades Empresariales",
"title": "Albañilería y pequeños trabajos de construcción en general",
"category": "Construcción",
"level": 3,
"modulos_eligible": true,
"associated_cnae": {
"count": 3,
"upgrade_url": "https://www.conversoriaecnae.es/precios"
},
"cnae_2025_mapping": "1:n",
"last_updated": "2026-01-15",
"_meta": {
"plan": "free",
"remaining": 248,
"trial_ends_in_days": 9,
"upgrade_hint": "Estás usando más del 80% de tu cuota diaria de Profesional. Empresa (79€/mes) amplía a 300.000 consultas/mes: https://www.conversoriaecnae.es/precios.",
"upgrade": {
"url": "https://www.conversoriaecnae.es/precios",
"current_plan": "free",
"recommended_plan": {
"id": "profesional",
"label": "Profesional",
"daily_limit": 2000,
"monthly_price_eur": 29
},
"daily_limit_after": 2000,
"price_eur_monthly": 29
}
}
}Changes
- info
added the optional property
to the response with the status
- info
- breaking
added
subschema #1to theresponse propertyoneOflist for the response status - breaking
the
response's property type changed fromarrayto no type for status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- breaking