ParseForge Scrapers

WellRx Drug Prices Scraper

parseforge/wellrx-drug-prices-scraper

AutomationDeveloper tools

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

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

Overview

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 it What they scrape WellRx for
Healthcare analysts Tracking cash price variation for a specific drug across different regions.
Pharmacy benefit managers Auditing discount card pricing against contracted rates in a given ZIP code.
Patient advocates Finding the lowest local cash price for a prescribed medication to share with community members.
Market researchers Monitoring 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 address Which pharmacy offers the price and where it is located
Cash price and discount price The standard retail price and the price with the WellRx discount
Estimated savings How much a patient could save versus the standard cash price
Dosage and quantity The 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 Scraper Build it in-house By hand
Setup Run it now, zero config Days of engineering None, but hours per pull
When WellRx 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 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 collected Approximate 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

Question Answer
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.

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 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.

Input

FieldTypeWhat it doesDefault
maxItems integer How many drug prices to collect per run. 10
drug string Prescription drug to search (e.g. atorvastatin, metformin). atorvastatin
zipCode string US ZIP code for local pharmacy pricing. 10001

Pricing

from $5.88 per 1,000 results

Charged forWhat it isPrice each
result Single result in the default dataset. $0.00588 to $0.0065

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~wellrx-drug-prices-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 WellRx Drug Prices Scraper on Apify All scrapers