DocsToolsget_document
MCP toolPOST /v1/documentRead-only

get_document

Read a law, an article or a decision

Read a document or one part of it in its official wording: a whole short text, one article (element), everything under a chapter, or the text as it stood on a date. One article of a law comes with the leading decisions on it: those cited most by the decisions that cite the article. Long documents come in pieces; the answer says how to continue.

A request

curl -s https://api.pandex.io/v1/document \
  -H "content-type: application/json" \
  -d '{"id": "BGB", "element": "823"}'

The answer

Bürgerliches Gesetzbuch
federal law · 1896-08-18 · in force 2026-11-20– · de · cited by 12694
id de.gii:BJNR001950896 · abbr:de=BGB
https://www.gesetze-im-internet.de/bgb/

Buch 2 Recht der Schuldverhältnisse › Abschnitt 8 Einzelne Schuldverhältnisse › Titel 27 Unerlaubte Handlungen
[art_823] 823 Schadensersatzpflicht (wording in force since 2026-11-20)
(1) Wer vorsätzlich oder fahrlässig das Leben, den Körper, die Gesundheit, die Freiheit, das Eigentum oder ein sonstiges Recht eines anderen widerrechtlich verletzt, ist dem anderen zum Ersatz des daraus entstehenden Schadens verpflichtet.
(2) Die gleiche Verpflichtung trifft denjenigen, welcher gegen ein den Schutz eines anderen bezweckendes Gesetz verstößt. Ist nach dem Inhalt des Gesetzes ein Verstoß gegen dieses auch ohne Verschulden möglich, so tritt die Ersatzpflicht nur im Falle des Verschuldens ein.

Cited by 842 decisions; the ones they cite most:
- 2016-07-28 BVerfG: BVerfG 1. Senat 3. Kammer, Nichtannahmebeschluss, 1 BvR 335/14, 1 BvR 1621/14, 1 BvR 1635/14, 1 BvR 2464/15, 2016-07-28 [de.rii:KVRE416211601] · cited by 3 of them
- 2012-11-13 BGH: BGH 6. Zivilsenat, Urteil, VI ZR 330/11, 2012-11-13 [de.rii:KORE314742012] · cited by 1 of them
- 2025-04-29 BVerfG: BVerfG 2. Senat 3. Kammer, Nichtannahmebeschluss, 2 BvR 1440/23, 2025-04-29 [de.rii:KVRE462052501] · cited by 1 of them
All: get_citations(id="de.gii:BJNR001950896", element="art_823")

The text is what the tool gives a model, and what HTTP gives with ?format=text. The JSON is what HTTP gives without it.

Arguments

idstringrequired
An id from a result, or an identifier or citation: an ECLI, a CELEX number, "BGB", "art. 6:162 BW".
elementstring
The part to read: an element id from a result or outline (art_6:162, par_823, chp_2) or its number as written ("6:162", "823").
atstring
Read the text in force on this day, YYYY-MM-DD. Default: the current text.
historyboolean
With element: also list the periods of every version of it.
casesboolean
With one article of a law: the leading decisions on it. Default true.
fromstring
Continue reading from this element id (given by a previous answer).
langstring
Two-letter language, for texts that exist in several.
max_tokensinteger
Size of the answer in tokens, 200–8000. Default 1500.