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 Platform 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 Platform 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: Platform
paths:
/v1/openapi.json:
get:
tags:
- Platform
summary: R2A Getopenapi
description: '**OpenAPI Document** (`getOpenApi`). This API''s OpenAPI 3.1 document: the same
document as /openapi.json. It lists every live public `/v1` route.
Credits: free.'
operationId: getOpenApi
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'400':
description: Bad Request
content:
application/problem+json: {}
application/json:
schema:
$ref: '#/components/schemas/Problem'
/v1/mcp:
post:
summary: MCP server
operationId: mcp
tags:
- Platform
description: 'The Model Context Protocol endpoint (Streamable HTTP, stateless): POST one JSON-RPC 2.0 message or a batch. The tools, their arguments and the protocol versions are in the discovery document https://recht.nulegal.eu/.well-known/mcp.json and in `tools/list`. GET and DELETE answer 405: there is no server-initiated stream and no session. Free; no key.'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- jsonrpc
- method
properties:
jsonrpc:
type: string
const: '2.0'
id:
type:
- string
- integer
- 'null'
method:
type: string
examples:
- initialize
- tools/list
- tools/call
params:
type: object
responses:
'200':
description: A JSON-RPC response or batch of responses.
content:
application/json: {}
'202':
description: A notification was accepted (no body).
'413':
description: The body is over 1 MB.
components:
schemas:
Problem:
properties:
type:
type: string
title: Type
default: about:blank
title:
type: string
title: Title
status:
type: integer
title: Status
reason:
type: string
title: Reason
detail:
type: string
title: Detail
retryable:
type: boolean
title: Retryable
next:
items:
additionalProperties: true
type: object
type: array
title: Next
default: []
read_as:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Read As
credits_charged:
type: integer
title: Credits Charged
default: 0
type: object
required:
- title
- status
- reason
- detail
- retryable
title: Problem
description: problem+json (RFC 9457) with the lawdb fields.
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)