v2

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

Consolidated text of a single article

Return the consolidated text (body_html) of one article of a norm, plus its ELI anchor, version date and the minimal context of the parent norm. The text comes from the consolidated BOE and is re-used under Ley 37/2007 — the official version is boe.es. Informational only — NOT legal advice. Cached 24h. The article number {n} accepts digits plus a bis/ter suffix joined by a hyphen (e.g. 160-bis).

get/api/v1/legal/article/{norm}/{n}

Path parameters

normstring required
Example:ley-de-sociedades-de-capital

Norm slug.

nstring required
Example:318

Article number (digits, optionally with a bis/ter suffix joined by a hyphen).

Response

Consolidated article text

article_numstring required
titlestring
body_htmlstring required

Consolidated article text (HTML) from the BOE, re-used under Ley 37/2007.

eli_anchorstring
version_datestring date nullable
urlstring uri
licensestring
license_urlstring uri
attributionstring
disclaimerstring
generated_atstring date-time

Example response

{
  "article_num": "318",
  "title": "Artículo 318. El acuerdo de reducción del capital social.",
  "eli_anchor": "https://www.boe.es/eli/es/rdlg/2010/07/02/1/con#a318",
  "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."
}