ParseForge Scrapers

Cost Plus Drugs Price Scraper

parseforge/costplusdrugs-scraper

E-commerceLead generationOther

Scrapes prescription drug prices from Cost Plus Drugs by medication name. Returns each product as a flat row with drug name, strength, form, quantity, and price.

Run this scraper See the API call
Total users
16
Monthly active
1
Total runs
225
Bookmarked
0
Rating
Not rated yet
Last modified
9 days ago

Overview

ParseForge

Cost Plus Drugs Price Scraper

Scrape prescription drug prices from Cost Plus Drugs by medication name, up to a million per run. Every result comes with the drug name, strength, form, quantity, and the exact cash price. No login or API key. Export to CSV, JSON, Excel, or XML.

Cost Plus Drugs lists transparent, cash-only prices for hundreds of generic medications, but there is no public API and the site is built for one-at-a-time lookups. This Actor reads the public price pages directly, takes a list of medication names, and returns every matching drug with its strength, form, quantity, and price in one fixed schema. It is the fastest way to build a price sheet, monitor a formulary, or compare cash prices against insurance copays.

Who uses it What they scrape Cost Plus Drugs for
Pharmacists Build a quick reference of cash prices for common generics to share with patients.
Healthcare analysts Track how Cost Plus Drugs prices change over time for a set of medications.
Patient advocates Compare Cost Plus Drugs prices against insurance copays to find savings.
Researchers Collect a dataset of transparent drug prices for studies on pharmaceutical pricing.
Developers Power a price-comparison tool or app with fresh Cost Plus Drugs data.

What it does

This Actor collects prescription drug prices from Cost Plus Drugs by medication name and returns each match as a flat row with the drug name, strength, form, quantity, and price.

  • ๐Ÿ’Š Medication name lookup: enter generic drug names like ibuprofen, metformin, or lisinopril and get every matching product.
  • ๐Ÿ“ฆ Bulk price collection: run up to 1,000,000 medications in a single run for paid users.
  • ๐Ÿงพ Flat row output: each result is one row with drug name, strength, form, quantity, and price, ready for CSV or JSON.
  • ๐Ÿ”Ž Generic-name friendly: the Actor matches the public search, so generic names work best and return all available strengths and forms.

Results export to CSV, JSON, Excel, or XML, or straight from the API.

What you can do with Cost Plus Drugs data

๐Ÿ“‹ Build a cash price sheet.

A pharmacist enters the 50 most common generic medications and gets a clean CSV of every strength, form, and quantity with the exact Cost Plus Drugs price to post at the counter.

๐Ÿ“ˆ Track price changes over time.

A healthcare analyst runs the Actor weekly on a fixed list of 200 drugs and compares the output to spot any price increases or new product additions.

๐Ÿ’ธ Compare against insurance copays.

A patient advocate enters a member's medication list and compares the Cost Plus Drugs cash price to the insurance copay to show where the member could save money.

๐Ÿงช Collect data for research.

A researcher scrapes the full catalog of generic medications to build a dataset of transparent drug prices for a study on pharmaceutical pricing models.

๐Ÿ› ๏ธ Power a price-comparison tool.

A developer integrates the Actor into an app that lets users type a drug name and instantly see the Cost Plus Drugs price next to other pharmacy prices.

Why choose this scraper

What you get
No API key or login The Actor reads the public Cost Plus Drugs pages directly, so you do not need to register an app or manage OAuth.
One fixed schema Every result is a flat row with the same fields, so you can append runs and build a clean dataset.
Bulk by design Feed it a list of hundreds or thousands of drug names and get all prices in one run, not one manual search at a time.
Transparent cash prices Cost Plus Drugs publishes its actual selling price, so the data reflects what a patient would pay out of pocket.

How it compares

No other Store actor targets Cost Plus Drugs the same way, so the honest comparison is with the alternatives teams actually weigh.

Cost Plus Drugs Price Scraper Build it in-house By hand
Setup Run it now, zero config Days of engineering None, but hours per pull
When Cost Plus Drugs changes Maintained for you You fix it You re-learn the page
Proxies, retries, anti-bot Built in Your problem Browser only
Output Fixed JSON schema, CSV/Excel export Whatever you build Copy-paste
Cost Pay per result Engineering time Analyst hours

Configure the run

Drive the Actor from a list of medication names, and it returns every matching product with its strength, form, quantity, and price. Free users are limited to 10 medications per run; paid users can set any number up to 1,000,000. The Input tab lists every parameter.

A first run with the defaults:

{
 "maxItems": 10,
 "drugs": [
 "ibuprofen",
 "metformin",
 "lisinopril",
 "atorvastatin",
 "amoxicillin"
 ]
}

A larger pull:

{
 "maxItems": 200,
 "drugs": [
 "ibuprofen",
 "metformin",
 "lisinopril",
 "atorvastatin",
 "amoxicillin"
 ]
}

Pricing

Pay-per-result: $0.0055 per result collected. You pay only for the results written to your dataset.

Results collected Approximate cost
100 results $0.55
1,000 results $5.50
10,000 results $55.00

