---
title: "Search EUR-Lex"
method: GET
path: "/v1/sources/eur-lex/search"
tags: ["EUR-Lex"]
---

# Search EUR-Lex

`GET /v1/sources/eur-lex/search`

## Request

- Base URL: `https://api.assyro.com`
- URL: `https://api.assyro.com/v1/sources/eur-lex/search`
- Auth: none declared

Search the consolidated English text of five EU acts, article by article and annex by annex: the Medical Devices Regulation (EU) 2017/745, the IVD Regulation (EU) 2017/746, Directive 2001/83/EC (medicinal products for human use), Regulation (EC) No 726/2004 (centralised procedure, EMA) and the Clinical Trials Regulation (EU) No 536/2014 (mdr = MDR (EU) 2017/745; ivdr = IVDR (EU) 2017/746; dir-2001-83 = Directive 2001/83/EC; reg-726-2004 = Regulation (EC) No 726/2004; ctr-536-2014 = CTR (EU) No 536/2014). Indexed weekly from EUR-Lex; each result gives the article or annex, its chapter, and the date of the consolidated version. Consolidated texts are for information only: only the Official Journal of the European Union is authentic, so state the consolidation date when you cite one. This is not EU guidance (MDCG, EMA guidelines), not implementing or delegated acts, and not national law.

## Query parameters

- `query` string, required: Words to find in the provisions, e.g. "periodic safety update report" or "Article 61 clinical evaluation". Quoted phrases and OR work.
- `act` 'mdr' | 'ivdr' | 'dir-2001-83' | 'reg-726-2004' | 'ctr-536-2014': Keep only one act: mdr = MDR (EU) 2017/745; ivdr = IVDR (EU) 2017/746; dir-2001-83 = Directive 2001/83/EC; reg-726-2004 = Regulation (EC) No 726/2004; ctr-536-2014 = CTR (EU) No 536/2014.
- `limit` integer: Provisions to return, default 8.
- `offset` integer: Skip this many results (for paging), default 0.

## Response `200`

Matching records.

- SearchResponse
  - `version` unknown, required
  - `source` SourceRef, required
    - `id` string, required
    - `label` string, required
    - `authority` string, required
  - `total` integer, nullable, required: Total matches the source reports, when it says.
  - `records` Record[], required
    - `id` string, required: The source's own identifier for the record.
    - `title` string, required
    - `url` string, required: The record's page at the source, to verify it.
    - `authority` string, required: Who published the record.
    - `snippet` string, nullable, required: The part of the record that matched; null where the licence allows only a link.
    - `publishedDate` string, nullable, required
    - `version` string, nullable, required: The edition or revision read.
    - `fields` object, nullable, required: The source's own fields; null where the licence allows only a link.
    - `asOf` string, nullable, required: The day Assyro's copy of the source was read (YYYY-MM-DD).
    - `attribution` string: The attribution the source's licence requires, on sources that require one.
  - `note` string
  - `summary` string[]

## Other responses

- `400`: The request is not valid: an unknown parameter or an argument the source refuses.
- `404`: No such source or record.
- `429`: Rate limited; retry after the Retry-After header.
- `503`: The source cannot answer from Assyro's copy right now.

---

[API](https://skmtc.dev/assyro/apis/assyro-public-data-api.md) - [All operations](https://skmtc.dev/assyro/apis/assyro-public-data-api/llms.txt) - [OpenAPI document](https://skmtc.dev/assyro/apis/assyro-public-data-api/revisions/c861290c9f47?raw)
