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.
openapi: 3.2.0
info:
title: Nulegal Eu Stats 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 Stats 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: Stats
paths:
/v1/stats:
get:
summary: Stats Totals
description: 'Corpus totals from the nightly snapshot: `laws`, `norms`, `versions`,
`decisions`, `courts`, the two citation-graph sizes, `sources`, `years` and the
published ISO `weeks`, dated by `as_of` and `built_at`. `missing_case_numbers`
(`total`, `linked`, `with_fulltext`) appears once the nightly has computed it, and
`research` (`daily_capacity`, `remaining_today`, `queued`, `waitlisted`) only while
deep research is switched on.
Deprecated keys: `stand`, `erstellt`, `gesetze`, `normen`, `fassungen`,
`entscheidungen`, `gerichte`, `verweise_entscheidung_norm`,
`verweise_entscheidung_entscheidung`, `quellen`, `jahre`, `wochen`, `recherche`
and `vermisste_aktenzeichen` carry the same values as their English twins (the two
blocks with their German inner keys) and are kept only for callers written
against the old names.'
operationId: stats_totals_v1_stats_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- Stats
/v1/stats/week/{iso}:
get:
summary: Stats Week
description: 'One ISO week (''2026-W30''). Serves weeks below the publication threshold too —
the threshold is about not asking Google to index a nine-row page, not about
withholding a number that exists.
`week`, `week_start`, `week_end`, `built_at`, `new_decisions`,
`backfilled_decisions` and `median_lag_days`, then the week''s tables.
Deprecated keys: `woche`, `von`, `bis`, `erstellt`, `neu`,
`altbestand_eingespielt` and `median_verzug_tage` carry the same values and are
kept only for callers written against the old names.'
operationId: stats_week_v1_stats_week__iso__get
parameters:
- name: iso
in: path
required: true
schema:
type: string
title: Iso
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Stats
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)