New Apify accounts start with $5 in free credit.

Free users

Free-plan runs return up to 10 results as a preview. Upgrade your Apify plan to collect up to 1,000,000 results per run.

Run it

  1. Create a free Apify account with $5 in credit.
  2. Open the Cost Plus Drugs Price Scraper.
  3. Set your inputs and any filters, then click Start.
  4. Export the results as CSV, Excel, JSON, or XML from the Dataset tab.

Run it programmatically through the Apify API (run-sync-get-dataset-items) or the ApifyClient for JavaScript and Python.

Use with AI agents (MCP)

Give an AI agent live access to Cost Plus Drugs through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/costplusdrugs-scraper"

Then prompt it in plain language to run the scraper and read back the results.

Troubleshooting

Why am I getting no results for a drug name?

Check the spelling and try the generic name. Cost Plus Drugs may not carry that medication, or the search may require a different name. Search the Cost Plus Drugs website manually to confirm the drug is listed.

Why did the run stop after 10 medications?

Free users are limited to 10 medications per run as a preview. Upgrade to a paid plan to scrape more, up to 1,000,000 medications per run.

Why are some prices different from what I see on the website?

Prices can change between runs. The Actor reads the live pages, so if the price changed after your run, the dataset will show the older value. Run the Actor again to get the current price.

Why does the Actor return multiple rows for one drug name?

Cost Plus Drugs lists each strength, form, and quantity as a separate product. The Actor returns one row per product, so a single drug name can produce many rows.

Why did the run fail with a timeout?

If you are scraping a very large list of medications, the run may take longer than the default timeout. Increase the timeout in the Actor's run settings or split the list into smaller batches.

FAQ

Question Answer
What is Cost Plus Drugs? Cost Plus Drugs is an online pharmacy founded by Mark Cuban that sells generic medications at a fixed markup over the manufacturer price, with no insurance. It publishes the cash price for every drug, strength, and quantity on its public website.
Do I need an API key or login to scrape Cost Plus Drugs? No. This Actor reads the public price pages directly, so you do not need to register an app, get an API key, or log in.
What data does the Actor return for each drug? Each result is a flat row with the drug name, strength, form, quantity, and the exact cash price listed on Cost Plus Drugs. The exact field names are shown in the sample output below.
How many medications can I scrape in one run? Free users are limited to 10 medications per run as a preview. Paid users can set any number up to 1,000,000 medications per run.
Should I use generic or brand drug names? Generic names work best because Cost Plus Drugs primarily sells generic medications. For example, enter 'ibuprofen' rather than 'Advil' to get all available strengths and forms.
What if a drug name returns no results? The Actor will return an empty dataset for that medication. Check the spelling, try the generic name, or verify that Cost Plus Drugs carries the drug by searching their website manually.
Can I export the results to CSV or Excel? Yes. After the run finishes, you can export the dataset to CSV, JSON, Excel, or XML directly from the Apify platform.
Does the Actor include shipping or membership fees? No. The Actor returns the listed drug price only. Cost Plus Drugs charges a flat shipping fee and a small pharmacy labor fee per order, which are not included in the scraped price.
Is the price data live or cached? The Actor reads the live Cost Plus Drugs pages at the time of the run, so the prices reflect what is currently listed on the site.
Can I schedule this Actor to run automatically? Yes. You can set up a schedule in Apify to run the Actor daily, weekly, or at any interval, and it will collect fresh prices each time.

Related actors

Browse the full ParseForge collection for more scrapers.

๐Ÿ†˜ Need help? Email parseforge@protonmail.com with your run ID, your input, and what you expected.

โš ๏ธ Disclaimer. This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by Mark Cuban Cost Plus Drug Company, PBC. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.

Input

FieldTypeWhat it doesDefault
maxItems integer Free users: Limited to 10 medications (preview). Paid users: Optional, max 1,000,000 10
drugs array List of drug names to look up (generic names work best). Examples: ibuprofen, metformin, lisinopril, atorvastatin ["ibuprofen","metformin","lisinopril","a

Pricing

from $5.00 per 1,000 results

Charged forWhat it isPrice each
result Single result in the default dataset. $0.005 to $0.0055

Tiered: the lower figure is the price on a higher Apify plan. Billing and the free credit live on Apify.

API

One POST returns the dataset directly. Same shape for every scraper in the library, so swapping the slug is the only change.

POST ยท run and get results
curl -X POST "https://api.apify.com/v2/acts/parseforge~costplusdrugs-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "helloWorld": 123
  }'

Examples

Input that runs as-is.

input.json
{
  "helloWorld": 123
}

Reviews

No reviews yet. Be the first.

Issues

We build and maintain this scraper, so a problem with it comes to us. Report it on the Apify listing and the thread stays attached to the scraper where the next person can find it: open an issue.

Broken and urgent, or you would rather not post in public? Write to parseforge@protonmail.com and it reaches the people who wrote it.

Related scrapers

Run Cost Plus Drugs Price Scraper on Apify All scrapers