# Search Health Canada Recalls and Safety Alerts

Search and read Health Canada Recalls and Safety Alerts records through the Assyro API: Health Canada recalls and safety alerts on drugs, medical devices…

Source: https://www.assyro.com/docs/sources/health-canada-recalls

`GET https://api.assyro.com/v1/sources/health-canada-recalls/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 Health Canada Recalls and Safety Alerts records from your own code: Health Canada recalls and safety alerts on drugs, medical devices, natural health products, biologics and other health products (recall class Type I to III, issue, category, last-updated date), cited by Health Canada's record number and notice page. Published by Health Canada ([recalls-rappels.canada.ca/en](https://recalls-rappels.canada.ca/en)); answered from Assyro's copy, refreshed daily 14:10 UTC.

> **Warning:** Attribution required: every record carries `attribution`. Show it wherever you show the data: "Contains information licensed under the Open Government Licence – Canada." See the [terms](https://open.canada.ca/en/open-government-licence-canada).

Example: "Has Health Canada recalled dantrolene for injection?"

## Search

`GET https://api.assyro.com/v1/sources/health-canada-recalls/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 | no | Words that must all appear in the notice's title, product, issue or category, e.g. "dantrolene" or "insulin pen". |
| `product` | string | no | Product name, substring match over the title and product, e.g. "Ozempic". |
| `issue` | string | no | The issue as Health Canada words it, substring match, e.g. "packaging", "labelling", "contamination", "adverse reaction". |
| `category` | string | no | A category, substring match, e.g. "drugs", "natural health products", "biologic", "radiology"; "medical devices" also finds every notice of Health Canada's medical devices branch (filed under their specialty). |
| `recallClass` | string | no | Health Canada's recall class: Type I (a reasonable probability of serious adverse health consequences or death), Type II, Type III. Advisories carry none. One of: `Type I`, `Type II`, `Type III`. |
| `updatedFrom` | string | no | Notices last updated on or after this date, YYYY-MM-DD. |
| `updatedTo` | string | no | Last updated on or before this date, YYYY-MM-DD. |
| `includeArchived` | boolean | no | Include notices Health Canada has archived (default true). false keeps current notices only. |
| `sort` | string | no | relevance (default: current before archived, then most recently updated) or newest (most recently updated first). One of: `relevance`, `newest`. |
| `limit` | integer | no | Notices to return, default 8. total reports every match. |
| `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/health-canada-recalls/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/health-canada-recalls/search?query=dantrolene"
```

Python:

```python
import requests

response = requests.get(
    "https://api.assyro.com/v1/sources/health-canada-recalls/search",
    params={
        "query": "dantrolene"
    },
)
response.raise_for_status()
print(response.json())
```

JavaScript:

```javascript
const response = await fetch("https://api.assyro.com/v1/sources/health-canada-recalls/search?query=dantrolene");
const result = await response.json();
```
