eurlex_metadata
Retrieves metadata for EU legal acts (dates, status, authors, legal basis, descriptors) using a CELEX ID, ELI, or OJ reference.
Instructions
Fetches metadata for an EU legal act: dates (document, entry into force, application, end of validity, transposition), in-force status, authors, legal basis (CELEX IDs of the acts it is based on), EuroVoc descriptors, and directory codes. date_entry_into_force and date_application are distinct (e.g. the GDPR entered into force on 2016-05-24 but applies from 2018-05-25); dates_effect lists every effect date with its type. Identify the act by celex_id (e.g. "32024R1689"), by eli (e.g. "reg/2016/679" or a full ELI URL), or by oj_ref (post-2023 Official Journal reference, e.g. "OJ:L_202401689") — provide exactly one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| eli | No | European Legislation Identifier (ELI), short or full form, e.g. "reg/2016/679" or "http://data.europa.eu/eli/reg/2016/679/oj" (GDPR). Resolved to a CELEX ID via Cellar. Provide exactly one of celex_id, eli, or oj_ref. | |
| oj_ref | No | Official Journal reference in the post-2023 scheme, e.g. "OJ:L_202401689" (AI Act). Resolved to a CELEX ID via Cellar. Provide exactly one of celex_id, eli, or oj_ref. | |
| celex_id | No | CELEX identifier, e.g. "32024R1689" (AI Act). Provide exactly one of celex_id, eli, or oj_ref. | |
| language | No | Language of the title and EuroVoc labels, as a Cellar 3-letter code (any of the 24 official EU languages, e.g. DEU, ENG, FRA, POL, SPA) | ENG |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| authors | Yes | ||
| celex_id | Yes | ||
| in_force | Yes | In-force status, or null when unknown | |
| eurlex_url | Yes | ||
| legal_basis | Yes | CELEX IDs of the acts this act is based on | |
| dates_effect | Yes | All entry-into-force and application dates Cellar holds for the act, ascending, each with its type and article note. Empty when Cellar holds none. | |
| date_document | Yes | ISO date, or null when absent | |
| resource_type | Yes | ||
| directory_codes | Yes | Directory-code entries as "{code}: {label}", or the bare code when unlabelled | |
| date_application | Yes | ISO date from which the act (or its remaining provisions) applies, or null when the act has no separate application date or the type could not be determined | |
| eurovoc_concepts | Yes | ||
| date_transposition | Yes | ISO date, or null when absent | |
| date_end_of_validity | Yes | ISO date, or null when absent or the open-ended 9999-12-31 sentinel | |
| date_entry_into_force | Yes | ISO date the act entered into force, or null when absent. Distinct from date_application: e.g. the GDPR entered into force on 2016-05-24 but applies from 2018-05-25. See dates_effect for every date Cellar holds. |