WellRx Drug Prices Scraper avatar

WellRx Drug Prices Scraper

Pricing

from $5.88 / 1,000 results

Go to Apify Store
WellRx Drug Prices Scraper

WellRx Drug Prices Scraper

Scrapes prescription drug prices from WellRx by drug name and ZIP code. Returns each pharmacy's price, dosage, and quantity as a flat row.

Pricing

from $5.88 / 1,000 results

Rating

0.0

(0)

Developer

ParseForge

ParseForge

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

a day ago

Last modified

Share

ParseForge

WellRx Drug Prices Scraper

Scrape prescription drug prices from WellRx by drug name and ZIP code, up to a million per run. Each result includes the pharmacy name, price, dosage, and savings estimate. No login or API key. Export to CSV, JSON, Excel, or XML.

Comparing prescription drug prices across pharmacies is tedious when you have to search one medication and one location at a time. WellRx publishes cash and discount prices for thousands of drugs at local pharmacies, but there is no bulk export. This Actor searches WellRx for any drug and ZIP code you provide, reads the public pricing pages, and returns every match in a consistent, flat schema.

Who uses itWhat they scrape WellRx for
Healthcare analystsTracking cash price variation for a specific drug across different regions.
Pharmacy benefit managersAuditing discount card pricing against contracted rates in a given ZIP code.
Patient advocatesFinding the lowest local cash price for a prescribed medication to share with community members.
Market researchersMonitoring how a brand-name drug's discount price changes week over week in major metro areas.

What it does

This Actor collects WellRx drug price listings by drug name and US ZIP code, and returns each pharmacy and its pricing as a flat row.

  • ๐Ÿ’Š Drug name search: Provide any prescription drug name, such as atorvastatin or metformin, to get its pricing.
  • ๐Ÿ“ Local pricing by ZIP: Narrow results to pharmacies near a specific US ZIP code for geographically relevant prices.
  • ๐Ÿ“Š Flat row output: Each result is a single row with pharmacy, price, dosage, and savings, ready for analysis.

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

What you can do with WellRx data

๐Ÿ’Š Compare local cash prices for a prescription.

A patient advocate enters a drug and the patient's ZIP code to find the three cheapest nearby pharmacies and shares the list before a refill.

๐Ÿ“ˆ Monitor price changes over time.

A market researcher runs the Actor weekly for the same drug and ZIP code, then plots the discount price trend to spot pharmacy pricing cycles.

๐Ÿ—บ๏ธ Map regional price variation.

A healthcare analyst runs the Actor for one drug across 50 ZIP codes and builds a heatmap of cash prices to identify high-cost pockets.

๐Ÿ” Audit discount card performance.

A pharmacy benefit manager scrapes prices for a set of drugs in a plan's service area and compares WellRx discount prices to the plan's negotiated rates.

Why choose this scraper

What you get
Pharmacy name and addressWhich pharmacy offers the price and where it is located
Cash price and discount priceThe standard retail price and the price with the WellRx discount
Estimated savingsHow much a patient could save versus the standard cash price
Dosage and quantityThe specific strength and pill count the price applies to

How it compares

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

WellRx Drug Prices ScraperBuild it in-houseBy hand
SetupRun it now, zero configDays of engineeringNone, but hours per pull
When WellRx changesMaintained for youYou fix itYou re-learn the page
Proxies, retries, anti-botBuilt inYour problemBrowser only
OutputFixed JSON schema, CSV/Excel exportWhatever you buildCopy-paste
CostPay per resultEngineering timeAnalyst hours

Configure the run

Drive the Actor with a drug name and a US ZIP code, and set a maximum number of price results to collect per run. The Input tab lists every parameter.

A first run with the defaults:

{
"maxItems": 10,
"drug": "atorvastatin",
"zipCode": "10001"
}

A larger pull:

{
"maxItems": 200,
"drug": "atorvastatin",
"zipCode": "10001"
}

Pricing

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

Results collectedApproximate cost
100 results$0.65
1,000 results$6.50
10,000 results$65.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 WellRx Drug Prices 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 WellRx 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/wellrx-drug-prices-scraper"

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

Troubleshooting

Why am I getting no results?

First, check that the drug name is spelled correctly and matches a prescription medication WellRx covers. Second, try a different ZIP code. Some rural ZIP codes have few or no participating pharmacies nearby, which can return an empty list.

The Actor returns fewer results than my maxItems setting.

The maxItems value is an upper limit. The Actor stops when it has collected that many prices or when WellRx has no more pharmacies to show for your search. If you hit the limit, increase maxItems and run again.

I searched for a common drug but only got a few prices.

WellRx may group results by dosage form. Try searching with the base drug name without specifying a strength. Also, ensure your ZIP code is in a densely populated area with many pharmacies.

The run fails with a timeout error.

A very large maxItems value combined with a slow WellRx response can cause timeouts. Try reducing maxItems or increasing the Actor's timeout setting in your Apify run configuration.

The prices look different from what I see on the WellRx website.

Drug prices can change frequently. The Actor scrapes the live site at the moment you run it. Check the website manually at the same time to confirm. Small differences may also occur if the site runs A/B tests or personalizes results by browser session.

FAQ

QuestionAnswer
What is WellRx?WellRx is a prescription discount card and price comparison tool operated by WellDyneRx. It shows cash and discount prices for medications at participating pharmacies across the United States.
Do I need a WellRx account to scrape prices?No. This Actor reads the public price search pages on wellrx.com. You do not need an account, a discount card, or an API key.
Can I search for multiple drugs at once?The Actor takes one drug name per run. To collect prices for multiple drugs, run the Actor once per drug, or use Apify's actor calling features to loop over a list of drug names.
What ZIP codes work?Any valid five-digit US ZIP code. The Actor passes it directly to the WellRx search. If a ZIP code has no nearby participating pharmacies, you may get few or no results.
Does this return brand-name and generic prices?Yes. Search for either the brand name or the generic name. WellRx typically shows pricing for all available forms and strengths of the drug you enter.
How many results can I get per run?You set the maximum with the 'Maximum drug prices' input, up to 1,000,000 rows. The actual number depends on how many pharmacies WellRx returns for your drug and ZIP code.
What does each row in the output contain?Each row represents one pharmacy's price for one dosage form. It includes the pharmacy name and address, the drug name and strength, the cash price, the WellRx discount price, and the estimated savings.
Can I export the data?Yes. You can export the dataset to CSV, JSON, Excel, or XML directly from the Apify run detail page or via the API.
Is this legal?This Actor accesses publicly available pricing information on wellrx.com. You are responsible for complying with the website's terms of service and all applicable laws in your jurisdiction.
How often is the pricing data updated?The Actor returns whatever prices WellRx displays at the moment of the run. Drug prices can change daily, so run the Actor whenever you need fresh data.

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 WellDyneRx, LLC. 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.