Drogasil Scraper
Pricing
Pay per event
Drogasil Scraper
Scrape Drogasil product prices, promotions, availability, categories, images, and URLs from Brazil pharmacy search and category pages.
Pricing
Pay per event
Rating
0.0
(0)
Developer
Stas Persiianenko
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
4 days ago
Last modified
Categories
Share
Extract product listings, prices, promotions, stock signals, and catalog metadata from Drogasil, one of Brazil's largest online pharmacy stores.
Use this actor when you need structured pharmacy ecommerce data without maintaining your own scraper, retry logic, or price-enrichment code.
What does Drogasil Scraper do?
Drogasil Scraper collects product data from drogasil.com.br search and category pages.
It reads the server-rendered storefront data and enriches each product with live pricing and stock information from Drogasil's public storefront API.
Typical results include product name, SKU, brand, current price, list price, discount, category path, image URL, product URL, availability, and promotion details.
Who is it for?
Pricing analysts use it to track pharmacy product prices across Brazilian ecommerce.
Retail intelligence teams use it to monitor promotions, assortment, and stock changes.
Brands and distributors use it to check whether their products are listed, discounted, or out of stock.
Marketplace operators use it to benchmark category coverage and price positioning.
Why use this actor?
Drogasil pages contain product data in a Next.js payload and live price data in a separate GraphQL call.
This actor combines both sources into one clean dataset.
You can start with a search term like vitamina, protetor solar, or fralda, or provide exact Drogasil category/search URLs.
What data can you extract?
The actor returns one row per product.
| Field | Description |
|---|---|
sku | Drogasil product SKU |
name | Product name |
brand | Product brand when available |
currentPrice | Current live selling price |
listPrice | Original/list price |
discountPercentage | Discount percentage from live pricing |
priceType | Drogasil price type such as NORMAL, OFFER, or LMPM |
lmpmPrice | Multi-buy promotional unit price when available |
lmpmQuantity | Multi-buy quantity threshold when available |
inStock | Boolean stock signal |
stockQuantity | Stock quantity signal exposed by the storefront |
categoryPath | Hierarchical category breadcrumb |
productUrl | Absolute product URL |
imageUrl | Product image URL |
scrapedAt | ISO timestamp for the scrape |
How much does it cost to scrape Drogasil products?
This actor uses pay-per-event pricing.
You pay a small start fee for each run and a per-product fee for results that are successfully extracted.
The input prefill is intentionally small so your first run is quick and inexpensive.
For larger price-monitoring jobs, increase maxResults after validating that the output matches your use case.
How to scrape Drogasil search results
- Open the actor on Apify.
- Enter one or more search terms in Search terms.
- Keep
maxResultslow for the first test. - Run the actor.
- Download results as JSON, CSV, Excel, XML, or via API.
How to scrape Drogasil category URLs
Paste Drogasil search or category URLs into Drogasil start URLs.
The actor normalizes relative product URLs and paginates pages where possible.
You can combine start URLs with search terms in the same run.
Input example
{"searchQueries": ["vitamina", "protetor solar"],"startUrls": [],"maxResults": 50,"includeLivePricing": true,"maxRequestRetries": 3}
Output example
{"searchTerm": "vitamina","sourceUrl": "https://www.drogasil.com.br/search?w=vitamina","position": 1,"sku": "6486","name": "Polivitamínico Medley Baristar 100 cápsulas","brand": "Baristar","currentPrice": 171.99,"listPrice": 202.86,"discountPercentage": 15.22,"priceType": "OFFER","inStock": true,"stockQuantity": 1,"productUrl": "https://www.drogasil.com.br/baristar-100-capsulas.html?origin=search","scrapedAt": "2026-05-17T08:00:00.000Z"}
Tips for best results
Use Portuguese product terms because Drogasil's storefront is optimized for Brazilian shoppers.
Use specific keywords for narrower output, such as vitamina c efervescente instead of only vitamina.
Use multiple smaller scheduled runs if you monitor many categories.
Keep includeLivePricing enabled when you need price, discount, or stock fields.
Disable includeLivePricing only if you only need catalog metadata and want the fastest possible run.
Scheduling price monitoring
You can schedule this actor to run daily or hourly from Apify.
A common workflow is to run the same product keywords every day and compare currentPrice, listPrice, discountPercentage, and inStock over time.
Export the dataset to Google Sheets, BigQuery, Snowflake, or your internal BI tool.
Integrations
Use Apify integrations to send Drogasil data to:
- Google Sheets for category managers.
- Slack alerts for price drops or stockouts.
- Webhooks for internal pricing pipelines.
- BigQuery or Snowflake for long-term price history.
- Make or Zapier for no-code automations.
API usage with Node.js
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: process.env.APIFY_TOKEN });const run = await client.actor('automation-lab/drogasil-scraper').call({searchQueries: ['vitamina'],maxResults: 20,includeLivePricing: true});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items);
API usage with Python
from apify_client import ApifyClientimport osclient = ApifyClient(os.environ['APIFY_TOKEN'])run = client.actor('automation-lab/drogasil-scraper').call(run_input={'searchQueries': ['protetor solar'],'maxResults': 20,'includeLivePricing': True,})items = client.dataset(run['defaultDatasetId']).list_items().itemsprint(items)
API usage with cURL
curl -X POST "https://api.apify.com/v2/acts/automation-lab~drogasil-scraper/runs?token=$APIFY_TOKEN" \-H 'Content-Type: application/json' \-d '{"searchQueries":["vitamina"],"maxResults":20,"includeLivePricing":true}'
MCP usage
Use this actor through the Apify MCP server in Claude Desktop, Claude Code, or other MCP-compatible clients.
MCP URL:
https://mcp.apify.com/?tools=automation-lab/drogasil-scraper
Claude Code setup:
$claude mcp add apify-drogasil "https://mcp.apify.com/?tools=automation-lab/drogasil-scraper"
Claude Desktop JSON config:
{"mcpServers": {"apify-drogasil": {"url": "https://mcp.apify.com/?tools=automation-lab/drogasil-scraper"}}}
Example prompts:
- "Run Drogasil Scraper for vitamina and summarize the cheapest products."
- "Compare current prices for protetor solar products from the latest Drogasil dataset."
- "Find products where the list price is higher than the current price."
Data quality notes
Prices and stock are live storefront signals and may vary by location, availability, account state, or Drogasil's own pricing rules.
The actor records the values exposed to the public storefront at scrape time.
Always use scrapedAt when building time-series comparisons.
Limits and pagination
maxResults is a global cap across all search terms and URLs.
The actor deduplicates products by SKU so the same product is not emitted twice in one run.
If Drogasil returns fewer products than requested for a narrow query, the dataset will contain fewer rows.
Legality: is it legal to scrape Drogasil?
This actor extracts publicly available product information.
You should use the data responsibly, respect applicable laws, and avoid collecting personal data.
If you are unsure whether your use case is allowed, consult your legal advisor.
FAQ
Why are some price fields empty?
Drogasil may not return a live price for every SKU. Keep includeLivePricing enabled and retry later if a product is temporarily missing live pricing.
Why did I get fewer products than requested?
The keyword or category may have fewer unique products than maxResults, or Drogasil may return duplicate SKUs across pages.
Can I scrape product detail pages?
This version focuses on search and category listings plus live price enrichment. Detail-page-specific attributes can be added in a future version if needed.
Can I use this for stock monitoring?
Yes. Use inStock, stockQuantity, sku, and scrapedAt to build recurring stock checks.
Related scrapers
Other ecommerce and retail actors from Automation Lab:
- https://apify.com/automation-lab/amazon-scraper
- https://apify.com/automation-lab/mercado-livre-scraper
- https://apify.com/automation-lab/ifood-scraper
- https://apify.com/automation-lab/google-shopping-scraper
Support
If a Drogasil page changes or a field stops appearing, open an issue on Apify with your run URL and input.
Include the keyword or category URL you used so the problem can be reproduced quickly.