v2

latestOpenAPI 3.1.0Source-specific upstream terms; see response catalog metadata2026-07-26139203447.9 KB
Legal

Index of core Spanish mercantile-law norms

Return the catalog of core Spanish mercantile-law norms (codes, laws, royal-decree-legislatives, regulations) structured by OpenMercantil. Each item links to its HTML page (/ley/{slug}) and its norm-detail API (/api/v1/legal/norm/{slug}). LICENSE: consolidated text from the BOE, re-used under Ley 37/2007; the official, authentic version is always boe.es. Informational only — NOT legal advice. Cached 24h. Returns 503 if the legal catalog is not deployed yet.

get/api/v1/legal/norms

Response

Norm index with license/attribution/disclaimer envelope

layerstring required
countinteger required
docsstring uri
licensestring
license_urlstring uri
attributionstring
disclaimerstring
generated_atstring date-time

Example response

{
  "layer": "derecho-mercantil",
  "count": 48,
  "norms": [
    {
      "slug": "ley-de-sociedades-de-capital",
      "short_name": "LSC",
      "norm_type": "real_decreto_legislativo",
      "norm_type_label": "Real Decreto Legislativo"
    }
  ],
  "docs": "https://openmercantil.es/leyes",
  "license": "BOE — Ley 37/2007 (reutilización de la información del sector público)",
  "license_url": "https://www.boe.es/informacion/aviso_legal/index.php",
  "attribution": "Texto consolidado del Boletín Oficial del Estado (BOE), estructurado por OpenMercantil. La versión oficial y auténtica es la publicada en boe.es.",
  "disclaimer": "Contenido meramente informativo. No constituye asesoramiento jurídico ni sustituye al texto oficial consolidado del BOE."
}