It Normattiva
v0.2.1Italy — national legislation, from Normattiva's Open Data service (Istituto Poligrafico e Zecca…
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
it_normattiva_search
Search Italian national legislation (laws, decree-laws, legislative decrees, the Constitution, regulations, …) by full-text words, title words, act type and/or date range. Returns matching acts with their act type, title, emanation date, publication (Gazzetta Ufficiale) date kept separate from emanation date, and a constructed `urn` field for chaining into it_normattiva_get_act / it_normattiva_get_article. Pass in_force_on (YYYY-MM-DD) to restrict to acts in force on that date. act_type takes the official Italian label, e.g. "LEGGE", "DECRETO LEGISLATIVO", "DECRETO-LEGGE", "COSTITUZIONE", "R…
| Parameter | Type | Description |
|---|---|---|
act_type | string | Official act-type label, e.g. "LEGGE", "DECRETO LEGISLATIVO", "DECRETO-LEGGE", "COSTITUZIONE", "REGOLAMENTO". |
emanation_date_from | string | YYYY-MM-DD — earliest emanation (enactment) date. |
emanation_date_to | string | YYYY-MM-DD — latest emanation (enactment) date. |
in_force_on | string | YYYY-MM-DD — restrict to acts in force on this date. |
limit | number | Max results per page, 1-100 (default 20). |
offset | number | Results to skip for paging (default 0). |
publication_date_from | string | YYYY-MM-DD — earliest Gazzetta Ufficiale publication date. |
publication_date_to | string | YYYY-MM-DD — latest Gazzetta Ufficiale publication date. |
query | string | Full-text search words, e.g. "protezione dei dati personali". |
title | string | Words to match in the act's title. |
it_normattiva_get_act
Resolve an exact citation (URN:NIR) to an Italian national act — e.g. "urn:nir:stato:decreto.legislativo:2003-06-30;196" (the Privacy Code). Returns the act's title, type, emanation date, Gazzetta Ufficiale publication date (kept separate from emanation and from in-force dates), and the opening text (preamble through the start of Article 1). Pass as_of (YYYY-MM-DD) for the version in force on that date (multivigenza), or original: true for the text as originally enacted — default is the current consolidated text. For a specific article's text, use it_normattiva_get_article instead. Source:…
| Parameter | Type | Description |
|---|---|---|
urn * | string | URN:NIR citation, e.g. "urn:nir:stato:decreto.legislativo:2003-06-30;196", or urn:nir:stato:<tipo.atto>:<yyyy-mm-dd>;<numero> built from an it_normattiva_search result. |
as_of | string | YYYY-MM-DD — the version in force on this date (multivigenza). Omit for the current consolidated text. |
original | boolean | true — return the text as originally enacted, ignoring later amendments. |
it_normattiva_get_article
Get the original-language (Italian) text of one article of an Italian national act, as of a given date. "urn" is the bare act citation (e.g. "urn:nir:stato:decreto.legislativo:2003-06-30;196", from it_normattiva_search or it_normattiva_get_act) and "article" is the article number, e.g. "1", "2", "12-bis". Pass as_of (YYYY-MM-DD) to resolve the version of that article in force on that date (multivigenza) — publication, emanation and in-force-from/until dates all come back as separate fields. original: true returns the article as originally enacted. annex selects an article inside an allegato…
| Parameter | Type | Description |
|---|---|---|
article * | string | Article number, e.g. "1", "2", "12-bis". |
urn * | string | Bare act citation, e.g. "urn:nir:stato:decreto.legislativo:2003-06-30;196" (no article suffix). |
annex | string | Optional allegato (annex) number/identifier, if the article is inside an annex rather than the main body. |
as_of | string | YYYY-MM-DD — the version in force on this date (multivigenza). Omit for the current consolidated text. |
original | boolean | true — return the article as originally enacted, ignoring later amendments. |