[Integrations](https://spiral.ai/integrations) › [Codex](https://spiral.ai/integrations/codex) › [Health Canada drug search](https://spiral.ai/integrations/codex/health-canada-drug-search)

# How to Use Health Canada drug search in Codex

Finds Canadian drug records by brand, ingredient, DIN, therapeutic class, ingredient group, or company. Use it to identify products and their DINs before checking individual product details.

|  |  |
| --- | --- |
| Model | Health Canada drug search |
| Available through | Alexandria |
| Category | Health |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Health Canada drug search in Codex

- Use Health Canada drug search to find semaglutide products currently marketed in Canada, then create a CSV in this project with the returned product names, DINs, and companies.
- Use Health Canada drug search to find atorvastatin calcium products from Apotex, then compare their returned DINs with the drug catalog in this repository.
- Use Health Canada drug search to find products in ATC class L04AB04 and save a research table of the returned names, DINs, companies, and statuses.
- Use Health Canada drug search to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Health Canada drug search and tell me what changed since last week.

## How to set up Health Canada drug search in Codex

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the hosted server**

```bash
codex mcp add spiral --url https://api.spiral.ai/mcp
```

2. **Sign in**: Codex opens the browser: sign in to Spiral and click Authorize. No API key. `codex mcp list` then shows Spiral.

```bash
codex mcp login spiral
```

### Use the Spiral skill

1. **Send Codex this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Health Canada drug search**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "health-products-canada-ca/products/search",
    "input": {
      "query": "<query>"
    }
  }'
