Get statute text
getNormThe text of one provision (§ or Article) as Markdown. law is the abbreviation ('BGB', 'StGB', 'DSGVO'; Hessen: 'HBO'), ref the number ('573', '3a'). For the text on a past date add as_of (YYYY-MM-DD; versions are held from 2019-06-10; for EU acts, the EMRK and some Landesrecht from the day their held text applies). The answer says how many versions are held (versions_held) and how many decisions cite the provision (cited_by). A version date is not always its Inkrafttreten: date_basis says what it is. For most federal law it is the day the text was first seen here; for an EU act it is the day its text applies (applies_from). With compare_to (YYYY-MM-DD) the answer adds diff, the word diff to the version stored for that date. DATES: each version carries date_basis, in_force_from (a date the source states) and observed_from (first seen here), each with its *_basis; the one we do not hold is null. Example: {"law": "BGB", "ref": "573"}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| law | Yes | Law abbreviation, or a `law_key` (`slug` in search results) when an abbreviation is ambiguous. | |
| ref | Yes | Provision number without § or Art. A sub-unit ('Abs. 1', 'lit. f') is dropped: the whole provision is returned. | |
| as_of | No | Return the version stored for this date. | |
| format | No | 'markdown' (default, compact, quotable) or 'json' for the structured payload. | markdown |
| compare_to | No | Compare with the version stored for this date: the answer adds `diff`, the word diff between the two versions (the older one is `from`), each side with its `date_basis`. |