eurlex_metadata
Retrieve metadata for EU legal acts including dates, in-force status, authors, legal basis, EuroVoc descriptors, and directory codes by providing a CELEX identifier, ELI, or Official Journal reference.
Instructions
Fetches metadata for an EU legal act: document/entry-into-force/end-of-validity dates, in-force status, authors, legal basis (CELEX IDs of the acts it is based on), EuroVoc descriptors, and directory codes. 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) | DEU |
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 | |
| 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 | |
| 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, or null when absent |