# France public medicines database (BDPM) · Search

Get health and medical data with France public medicines database (BDPM) · Search from Alexandria through one Spiral API key. Search. 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/search`
- Page: https://spiral.ai/tools/alexandria/base-donnees-publique-medicaments-gouv-fr/medicines/search

## 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 50 | 20 | Results per page. |
| `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. |
| `holder` | text |  | — | Marketing authorisation holder or part of it, e.g. `novo nordisk`; accents and case ignored. |
| `offset` | number | 0 to … | 0 | `next_offset` from the previous page; repeat the same filters with it. |
| `authorised_to` | text |  | — | Latest authorisation date, inclusive: `YYYY`, `YYYY-MM` (the whole month) or `YYYY-MM-DD`. Pattern: ^[0-9]{4}(-[0-9]{2}(-[0-9]{2})?)?$. |
| `marketed_only` | true or false |  | — | Only medicines whose marketing status is `Commercialisée`. |
| `authorised_from` | text |  | — | Earliest authorisation (AMM) date: `YYYY`, `YYYY-MM` or `YYYY-MM-DD`. Pattern: ^[0-9]{4}(-[0-9]{2}(-[0-9]{2})?)?$. |

## 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/search",
    "input": {
      "query": "<query>"
    }
  }'
```

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

## Common questions

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

**How much does France public medicines database (BDPM) · Search 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) · Search through an API?**

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "base-donnees-publique-medicaments-gouv-fr/medicines/search"` 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) · Search?**

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

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

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

