Apotheka Latvia Scraper - Pharmacy Products & Prices
Pricing
Pay per usage
Apotheka Latvia Scraper - Pharmacy Products & Prices
Scrape products, prices, and availability from Apotheka.lv -- Latvia's largest pharmacy chain. Supports search queries and category browsing. Extracts medications, vitamins, supplements, and health products. No login required.
Pricing
Pay per usage
Rating
0.0
(0)
Developer
Studio Amba
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
3 days ago
Last modified
Categories
Share
Apotheka Latvia Scraper -- Pharmacy Products, Prices & Stock from Latvia's Largest Pharmacy Chain
Extract products, prices, brands, EAN codes, availability, and categories from Apotheka.lv -- the largest pharmacy chain in Latvia and part of the BENU/Phoenix Group operating across the Baltic states. The platform sells medications, vitamins, supplements, personal care, baby products, beauty items, and health devices.
What is Apotheka Latvia Scraper?
Apotheka is the leading pharmacy retailer in Latvia with over 90 physical stores and a full online pharmacy (e-aptieka). As part of the Phoenix Group (Europe's largest pharmaceutical distributor), Apotheka is the primary pricing reference for the Latvian pharmacy and health products market. Their online catalogue covers thousands of products including non-prescription medications, dietary supplements, medical devices, and cosmetics.
This actor uses PlaywrightCrawler to handle Apotheka's Magento-based, JavaScript-rendered product pages. It extracts product data from JSON-LD structured data and HTML DOM parsing across search results, category pages, and individual product pages. No login or cookies required. What people build with it:
- Pharmacy pricing intelligence -- competing pharmacies and distributors monitor Apotheka's prices to maintain market-competitive positioning in the Latvian pharmaceutical sector.
- Health product market research -- supplement manufacturers and consumer health brands track how their products are priced, described, and positioned on Latvia's largest pharmacy platform.
- Regulatory compliance monitoring -- pharmaceutical industry bodies track product availability, pricing, and marketing claims on Latvian pharmacy platforms.
- Product catalogue enrichment -- health tech platforms and comparison sites use Apotheka's structured product data (EAN codes, descriptions, images) to populate their own databases.
- Baltic market analysis -- analysts studying the Baltic pharmacy market use Apotheka data alongside Estonian and Lithuanian pharmacy data for cross-border pricing comparisons.
How to scrape Apotheka Latvia data
| Field | Type | Required | Description |
|---|---|---|---|
searchQuery | String | No | Search by keyword in Latvian: "vitamini" (vitamins), "ibuprofens" (ibuprofen), "saaukstesanas" (cold) |
categoryUrl | String | No | Apotheka.lv category URL, e.g. https://www.apotheka.lv/produkti/veseliba/vitamini-un-mineralvielas/vitamini |
maxResults | Integer | No | Maximum products to return (default: 100, max: 10,000) |
proxyConfiguration | Object | No | Proxy settings (residential proxies with LV country code recommended) |
Tips:
- Use Latvian keywords for best coverage:
"vitamini"(vitamins),"minerali"(minerals),"skaistums"(beauty),"bernu"(children's products),"zobu"(dental). - Apotheka.lv uses Magento with JavaScript-rendered product pages. Residential proxies with Latvia country code give the best results.
- For category-wide scraping, browse apotheka.lv to find the category URL and paste it into
categoryUrl. - The actor tries JSON-LD structured data extraction first, falls back to DOM parsing, and can follow individual product links as a last resort.
- Default search query is
"vitamini"(vitamins) when no input is provided -- the actor always returns data on empty input.
Output
Each product record includes:
| Field | Type | Description |
|---|---|---|
productName | String | Full product name in Latvian |
brand | String | Brand or manufacturer name |
price | Number | Current selling price in EUR |
originalPrice | Number | Original price before discount (if on sale) |
currency | String | "EUR" |
inStock | Boolean | Whether the product is currently in stock |
ean | String | EAN/GTIN barcode for product identification |
category | String | Product category from breadcrumbs |
imageUrl | String | Primary product image URL |
url | String | Direct product page link on apotheka.lv |
scrapedAt | String | ISO 8601 timestamp when data was collected |
Example output
{"productName": "MULTI B STRONG, 100 tabletes B grupas vitamini","brand": "Multi B Strong","price": 8.99,"originalPrice": 11.49,"currency": "EUR","inStock": true,"ean": "4751016200123","category": "Vitamini","imageUrl": "https://www.apotheka.lv/media/catalog/product/multi-b-strong-100.jpg","url": "https://www.apotheka.lv/multi-b-strong-100-tabletes-b-grupas-vitamini-pmm0023545lv","scrapedAt": "2026-06-09T14:30:00.000Z"}
How much does it cost?
This actor uses PlaywrightCrawler, which consumes more compute units than HTTP-based scrapers due to browser overhead.
| Volume | Estimated CUs | Estimated Cost |
|---|---|---|
| 50 products | ~0.10 | ~$0.05 |
| 100 products | ~0.20 | ~$0.10 |
| 500 products | ~0.80 | ~$0.40 |
| 1,000 products | ~1.50 | ~$0.75 |
Residential proxies add to the per-request proxy cost but improve reliability on the Magento platform.
Can I integrate?
Connect Latvian pharmacy data to your tools:
- Google Sheets -- track pharmacy prices across the Latvian market
- Slack -- get alerts when specific medications or supplements go on sale
- Zapier / Make -- automate pricing updates for competing pharmacies or health stores
- Webhooks -- stream product data to your pharmacy comparison platform
- PostgreSQL / BigQuery -- build a historical Latvian pharmacy pricing database
- Power BI -- visualise pricing trends across pharmacy product categories
Can I use it as an API?
Yes. Build Latvian pharmacy intelligence into your stack:
Python:
from apify_client import ApifyClientclient = ApifyClient("YOUR_API_TOKEN")run = client.actor("studio-amba/apotheka-lv-scraper").call(run_input={"searchQuery": "vitamini","maxResults": 50,"proxyConfiguration": {"useApifyProxy": True, "apifyProxyGroups": ["RESIDENTIAL"], "apifyProxyCountry": "LV"},})for product in client.dataset(run["defaultDatasetId"]).iterate_items():stock = "Pieejams" if product.get("inStock") else "Nav"print(f"{product['productName']} | {product['price']} EUR | {stock}")
JavaScript:
import { ApifyClient } from "apify-client";const client = new ApifyClient({ token: "YOUR_API_TOKEN" });const run = await client.actor("studio-amba/apotheka-lv-scraper").call({searchQuery: "vitamini",maxResults: 50,proxyConfiguration: { useApifyProxy: true, apifyProxyGroups: ["RESIDENTIAL"], apifyProxyCountry: "LV" },});const { items } = await client.dataset(run.defaultDatasetId).listItems();const onSale = items.filter((p) => p.originalPrice && p.originalPrice > p.price);console.log(`${onSale.length} products on sale:`);onSale.forEach((p) => {const discount = Math.round((1 - p.price / p.originalPrice) * 100);console.log(` ${p.productName} | ${p.price} EUR (was ${p.originalPrice}, -${discount}%)`);});
FAQ
What products does Apotheka.lv sell? Apotheka sells non-prescription medications, vitamins, dietary supplements, medical devices, personal care products, baby products, beauty items, and health devices. Prescription medications are not available through the public online catalogue.
Is all data in Latvian? Yes. Product names, descriptions, and categories are in Latvian. The platform serves the Latvian market.
Why do I need residential proxies? Apotheka.lv runs on Magento with JavaScript-rendered product pages. Residential proxies with a Latvian IP address provide the most reliable access. The actor works without proxies for small runs but may encounter blocks on larger scraping jobs.
What is the product URL format?
Individual products use the pattern: apotheka.lv/[product-name]-[pmm-code]lv, for example apotheka.lv/multi-b-strong-100-tabletes-b-grupas-vitamini-pmm0023545lv.
Does it handle pagination?
Yes. The actor follows Magento's ?p=N pagination pattern and "next page" links to crawl through multi-page search results and category listings.
Limitations
- Apotheka.lv is a Magento store with JavaScript-rendered product pages. A PlaywrightCrawler (browser) is required, which uses more compute units than HTTP-only scrapers.
- Not all products have EAN codes in their structured data.
- Product availability may differ between online and physical Apotheka stores.
- Categories and product structures may change as Apotheka updates their website.
- The actor crawls sequentially (one page at a time) to maintain session stability and avoid detection.
Related Baltic and European pharmacy scrapers
- Apotheka Estonia Scraper -- Same pharmacy chain in Estonia
- Apotea Scraper -- Sweden's largest online pharmacy
- Apotek Hjartat Scraper -- Sweden's second-largest pharmacy chain
- Multipharma Scraper -- Belgian pharmacy chain
- Newpharma Scraper -- European online pharmacy
- Shop Apotheke Scraper -- Europe's largest online pharmacy (DE/AT/FR/BE/IT/CH)
Your feedback
Need specific pharmacy categories, deeper product specification parsing, or cross-Baltic price comparisons? Open an issue on GitHub or contact us through the Apify platform. We build what users need.