# Cost Plus Drugs API: Get drug price

> Looks up a medicine at Cost Plus Drugs by generic or brand name and returns the listed price and its breakdown for a strength, form and quantity, with the strengths and forms on offer. The drug price excludes shipping and taxes; standard shipping is shown separately.

Unofficial. Not affiliated with or endorsed by Cost Plus Drugs.

- Page: https://fous.com/methods/costplusdrugs.com/get-drug-price
- Method: `costplusdrugs.com/get_drug_price`, version 1
- Website: costplusdrugs.com
- Returns: price, medicine cost, markup, pharmacy fee, shipping, retail price, strengths, forms, page link
- Effect: read (it gets data and changes nothing)
- Sign-in: none needed
- Cost: 1 credit per completed run (1¢ with pay as you go); failed runs are free
- Verified: Nov 2, 2026

## Inputs

| Field | Type | Required | In the run below | Description |
|---|---|---|---|---|
| `form` | string | no |  | Requested dosage form, for example Tablet. Defaults to the first listed form. |
| `medicine` | string | yes | `"Lipitor"` | Generic or brand name of the medicine, for example atorvastatin or Lipitor. |
| `quantity` | integer | no | `60` | Number of units, for example 30. Defaults to the first quantity listed for the medicine. |
| `strength` | string | no | `"20 mg"` | Requested strength, for example 20 mg. Defaults to the first listed strength. |

## Output

From a run on Oct 31, 2026, shortened. Its input:

```json
{
  "medicine": "Lipitor",
  "quantity": 60,
  "strength": "20 mg"
}
```

Its output:

```json
{
  "form": "Tablet",
  "quantity": 60,
  "strength": "20mg",
  "page_link": "https://www.costplusdrugs.com/medications/atorvastatin-20mg-tablet/",
  "markup_usd": 0.11,
  "shipping_usd": 5.25,
  "medicine_name": "Atorvastatin",
  "available_forms": [
    "Tablet"
  ],
  "total_price_usd": 5.82,
  "brand_equivalent": "Lipitor",
  "pharmacy_fee_usd": 5,
  "retail_price_usd": 137.4,
  "medicine_cost_usd": 0.71,
  "price_per_unit_usd": 0.097,
  "available_strengths": [
    "10mg",
    "20mg",
    "40mg"
  ]
}
```

## Run it

From code, with a Fous API key in `FOUS_API_KEY`; the answer's `data` holds the output:

```bash
curl https://api.fous.com/v1/runs \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"method":"costplusdrugs.com/get_drug_price","input":{"medicine":"Lipitor","quantity":60,"strength":"20 mg"}}'
```

From an AI agent connected to the Fous MCP server: its `run` with the same method and input. To connect one, give it `set up https://fous.com/SKILL.md`.

## Ask your agent

- How much does 90 tablets of metformin 500 mg cost at Cost Plus Drugs, and what's the markup and pharmacy fee in that price?
- What's the price for 30 capsules of omeprazole 20 mg before shipping? I'd like to see it next to the retail price too.
- Look up Lipitor 40 mg on costplusdrugs.com for a 30-day supply and show me which other strengths they carry.
- Price check: lisinopril 10 mg, quantity 60. Break down the medicine cost and fees and tell me the shipping charge.
- I take sertraline 100 mg tablets, 45 a month. What would that run me and what forms is it available in?

## Input schema

```json
{
  "type": "object",
  "required": [
    "medicine"
  ],
  "properties": {
    "form": {
      "type": "string",
      "description": "Requested dosage form, for example Tablet. Defaults to the first listed form."
    },
    "medicine": {
      "type": "string",
      "description": "Generic or brand name of the medicine, for example atorvastatin or Lipitor."
    },
    "quantity": {
      "type": "integer",
      "minimum": 1,
      "description": "Number of units, for example 30. Defaults to the first quantity listed for the medicine."
    },
    "strength": {
      "type": "string",
      "description": "Requested strength, for example 20 mg. Defaults to the first listed strength."
    }
  }
}
```

## Output schema

```json
{
  "type": "object",
  "required": [
    "medicine_name",
    "brand_equivalent",
    "form",
    "strength",
    "quantity",
    "total_price_usd",
    "medicine_cost_usd",
    "markup_usd",
    "pharmacy_fee_usd",
    "shipping_usd",
    "price_per_unit_usd",
    "retail_price_usd",
    "available_strengths",
    "available_forms",
    "page_link"
  ],
  "properties": {
    "form": {
      "type": "string"
    },
    "quantity": {
      "type": "integer"
    },
    "strength": {
      "type": "string"
    },
    "page_link": {
      "type": "string"
    },
    "markup_usd": {
      "type": "number"
    },
    "shipping_usd": {
      "type": "number",
      "description": "Standard shipping shown separately, additional at checkout."
    },
    "medicine_name": {
      "type": "string"
    },
    "available_forms": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "total_price_usd": {
      "type": "number",
      "description": "Displayed drug price before shipping and taxes."
    },
    "brand_equivalent": {
      "type": [
        "string",
        "null"
      ]
    },
    "pharmacy_fee_usd": {
      "type": "number"
    },
    "retail_price_usd": {
      "type": [
        "number",
        "null"
      ]
    },
    "medicine_cost_usd": {
      "type": "number"
    },
    "price_per_unit_usd": {
      "type": "number"
    },
    "available_strengths": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "additionalProperties": false
}
```

## See more

- [Drugs.com API: Get drug prices](https://fous.com/methods/drugs.com/get-drug-prices.md): Gets the US cash prices Drugs.com lists for a brand or generic medicine by strength, dosage form and quantity, optionally filtered. Where a range is listed the lower price is returned.
- [Drugs.com API: Get drug overview](https://fous.com/methods/drugs.com/get-drug.md): Looks up a medicine by brand or generic name on Drugs.com and returns a plain-language overview: class, uses, availability, schedule, dosage forms, side effects, and pregnancy and breastfeeding notes.
- [Drugs.com API: Check drug interactions](https://fous.com/methods/drugs.com/check-drug-interactions.md): Checks 2 to 10 medicine names together on the Drugs.com interaction checker and returns drug-to-drug interactions and food or lifestyle warnings, most severe first, plus the names it could not recognise.
- [Drugs.com API: Identify pill by imprint](https://fous.com/methods/drugs.com/identify-pill.md): Finds possible pill matches on the Drugs.com pill identifier by imprint, optionally narrowed by color and shape, with each pill's labeler.
- [FDA API: Get drug label](https://fous.com/methods/open.fda.gov/get-drug-label.md): Finds the latest FDA drug label for a brand or generic medicine and returns its uses, directions, warnings, ingredients and a DailyMed link.
- [PriceRunner API: Compare prices](https://fous.com/methods/pricerunner.com/compare-prices.md): Compares a product's prices across shops on PriceRunner in the United Kingdom, Sweden or Denmark: finds the best-matching product, lists its default new-condition national shop offers sorted by total price, and adds the three-month low when available.
- [Trading Economics API: Get commodity prices](https://fous.com/methods/tradingeconomics.com/get-commodity-prices.md): Gets current commodity prices and price movements from the Trading Economics commodities page, in the page's group order; filter by a commodity name, slug, symbol or group (e.g. copper, energy), or leave blank for all groups including Electricity.
- [Numbeo API: Get cost of living](https://fous.com/methods/numbeo.com/get-cost-of-living.md): Gets a city's current Numbeo cost of living indices, monthly estimates without rent, and typical prices. Add a country or state to tell apart cities with the same name.
