# Search EU Union Register

Search and read EU Union Register records through the Assyro API: the European Commission's Union Register: centrally authorised human and veterinary…

Source: https://www.assyro.com/docs/sources/eu-union-register

`GET https://api.assyro.com/v1/sources/eu-union-register/search`

> **Note:** Preview: `api.assyro.com` is not serving production data yet. This page follows the API's published description and may change before launch.

Search and read EU Union Register records from your own code: the European Commission's Union Register: centrally authorised human and veterinary medicines with their status, authorisation and decision dates and Commission decision numbers, and orphan designations with their orphan market exclusivity as the register states it. Published by European Commission (DG SANTE) ([ec.europa.eu/health/documents/community-register/html/index_en.htm](https://ec.europa.eu/health/documents/community-register/html/index_en.htm)); answered from Assyro's copy, refreshed daily 06:10 UTC.

> **Warning:** Attribution required: every record carries `attribution`. Show it wherever you show the data: "Source: European Commission, Union Register of medicinal products (CC BY 4.0); reformatted by Assyro." See the [terms](https://commission.europa.eu/legal-notice_en).

Example: "When does the orphan market exclusivity for Adcetris end in the EU?"

## Search

`GET https://api.assyro.com/v1/sources/eu-union-register/search` with any of these query parameters. Repeat a parameter for a list (`?phase=PHASE2&phase=PHASE3`). An unknown parameter is refused by name.

### Search parameters

| Field | Type | Required | Description |
|---|---|---|---|
| `query` | string | yes | Words in the name, substance, holder, indication or EU number, e.g. "Adcetris", "brentuximab vedotin", "EU/3/08/595". "quoted phrases", OR and -exclusions work. |
| `collections` | string[] | no | Keep only these collections (any of them). Omit to search all. One of: `human-medicines`, `veterinary-medicines`, `orphan-designations`, `national-procedures`. |
| `dateFrom` | string | no | Earliest authorisation or designation date (the last decision date for an entry without one), YYYY, YYYY-MM or YYYY-MM-DD, inclusive. |
| `dateTo` | string | no | Latest such date, YYYY, YYYY-MM or YYYY-MM-DD (inclusive: "2024" means through 2024-12-31). |
| `sort` | string | no | 'relevance' (default) or 'newest' (latest authorisation or designation first). One of: `relevance`, `newest`. |
| `limit` | integer | no | Records to return, default 8. |
| `offset` | integer | no | Skip this many results (for paging), default 0. |

Each result is a record; read one in full with [Get a record](https://www.assyro.com/docs/sources/eu-union-register/records).

## What a record holds

- `id`, `title`, `url`: the source's identifier, its title and its page at the source, to verify it.
- `authority`, `publishedDate`, `version`: who published it, when, and the edition read.
- `snippet` and `fields`: the matching text and the source's own fields.
- `asOf`: the day Assyro's copy of the source was read.
- `attribution`: the attribution the licence requires.

## Example request

curl:

```bash
curl "https://api.assyro.com/v1/sources/eu-union-register/search?query=Adcetris"
```

Python:

```python
import requests

response = requests.get(
    "https://api.assyro.com/v1/sources/eu-union-register/search",
    params={
        "query": "Adcetris"
    },
)
response.raise_for_status()
print(response.json())
```

JavaScript:

```javascript
const response = await fetch("https://api.assyro.com/v1/sources/eu-union-register/search?query=Adcetris");
const result = await response.json();
```
