---
title: "Index of core Spanish mercantile-law norms"
method: GET
path: "/api/v1/legal/norms"
tags: ["Legal"]
---

# Index of core Spanish mercantile-law norms

`GET /api/v1/legal/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.

## Response `200`

Norm index with license/attribution/disclaimer envelope

- LegalNormsIndexResponse — License/attribution/disclaimer envelope present in every legal-layer response. The legal corpus is consolidated BOE text re-used under Ley 37/2007 (NOT CC BY 4.0).
  - `layer` string, required
  - `count` integer, required
  - `norms` LegalNormSummary[], required
    - `slug` string
    - `title` string
    - `short_name` string, nullable
    - `norm_type` string
    - `norm_type_label` string
    - `in_force` boolean
    - `url` string, uri
    - `api_url` string, uri
  - `docs` string, uri
  - `license` string
  - `license_url` string, uri
  - `attribution` string
  - `disclaimer` string
  - `generated_at` string, date-time

## Other responses

- `429` — Rate limit exceeded
- `503` — Controlled fail-closed denial: the required dataset or legal layer is absent, invalid, unsupported or not authorized for this public surface.

---

[API](https://skmtc.net/openmercantil/apis/openmercantil-public-api.md) · [All operations](https://skmtc.net/openmercantil/apis/openmercantil-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openmercantil/openmercantil-public-api/revisions/996f96a11758/schema)
