Códigos

Detalle de un código IAE

Changed on

Devuelve 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.

get/iae/{code}

Request

  • Base URL
    https://www.conversoriaecnae.es/api/v1
  • URL
    https://www.conversoriaecnae.es/api/v1/iae/{code}
  • Auth
    API key in header X-API-Key

Path parameters

codestring required
Example:5013

Código IAE con o sin puntos (p. ej. 501.3 o 5013).

Query parameters

slugstring
Example:albanileria

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

codestring

Código con puntos.

cod_integrostring nullable
slugstring
seccion_labelstring nullable
titlestring nullable
descriptionstring nullable
categorystring nullable
levelinteger nullable
modulos_eligibleboolean nullable
cnae_2025_mapping'1:1' | '1:n' | 'sin_correspondencia'

Clasificación de la correspondencia del epígrafe con CNAE 2025: 1:1 (un solo código), 1:n (varios) o sin_correspondencia (ninguno). Solo plan Profesional, prueba activa o superior; en plan Free la clave no aparece.

last_updatedstring nullable

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

    • breaking

      added subschema #1 to the response property oneOf list for the response status

    • breaking

      the response's property type changed from array to 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