> ## Documentation Index
> Fetch the complete documentation index at: https://simplex.sh/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Search Drugs

> Resolve a free-text drug query into the canonical Brand Strength Form string.

`search_drugs` fuzzy-searches the fax-PA drug catalog and returns canonical `full_name` strings suitable for `drug_info.medication_strength` on [Fill Prior Authorization](/docs/payer-portal-api/fax/fill-pa). The catalog currently covers Wegovy, Ozempic, Zepbound, and Mounjaro — all SKUs.

Matching is case-insensitive with exact > prefix > substring > token/fuzzy ranking.

## Parameters

| Name    | Type    | Required | Description                                                                                 |
| ------- | ------- | -------- | ------------------------------------------------------------------------------------------- |
| `query` | string  | yes      | Partial or full drug name (e.g. `"wegovy"`, `"zepbound 5mg"`, `"mounjaro auto-injectors"`). |
| `limit` | integer | no       | Max matches to return (1–50). Defaults to 10.                                               |

## Example

<Tabs>
  <Tab title="Python">
    ```python theme={null}
    from simplex import SimplexClient

    client = SimplexClient()

    matches = client.search_drugs(query="wegovy 1mg")
    for m in matches:
        print(m["full_name"])
    ```
  </Tab>

  <Tab title="TypeScript">
    ```typescript theme={null}
    import { SimplexClient } from "simplex-ts";

    const client = new SimplexClient();

    const matches = await client.searchDrugs({ query: "wegovy 1mg" });
    for (const m of matches) {
      console.log(m.fullName);
    }
    ```
  </Tab>
</Tabs>

## Response

Each match is an object with a single `full_name` field — the canonical `Brand Strength Form` string.

```json theme={null}
[
  { "full_name": "Wegovy 1 mg/0.5 mL pen-injectors" },
  { "full_name": "Wegovy 1.7 mg/0.75 mL pen-injectors" }
]
```

## Next step

Pass the resolved `full_name` as `drug_info.medication_strength` when you call [Fill Prior Authorization](/docs/payer-portal-api/fax/fill-pa), or use the `drug_name` (e.g. `"wegovy"`) in [Get Clinical Questions](/docs/prior-auth-sdk/get-clinical-questions).
