eurlex_search
Search EU legal acts by title substring (contiguous phrase, case-insensitive). Narrow results with filters for document type, language, or publication date.
Instructions
Searches EU legal acts by title substring (contiguous phrase, case-insensitive — not tokenized full-text search). For topic-based discovery use eurlex_by_eurovoc instead. Broad single-word terms can be slow; narrow with resource_type or date_from/date_to. Supports all 24 official EU languages (pass the Cellar 3-letter code, e.g. DEU, ENG, FRA, POL, SPA); match the query term to the chosen language. Results are newest-first within the fetched sample, not necessarily the globally newest match for very broad queries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results | |
| query | Yes | Title substring to search for, e.g. "artificial intelligence high risk". Matched as a contiguous phrase, case-insensitive. | |
| date_to | No | Filter up to this date, format YYYY-MM-DD | |
| language | No | Language of the title and full text, as a Cellar 3-letter code (any of the 24 official EU languages, e.g. DEU, ENG, FRA, POL, SPA) | DEU |
| date_from | No | Filter from this date onward, format YYYY-MM-DD | |
| resource_type | No | Document type filter: REG=regulation, DIR=directive, DEC=decision, JUDG=judgment, REG_IMPL=implementing regulation, REG_DEL=delegated regulation, RECO=recommendation, ORDER=court order, OPIN_AG=Advocate General opinion | any |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | Number of results in `results` | |
| results | Yes | Matching acts, newest-first within the sample |