# Gintarinė Scraper — Lithuania Pharmacy Products & Prices (`studio-amba/gintarine-lt-scraper`) Actor

Scrape products, prices, brands, EANs, and stock status from Gintarinė (gintarine.lt), Lithuania's largest pharmacy chain. Fills the Baltic pharmacy coverage gap left by the BENU chain multiplier.

- **URL**: https://apify.com/studio-amba/gintarine-lt-scraper.md
- **Developed by:** [Studio Amba](https://apify.com/studio-amba) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 result scrapeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Gintarinė Pharmacy Scraper (Lithuania)

Extract pharmacy product data from [gintarine.lt](https://www.gintarine.lt), one of Lithuania's largest pharmacy chains, with hundreds of stores nationwide and a full online catalog. Give the actor a search keyword and get back clean JSON with product names, brands, prices, SKUs, stock status, and a prescription flag.

Gintarinė sits alongside Eurovaistinė and the BENU chain as one of the major national pharmacy networks in Lithuania. This actor is a different build on a different platform (a plain nopCommerce site, not Luigi's Box or the Eurovaistinė stack), so it covers Gintarinė's own catalog and pricing specifically.

### How to scrape Gintarinė data

1. Enter a **search query** in Lithuanian, for example `vitaminas`, `aliejus`, or `ibuprofenas`.
2. Set **maxResults** for how many products you want back.
3. Optionally turn on **fetchProductDetails** if you also need the EAN/GTIN barcode and an accurate in-stock flag — this visits each product's detail page and roughly doubles the number of requests.
4. Run the actor. Results land in the dataset as one JSON object per product, in the order the site returns them (its own relevance ranking).

If you leave the search query empty, the actor falls back to a broad default keyword (`vitaminas`) so a run always returns data.

### Why use this actor

- **Price monitoring**: track OTC medicine, supplement, and personal-care prices at one of Lithuania's largest pharmacy chains.
- **Prescription flag included**: every result is marked `prescriptionRequired: true` or `false`, read directly from the site's own "Receptinis vaistas" (prescription medicine) badge — useful for filtering out items that legally can't be delivered, or for comparing OTC assortments only.
- **Barcode matching**: with `fetchProductDetails` on, most non-prescription products expose an EAN/GTIN barcode, so you can match Gintarinė's assortment against other pharmacies or your own catalog.
- **Stock checks**: with `fetchProductDetails` on, each product carries an in-stock flag where the site states one.

No login, no cookies, and no browser automation. The actor reads the site's own server-rendered search results page, which makes runs fast and cheap.

### Input

| Field | Type | Description |
|---|---|---|
| `searchQuery` | string | Product keyword in Lithuanian. Falls back to `vitaminas` when empty. |
| `maxResults` | integer | Maximum products to return. Default 100, hard cap 5,000. |
| `fetchProductDetails` | boolean | OFF by default. When ON, the actor fetches each product's detail page for the EAN/GTIN barcode and an accurate in-stock flag. Roughly doubles requests and run time. |
| `proxyConfiguration` | object | Apify proxy settings. The default automatic pool suffices; no residential proxy is needed. |

#### Example input

```json
{
    "searchQuery": "vitaminas",
    "maxResults": 200,
    "fetchProductDetails": true
}
```

### Output

One JSON object per product:

| Field | Example | Notes |
|---|---|---|
| `name` | `"AMBIO VITAMINAS C 1000mg, 30 tablečių"` | Full product name |
| `brand` | `"AMBIO"` | Brand or manufacturer, `null` if the site doesn't list one |
| `price` | `4.98` | Current online selling price |
| `currency` | `"EUR"` | Always EUR |
| `ean` | `"4771544223502"` | EAN/GTIN barcode. `null` unless `fetchProductDetails` is on |
| `sku` | `"85480"` | Site-internal SKU |
| `category` | `"Aliejus"` | Category name as shown on the listing card |
| `inStock` | `true` | `true`, `false`, or `null` — null unless `fetchProductDetails` is on and the site states availability |
| `prescriptionRequired` | `false` | `true` when the listing carries the "Receptinis vaistas" badge |
| `url` | `"https://www.gintarine.lt/..."` | Product page |
| `imageUrl` | `"https://gintarinestorageprod.blob.core.windows.net/..."` | Product image |
| `description` | `null` | Truncated to 2000 characters. Only populated when `fetchProductDetails` is on and the site has one |
| `source` | `"gintarine.lt"` | Fixed |
| `country` | `"LT"` | Fixed |
| `scrapedAt` | `"2026-09-07T09:11:22.620Z"` | Scrape timestamp |

#### Example output

```json
{
    "name": "AMBIO KIDS MULTIVITAMINAI VAIKAMS, 50 guminukų",
    "brand": "AMBIO",
    "price": 11.98,
    "currency": "EUR",
    "ean": "4771544223502",
    "sku": "88524",
    "category": null,
    "inStock": true,
    "prescriptionRequired": false,
    "url": "https://www.gintarine.lt/ambio-multivitaminai-vaikams-50-guminuku",
    "imageUrl": "https://gintarinestorageprod.blob.core.windows.net/gintarine/0058552_ambio-kids-multivitaminai-vaikams-50-guminuku.jpeg",
    "description": null,
    "source": "gintarine.lt",
    "country": "LT",
    "scrapedAt": "2026-09-07T09:11:22.620Z"
}
```

### Cost

Pricing is pay-per-event: a small flat fee per run start plus $0.002 per result. A 500-product run without `fetchProductDetails` costs about $1.00 plus a few cents of platform usage. Turning `fetchProductDetails` on roughly doubles the number of requests (and therefore compute usage), since it adds one product-page fetch per result, though the per-result price stays the same. Runs are HTTP-only (no browser), so compute usage stays low either way.

Note that a run's usage cost only settles after the run reports SUCCEEDED. Reading the dataset mid-run shows a cost far lower than the final one, so estimate spend from finished runs only.

### Limitations

- The search page returns 24 results per page (the site clamps its own `pagesize` parameter, verified up to 500) — this is a fixed ceiling, not a bug.
- There is no full-catalog browse mode; results are always scoped to a search query (or the built-in default keyword). To cover the whole catalog, run several searches across your keywords of interest.
- `ean` and `inStock` are `null` unless `fetchProductDetails` is turned on — the search listing itself doesn't expose them.
- Prescription-only medicines (`prescriptionRequired: true`) are shown with an online reference price, but Lithuanian law restricts how these can actually be dispensed — treat the price as indicative, not a guaranteed checkout price.
- Data is scraped from the public website and may change without notice.

### Maintained by Studio Amba

We run 700+ scrapers for European websites, and the priority is keeping every one of them working. Automated runs test this actor against the live site and verify the output is complete. When the website changes, the scraper usually gets repaired the same day, without you having to report anything. Questions and issues go straight to the people who built it, and most get an answer the same day.

### Need this data on a schedule, or a custom version?

We run this scraper as a managed service for businesses: scheduled runs, deduplication, delta detection, and delivery to your inbox, Google Sheets, or API, maintenance included. We can also build a custom version with your exact fields and filters, or combine multiple sources into one feed.

See [studioamba.dev/services](https://studioamba.dev/services/) or email <hello@studioamba.dev> for a free data sample.

### Related actors

- [BENU Pharmacy Scraper](https://apify.com/jelledesramaults/benu-scraper) for the BENU chain in Slovakia, Lithuania, Latvia, and Estonia
- [BENU Hungary Scraper](https://apify.com/jelledesramaults/benu-hu-scraper) for benu.hu
- [Eurovaistine Scraper](https://apify.com/jelledesramaults/eurovaistine-scraper) for another major Lithuanian pharmacy chain
- [DrMax Scraper](https://apify.com/jelledesramaults/drmax-scraper) for the Dr.Max pharmacy chain (CZ, SK, PL, RO)
- [Apotheka Scraper](https://apify.com/jelledesramaults/apotheka-ee-scraper) for Estonia

# Actor input Schema

## `searchQuery` (type: `string`):

Search for products by name or keyword, in Lithuanian (e.g. 'vitaminas', 'aliejus', 'ibuprofenas'). Leave empty to use the default keyword below.

## `maxResults` (type: `integer`):

Maximum number of products to return.

## `fetchProductDetails` (type: `boolean`):

OFF by default. When enabled, the actor visits each product's detail page for an extra request per item to add the EAN/GTIN barcode and an accurate in-stock status (schema.org availability). With this OFF, 'ean' is always null and 'inStock' is null unless the listing itself flags the item as prescription-only. This roughly doubles the number of requests and run time.

## `proxyConfiguration` (type: `object`):

Proxy settings. gintarine.lt serves plain HTML with no anti-bot wall (verified in recon, Sep 2026) and is not geo-locked (fetched clean from a non-Lithuanian IP) — Apify's automatic/free proxy pool is sufficient, no residential proxy needed.

## Actor input object example

```json
{
  "searchQuery": "vitaminas",
  "maxResults": 20,
  "fetchProductDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "searchQuery": "vitaminas",
    "maxResults": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("studio-amba/gintarine-lt-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "searchQuery": "vitaminas",
    "maxResults": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("studio-amba/gintarine-lt-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searchQuery": "vitaminas",
  "maxResults": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call studio-amba/gintarine-lt-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,studio-amba/gintarine-lt-scraper"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/Gb4B10XfY2yCbwsdB/builds/Qtwfvwol5UnBohRmz/openapi.json
