Conversor IAE CNAE · Schema
CnaeDetail
Detalle de un código CNAE 2025.
CompanyTaxSpainBusiness ClassificationCNAEIAEOpen DataMCP
Properties
| Name | Type | Description |
|---|---|---|
| code | string | Código con puntos. |
| title | stringnull | |
| description | stringnull | |
| category | stringnull | |
| level | integernull | |
| associated_iae | object | Códigos IAE asociados. Plan Profesional, prueba activa o superior: array de códigos. Plan Free (o prueba caducada): objeto `LockedTeaser` con el número real de códigos y sin códigos ni títulos. |
| related_cnae | arraynull | Códigos CNAE relacionados (solo plan Profesional o superior). |
| cnae_2009 | arraynull | Equivalencias CNAE 2009 (solo plan Profesional o superior). |
| keywords | arraynull | Palabras clave. |
| last_updated | stringnull | |
| nace | objectnull | Equivalencia europea NACE Rev. 2.1 del código CNAE 2025, según la tabla oficial de correspondencias del INE. Disponible en todos los planes, incluido el gratuito. `null` si el código no tiene equivale |
| _meta | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/conversoriaecnae-es/json-schema/conversoriaecnae-es-cnae-detail-schema.json",
"title": "CnaeDetail",
"description": "Detalle de un código CNAE 2025.",
"x-generated": "2026-11-04",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/conversoriaecnae-es-openapi.yml#/components/schemas/CnaeDetail",
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "Código con puntos."
},
"title": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"category": {
"type": [
"string",
"null"
]
},
"level": {
"type": [
"integer",
"null"
]
},
"associated_iae": {
"oneOf": [
{
"type": [
"array",
"null"
],
"items": {}
},
{
"$ref": "#/$defs/LockedTeaser"
}
],
"description": "Códigos IAE asociados. Plan Profesional, prueba activa o superior: array de códigos. Plan Free (o prueba caducada): objeto `LockedTeaser` con el número real de códigos y sin códigos ni títulos."
},
"related_cnae": {
"type": [
"array",
"null"
],
"items": {},
"description": "Códigos CNAE relacionados (solo plan Profesional o superior)."
},
"cnae_2009": {
"type": [
"array",
"null"
],
"items": {},
"description": "Equivalencias CNAE 2009 (solo plan Profesional o superior)."
},
"keywords": {
"type": [
"array",
"null"
],
"items": {},
"description": "Palabras clave."
},
"last_updated": {
"type": [
"string",
"null"
]
},
"nace": {
"type": [
"object",
"null"
],
"description": "Equivalencia europea NACE Rev. 2.1 del código CNAE 2025, según la tabla oficial de correspondencias del INE. Disponible en todos los planes, incluido el gratuito. `null` si el código no tiene equivalencia. Atención: la mayoría son equivalencias 1:1, pero España subdivide algunas clases europeas (p. ej. CNAE 41.01 y 41.02 corresponden ambas a NACE 41.00).",
"properties": {
"code": {
"type": "string",
"description": "Código NACE con puntos."
},
"revision": {
"type": "string",
"enum": [
"NACE Rev. 2.1"
],
"description": "Versión de la NACE emparejada con la CNAE 2025."
},
"fuente": {
"type": "string",
"format": "uri",
"description": "Fuente primaria (INE) de la que se generó la correspondencia."
}
}
},
"_meta": {
"$ref": "#/$defs/Meta"
}
},
"$defs": {
"LockedTeaser": {
"type": "object",
"description": "Campo de correspondencia bloqueado en respuestas Free: muestra que existe y cuántos códigos contiene, sin revelar ninguno.",
"required": [
"locked",
"count",
"upgrade_url"
],
"properties": {
"locked": {
"type": "boolean",
"enum": [
true
]
},
"count": {
"type": "integer",
"minimum": 0,
"description": "Número real de códigos asociados."
},
"upgrade_url": {
"type": "string",
"format": "uri"
}
}
},
"Meta": {
"type": "object",
"description": "Metadatos del envelope para endpoints con clave: plan actual, cuota restante y días restantes de la prueba (solo plan trial) y nudge de upgrade a Empresa (solo plan Profesional al ≥80% de cuota).",
"required": [
"plan",
"remaining"
],
"properties": {
"plan": {
"type": "string",
"description": "Plan de la clave (free, trial, profesional, empresa, enterprise). `trial` = prueba Profesional de 14 días sin tarjeta; al terminar, la clave pasa a free."
},
"remaining": {
"type": "integer",
"description": "Peticiones restantes de la cuota diaria."
},
"trial_ends_in_days": {
"type": "integer",
"minimum": 0,
"description": "Días completos que quedan de la prueba Profesional (redondeo hacia arriba). Presente solo con plan `trial`."
},
"upgrade_hint": {
"type": "string",
"description": "Mensaje legible de upgrade a Empresa. Presente solo en plan Profesional al consumir ≥80% de la cuota. Las claves Free ya no reciben este nudge: ven el campo bloqueado (`locked: true`) en `associated_cnae` / `associated_iae`."
},
"upgrade": {
"$ref": "#/$defs/UpgradeMeta"
}
}
},
"UpgradeMeta": {
"type": "object",
"description": "Forma estructurada del nudge de upgrade para renderizar UI nativa. Presente solo en plan Profesional al ≥80% de cuota (nudge a Empresa).",
"properties": {
"hint": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri"
},
"current_plan": {
"type": "string"
},
"recommended_plan": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"daily_limit": {
"type": "integer"
},
"monthly_price_eur": {
"type": "integer"
}
}
},
"daily_limit_after": {
"type": "integer"
},
"price_eur_monthly": {
"type": "integer"
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/conversoriaecnae-es-cnae-detail"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.