DosFarma Scraper - Spanish Online Pharmacy Products
Pricing
from $1.20 / 1,000 result scrapeds
DosFarma Scraper - Spanish Online Pharmacy Products
Scrape products, prices, brands, ratings and stock from DosFarma (dosfarma.com), one of Spain's largest online pharmacies. Extract vitamins, supplements, cosmetics, baby care and health products. No login required.
Pricing
from $1.20 / 1,000 result scrapeds
Rating
0.0
(0)
Developer
Studio Amba
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
5 days ago
Last modified
Categories
Share
DosFarma Scraper
Scrape products from DosFarma, one of Spain's largest online pharmacies. Search by keyword or category and pull clean, structured product data: names, prices, original (was) prices, discount percentages, brands, ratings, review counts, stock status, categories, pack format, and images.
No login. No cookies. No account required.
Why use this scraper?
- Price monitoring: Track DosFarma prices for vitamins, supplements, cosmetics and health products over time and spot promotions.
- Competitive analysis: Compare DosFarma pricing against other Spanish pharmacies (Mifarma/Atida, Promofarma) on matching brands and formats.
- Market research: Analyse assortment, brand coverage, and pricing across pharmacy and parapharmacy categories.
- Retail intelligence: Monitor stock availability and discount depth across a catalogue of roughly 30,000 products.
- Catalogue enrichment: Enrich your own catalogue with images, ratings, descriptions, and category paths.
- Brand monitoring: Track how your brand's products are priced, rated, and merchandised on DosFarma.
- Data journalism & academia: Build datasets on Spanish health and beauty retail pricing and consumer ratings.
- Reselling & arbitrage: Find discounted lines and price gaps against other Spanish and EU health retailers.
How to scrape DosFarma data
- Create an Apify account: Sign up at apify.com (free tier available).
- Open the DosFarma Scraper: Navigate to this actor's page in the Apify Store.
- Enter a search term: Type a Spanish product keyword (e.g., "vitamina d", "protector solar", "colageno", "paracetamol"). The scraper searches the full DosFarma catalogue.
- Or pick a category: Choose a store category (Salud, Higiene, Dietética y Nutrición, Bebé y Mamá, ...) to scrape a whole category, with or without a keyword.
- Refine (optional): Filter by brand, price range, stock status, or choose a sort order (price low-to-high, price high-to-low, newest).
- Set a result limit: Choose how many products you want (default: 100, up to the full catalogue).
- Run the actor: Click "Start". Most searches finish in well under a minute.
- Download your data: Export as JSON, CSV, or Excel from the Dataset tab, or pull it via the Apify API for automated workflows.
How it works
DosFarma serves its storefront behind a Cloudflare "verify real visitors" wall. But its product catalogue is powered by a public product-search index (the same Magento + Algolia search the site's own search box queries directly from your browser). This scraper reads from that same index, so it is fast and reliable and does not need a headless browser or residential proxies. Each request returns up to 1000 fully hydrated products.
If the site ever rotates its public search credentials, the actor can automatically refresh them (set an optional Bright Data API key). This is not needed for normal use.
Input parameters
| Field | Type | Description |
|---|---|---|
searchQuery | string | Product search term in Spanish (e.g., "vitamina d", "protector solar"). Defaults to "vitamina c" when no other filter is set. |
category | select | Limit results to one store category (e.g., "Salud", "Higiene", "Dietética y Nutrición"). Combines with the search query. |
maxResults | integer | Maximum number of products to scrape (default: 100, max: 30,000). |
sort | select | Sort order: relevance (default), price low-to-high, price high-to-low, or newest. |
brand | string | Filter to a single brand (exact match, e.g., "Isdin", "La Roche-Posay", "Solaray"). |
inStockOnly | boolean | Only return products currently in stock. |
minPrice | integer | Only return products at or above this price (EUR). |
maxPrice | integer | Only return products at or below this price (EUR). |
brightDataApiKey | string | Optional. Fallback to refresh the built-in search credentials if they ever rotate. Not needed for normal use. |
proxyConfiguration | object | Not needed for normal use. The catalogue comes from a public search API, so the default (automatic proxy) works. |
Output fields
| Field | Type | Example |
|---|---|---|
name | string | "Solaray Vitamina D3 y K2 60 Cápsulas Vegetales" |
brand | string | "Solaray" |
price | number | 18.99 |
originalPrice | number | 23.81 |
discountPercent | integer | 20 |
currency | string | "EUR" |
sku | string | "997303996123" |
productId | string | "54216" |
inStock | boolean | true (null when the site does not say) |
rating | number | 5 |
reviewCount | integer | 12 |
category | string | "Dietética y Nutrición > Suplementos alimenticios" |
packFormat | string | "60 uds" |
isOtc | boolean | false |
imageUrl | string | "https://assets.dosfarma.com/transform/..." |
url | string | "https://www.dosfarma.com/54216-solaray-vitamina-d3-y-k2..." |
productDescription | string | "Suplemento alimenticio con vitamina D3 y K2..." |
source | string | "dosfarma.com" |
country | string | "ES" |
scrapedAt | string | "2026-08-18T14:00:00.000Z" |
Example output
{"name": "Solaray Vitamina D3 y K2 60 Cápsulas Vegetales","brand": "Solaray","price": 18.99,"originalPrice": 23.81,"discountPercent": 20,"currency": "EUR","sku": "997303996123","productId": "54216","inStock": true,"rating": 5,"reviewCount": 12,"category": "Dietética y Nutrición > Suplementos alimenticios","packFormat": "60 uds","isOtc": false,"imageUrl": "https://assets.dosfarma.com/transform/9f60c610-bdfa-48a9-a3ef-32868571f441/Solaray-Vitamina-D3-y-K2-MK7-Solaray-60-Capsulas-Vegetales","url": "https://www.dosfarma.com/54216-solaray-vitamina-d3-y-k2-mk7-60-capsulas-vegetales.html","productDescription": "Suplemento alimenticio con vitamina D3 y K2...","source": "dosfarma.com","country": "ES","scrapedAt": "2026-08-18T14:00:00.000Z"}
Cost estimate
Pricing is pay-per-result: a small start fee per run plus a fee per product returned, about $0.002 per result. $1 gets you roughly 400-500 products including run overhead. A 100-product search typically costs about $0.20-0.25 and finishes in under a minute. Runs use minimal compute because the data comes from a search API, not a rendered website.
Note: a run's usage cost only settles after the run reports SUCCEEDED. Reading the dataset mid-run shows a partial cost that can be far lower than the final settled amount.
Limitations
- Product data comes from DosFarma's own search index. Fields the index does not carry (e.g., EAN barcodes or per-unit prices) are not included;
skuis DosFarma's internal reference code. inStockis null when the index does not state availability for an item, and stock status reflects the index at scrape time, which can lag the live site slightly.- Prescription-only medicines are not sold on DosFarma, so the catalogue covers parapharmacy: OTC products, vitamins, supplements, cosmetics, hygiene, baby care and optics.
- Search relevance is DosFarma's own: broad terms can match related products (the same behaviour you see in the site's search box).
- One category can be selected per run. To scrape several categories, start one run per category.