# France public medicines database (BDPM) · Assessments

Get health and medical data with France public medicines database (BDPM) · Assessments from Alexandria through one Spiral API key. For HAS ratings across medicines: "which drugs got ASMR I to III in 2026", "which medicines were rated SMR insuffisant last year", "every HAS opinion on pembrolizumab". It runs in the background and returns structured JSON. Pay as you go, with no subscription.

- Provider: Alexandria
- Category: Health
- Runs: In the background
- Returns: json
- Tool id: `alexandria` / `base-donnees-publique-medicaments-gouv-fr/medicines/assessments`
- Page: https://spiral.ai/tools/alexandria/base-donnees-publique-medicaments-gouv-fr/medicines/assessments

## Pricing

$0.00873 per call.

## Limits

- Longest queue wait: 1 hour
- Run deadline: 5 minutes
- Longest run, end to end: 225 minutes
- Largest inline input: 1 MB
- Largest input file: 2 GB
- Largest output: 5 GB

## Input

| Field | Kind | Allowed | Default | Description |
| --- | --- | --- | --- | --- |
| `limit` | number | 1 to 25 | 10 | Entries per page; each carries the full HAS wording. |
| `query` | text |  | — | A medicine name or active substance of at least 3 letters (`ozempic`, `sémaglutide`, `pembrolizumab`; accents and case ignored), or an 8-digit CIS code. Text matches the start of a word, then anywhere, in names and active substances. Only medicines still in the BDPM match text; opinions on others are found by CIS or date. |
| `offset` | number | 0 to … | 0 | `next_offset` from the previous page; repeat the same filters with it. |
| `to_date` | text |  | — | Latest opinion date, inclusive: `YYYY`, `YYYY-MM` (the whole month) or `YYYY-MM-DD`. Pattern: ^[0-9]{4}(-[0-9]{2}(-[0-9]{2})?)?$. |
| `from_date` | text |  | — | Earliest opinion date: `YYYY`, `YYYY-MM` or `YYYY-MM-DD`. Pattern: ^[0-9]{4}(-[0-9]{2}(-[0-9]{2})?)?$. |
| `smr_levels` | list |  | — | Keep opinions with at least one SMR at one of these levels; conditional levels count as their level. |
| `asmr_levels` | list |  | — | Keep opinions with at least one ASMR at one of these levels, e.g. `["I", "II", "III"]` for a real improvement; `V` includes `V dans l'attente de données`. |

## Example

```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": "base-donnees-publique-medicaments-gouv-fr/medicines/assessments",
    "input": {
      "limit": 10
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=alexandria&model=base-donnees-publique-medicaments-gouv-fr%2Fmedicines%2Fassessments

## Common questions

### France public medicines database (BDPM) · Assessments

**How much does France public medicines database (BDPM) · Assessments cost?**

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

**How do I use France public medicines database (BDPM) · Assessments through an API?**

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "base-donnees-publique-medicaments-gouv-fr/medicines/assessments"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

**Do I need an account with Alexandria to use France public medicines database (BDPM) · Assessments?**

No. Spiral runs it on its own Alexandria account and charges your Spiral balance.

**Can my AI agent use France public medicines database (BDPM) · Assessments?**

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.

