nu:legal Norm API
The Norm API from nu:legal — 3 operation(s) for norm.
The Norm API from nu:legal — 3 operation(s) for norm.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.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.curl "https://apis.io/api/v1/apis/nulegal-eu:nulegal-eu-norm-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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.
openapi: 3.2.0
info:
title: Nulegal Eu Norm API
version: '1.0'
contact:
email: contact@nulegal.de
license:
name: CC BY 4.0 (curated layer)
url: https://recht.nulegal.eu/license
termsOfService: https://recht.nulegal.eu/nutzungsbedingungen#terms-en
description: 'Operations tagged Norm across 2 of this provider''s published API definitions: openapi.json, nulegal-eu-openapi.yml. Each path carries the servers of the definition it was published in.'
tags:
- name: Norm
paths:
/v1/norm/{abbrev}/{ref}:
get:
summary: Get Norm
operationId: get_norm_v1_norm__abbrev___ref__get
parameters:
- name: abbrev
in: path
required: true
schema:
type: string
title: Abbrev
- name: ref
in: path
required: true
schema:
type: string
title: Ref
- name: asof
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Asof
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
description: '**Dates** (`date_basis`). `in_force_from` is a date the official source states, `observed_from` the day we first saw the text (or the archive floor); each has its `*_basis`. A version''s date is in one of the two and the other is null; a law can carry both (an EU act: its entry into force, and the day we began watching it). `valid_from` keeps its name; `version.date_basis` says which of the two it is. Schema: `HonestDates`.'
tags:
- Norm
/v1/norm/{abbrev}/{ref}/citing-cases:
get:
summary: Citing Cases
description: 'Decisions that cite this provision, most significant first.
Every court is in scope — Bundesgerichte, Obergerichte and Instanzgerichte alike,
plus the Court of Justice where it cites EU law. The ranking is: how often the
deciding text cites the provision, then the court''s tier, then recency.
**Parameters**
limit rows per page, 1-100, default 10.
offset rows to skip, for reading past the first page. `total` is the full
count, so `offset` up to `total` walks every citing decision.
sort `weight` (default, the ranking above) or `recent`, newest decision
first. The default response is byte-identical to what it was before
this parameter existed.
**`sort=recent` is BOUNDED, and says so when the bound bites.** Ordering a norm''s
citation edges by decision date has no index to walk, so the planner sorts every
edge; past ~20.000 edges it flips to a sequential scan of the whole `caselaw`
table with a ~45 MB external merge. The norm page has run this query under a
citer-count gate and a statement timeout since and this reuses both
(`web._NORM_RECENT_MAX_CITERS`, `web._NORM_RECENT_TIMEOUT_MS`) — 99,95 % of cited
norms are inside the gate; the procedural giants (§ 154 VwGO, § 708 ZPO) are not.
Outside it, or on a timeout, the response falls back to the weight ranking and
SAYS SO in `ranking` — it never serves a weight-ranked list under a label that
claims recency.
**Response**
norm the provision, as "§ 288 BGB"
total how many citing decisions there are in all
offset the offset these rows start at, echoed back
limit the page size in force
cases the page: court, decided, aktenzeichen, ecli, slug, url,
`citations` (how often this decision cites the provision) and the
first 300 characters of its Leitsatz
ranking present ONLY when a `sort` was asked for: `sort` is the ordering
actually served, and `requested_sort`/`sort_note` appear when that is
not the one asked for
coverage present ONLY when `total` is 0 for a Land whose provisions the
citation index does not link — see below
**A zero that is not a zero.** The citation index is built over every decision held, federal, Land and EU courts alike, and links federal, EU and Land provisions (Bayern 30,601 edges, Brandenburg 9,388 edges, Nordrhein-Westfalen 81,167 edges, Sachsen 3,643 edges; /v1/states has the counts). It links no Hessen provision, so there a `total: 0` carries `coverage: {"state": "none-for-jurisdiction", …}` naming the Land and pointing at the case search.
Rows are also filtered to decisions that have an addressable page here, so `total`
never promises a link `cases` cannot contain.'
operationId: citing_cases_v1_norm__abbrev___ref__citing_cases_get
parameters:
- name: abbrev
in: path
required: true
schema:
type: string
title: Abbrev
- name: ref
in: path
required: true
schema:
type: string
title: Ref
- name: limit
in: query
required: false
schema:
type: integer
maximum: 100
minimum: 1
default: 10
title: Limit
- name: offset
in: query
required: false
schema:
type: integer
maximum: 100000
minimum: 0
default: 0
title: Offset
- name: sort
in: query
required: false
schema:
type: string
maxLength: 20
default: weight
title: Sort
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Norm
/v1/norm/{abbrev}/{ref}/versions:
get:
summary: Norm Versions Route
description: Stored versions of one provision, newest first (listNormVersions).
operationId: norm_versions_route_v1_norm__abbrev___ref__versions_get
parameters:
- name: abbrev
in: path
required: true
schema:
type: string
title: Abbrev
- name: ref
in: path
required: true
schema:
type: string
title: Ref
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- Norm
components:
schemas:
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
x-refined-from:
- openapi.json
- nulegal-eu-openapi.yml
x-provenance:
method: harvested
publisher: nu:legal
source: https://gesetze.nulegal.eu/openapi.json
note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
stamped by stamp-openapi-provenance.py (roadmap#793)