```

Then paste one of the prompts above: Codex finds Health Canada drug search on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/codex

## Health Canada drug search tools and prices

- [Health Canada Drug Product Database · Search](https://spiral.ai/tools/alexandria/health-products-canada-ca/products/search) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| limit | 1 to 25 | 10 | Results per page. |
| query |  | — | A brand name or active ingredient (`Ozempic`, `semaglutide`, `atorvastatin calcium`), a DIN (`02471469`), an ATC code or prefix of at least four characters (`L04AB04`, `L04AB`) or a 10-digit AIG number. The kind is inferred. Text matches anywhere in brand names and in active ingredient names, and both result sets are merged. |
| offset | 0 to … | 0 | `next_offset` from the previous page; repeat the same query, company and status with it. |
| status | any, active, marketed, approved, dormant, cancelled | any | `active`: Approved, Marketed or Dormant, the statuses Health Canada counts as active DINs. `cancelled`: every cancelled status plus revoked or expired interim-order authorizations. `any` (default) also includes Restricted Access. |
| company |  | — | Company (DIN owner) name or part of it, e.g. `novo nordisk`, `pfizer canada`. Narrows `query`, or lists a company's products on its own; short generic names such as `pharma` match thousands of products and can time out. |

## What can you do with Health Canada drug search in Codex?

Build a Canadian drug reference table keyed by DIN, with product identity and regulatory status kept together. Use Health Canada records to check catalog entries and review changes in your project's drug data.

### Check a Canadian drug catalog

Find products by brand or ingredient, then verify each DIN's strength, dosage form, route, and status before adding it to a reference catalog.

### Compare company portfolios

Identify drug records associated with Apotex or Pfizer Canada and inspect selected products to compare ingredients, formulations, and regulatory status.

### Research a therapeutic class

Find Canadian products within an ATC class, then review individual records for strengths, routes, and companies. Build a product comparison for market research.

### Monitor regulatory status changes

Repeat an ingredient search or revisit selected DINs on a schedule. Compare saved results to identify newly observed records and changes between approved, marketed, dormant, and cancelled status.

### Check product documentation links

Locate the Canadian products discussed in a drug reference article and inspect their records for available product monograph links.

### Reconcile brand and ingredient names

Search a brand such as Ozempic and compare its records with an ingredient search for semaglutide. Use DINs and product details to keep distinct formulations separate.

### Review older product records

Locate older products and inspect their original market dates and current status. Flag pre-September 1996 records whose December 31 dates may represent only a year.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Codex guides](https://spiral.ai/integrations/codex)

## Health Canada drug search in other agents

- [Amp](https://spiral.ai/integrations/amp/health-canada-drug-search)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/health-canada-drug-search)
- [Claude](https://spiral.ai/integrations/claude-desktop/health-canada-drug-search)
- [Claude Code](https://spiral.ai/integrations/claude-code/health-canada-drug-search)
- [Cline](https://spiral.ai/integrations/cline/health-canada-drug-search)
- [Cursor](https://spiral.ai/integrations/cursor/health-canada-drug-search)
- [Devin](https://spiral.ai/integrations/devin/health-canada-drug-search)
- [dots](https://spiral.ai/integrations/dots/health-canada-drug-search)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/health-canada-drug-search)
- [Gemini](https://spiral.ai/integrations/gemini/health-canada-drug-search)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/health-canada-drug-search)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/health-canada-drug-search)
- [goose](https://spiral.ai/integrations/goose/health-canada-drug-search)
- [Grok](https://spiral.ai/integrations/grok/health-canada-drug-search)
- [Grok Build](https://spiral.ai/integrations/grok-build/health-canada-drug-search)
- [Hermes](https://spiral.ai/integrations/hermes/health-canada-drug-search)
- [Instinct](https://spiral.ai/integrations/instinct/health-canada-drug-search)
- [Manus](https://spiral.ai/integrations/manus/health-canada-drug-search)
- [Muse](https://spiral.ai/integrations/muse/health-canada-drug-search)
- [Muse Code](https://spiral.ai/integrations/muse-code/health-canada-drug-search)
- [n8n](https://spiral.ai/integrations/n8n/health-canada-drug-search)
- [Notion](https://spiral.ai/integrations/notion/health-canada-drug-search)
- [OpenClaw](https://spiral.ai/integrations/openclaw/health-canada-drug-search)
- [opencode](https://spiral.ai/integrations/opencode/health-canada-drug-search)
- [Perplexity](https://spiral.ai/integrations/perplexity/health-canada-drug-search)
- [Raycast](https://spiral.ai/integrations/raycast/health-canada-drug-search)
- [VS Code](https://spiral.ai/integrations/vscode/health-canada-drug-search)
- [Windsurf](https://spiral.ai/integrations/windsurf/health-canada-drug-search)
- [Zapier](https://spiral.ai/integrations/zapier/health-canada-drug-search)

## More Codex guides

- [Health Canada drug product details](https://spiral.ai/integrations/codex/health-canada-drug-product-details)
- [Human Protein Atlas antibody data](https://spiral.ai/integrations/codex/human-protein-atlas-antibody-data)
- [HGNC gene search](https://spiral.ai/integrations/codex/hgnc-gene-search)
- [Human Protein Atlas protein details](https://spiral.ai/integrations/codex/human-protein-atlas-protein-details)
- [HGNC gene list normalization](https://spiral.ai/integrations/codex/hgnc-gene-list-normalization)
- [Human Protein Atlas protein search](https://spiral.ai/integrations/codex/human-protein-atlas-protein-search)

## Questions about Health Canada drug search in Codex

**Can Codex use Health Canada drug search?**

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run Health Canada drug search like any built-in tool.

**How much does Health Canada drug search cost in Codex?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Codex plan is separate.

**Do I need an Alexandria account to use Health Canada drug search in Codex?**

No. Spiral runs Health Canada drug search on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Health Canada drug search in Codex?**

About two minutes: add the hosted server, then sign in.

**Does Codex wait while Health Canada drug search runs?**

Health Canada drug search runs in the background. Codex starts the run, checks on it and gives you the json when it's ready.

**Does the database cover only human medicines?**

No. Health Canada's database also covers veterinary drugs, disinfectants, and radiopharmaceuticals, with records for approved, marketed, dormant, and cancelled products.

**How often does Health Canada update the data?**

Health Canada updates the Drug Product Database nightly. It is not a live feed of individual pharmacy inventory.

**What is the difference between approved, marketed, and dormant?**

Approved means authorized for sale but not yet marketed; marketed means currently sold in Canada. Dormant follows at least 12 consecutive months without manufacturer sales and processing of the required notification, while authorization remains in place.

**How precise are historical market dates?**

For products marketed before September 1996, December 31 can be a default date added during migration. In those records, the year can be meaningful even when the month and day are not.

**Does every product have a public monograph?**

No. Health Canada explicitly distinguishes records with and without attached documents, and its Product Monograph label can also refer to prescribing information or veterinary labeling.

