# Drogas La Rebaja Scraper - Pharmacy Prices & Stock (Colombia) (`youthful_colleague/drogas-la-rebaja-scraper`) Actor

Scrape medicine and pharmacy prices, discounts, stock and EAN barcodes from larebajavirtual.com (Drogas La Rebaja, Colombia). Search by product name, active ingredient or barcode. No browser, no login. Pay per product.

- **URL**: https://apify.com/youthful_colleague/drogas-la-rebaja-scraper.md
- **Developed by:** [José S](https://apify.com/youthful_colleague) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.10 / 1,000 products

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?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

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

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Drogas La Rebaja Scraper - Pharmacy Prices & Stock (Colombia)

Get **medicine and pharmacy prices from Drogas La Rebaja** (larebajavirtual.com), one of the largest drugstore chains in Colombia. Search by product name, active ingredient or barcode and receive the selling price, the regular price, the discount, stock status and the EAN of every presentation, in Colombian pesos (COP).

En español: scraper de Drogas La Rebaja para consultar **precios de medicamentos en La Rebaja**, descuentos y disponibilidad en la droguería virtual, por nombre, principio activo o código de barras.

### Why pharmacy data needs care

At La Rebaja the same medicine is often sold in more than one presentation: a single blister, a full box or a kit. Each one is a separate SKU with its own price, so a search for "acetaminofen 500 mg" can return several rows for the same brand. Every row includes `skuId`, `ean` and `url`, so you can tell them apart and keep the presentation you need.

### Data you get

| Field | Example |
|---|---|
| `name` | ACETAMINOFEN 500 MG (GENFAR) |
| `brand` (laboratory) | GENFAR |
| `price` / `listPrice` | 18820 / 25100 COP |
| `discountPct` | 25 |
| `isAvailable` | true |
| `ean` | 7702605100019 |
| `category` | DROGUERIA > DOLOR E INFLAMACION > DOLOR DE CABEZA Y GENERAL |
| `url`, `imageUrl` | product page and photo |

### Sections of the store you can search

- **DROGUERIA**: dolor e inflamación, gripa y tos, medicamentos con fórmula médica, salud digestiva.
- **DERMOCOSMETICA** and **BELLEZA**: protectores solares, cremas, maquillaje.
- **MATERNIDAD Y BEBES**: pañales, fórmulas infantiles, pañitos.
- **CUIDADO PERSONAL**: shampoo, desodorantes, cuidado oral.
- **MEDICAMENTOS NATURALES**, **ALIMENTOS Y BEBIDAS**, **MASCOTAS** and **HOGAR**.

Good search terms: "acetaminofen", "loratadina", "omeprazol", "suero oral", "pañales etapa 3", "protector solar".

### Who uses it

- **Pharmaceutical laboratories and distributors** that want to see the shelf price and the promotions of their products, and of generic alternatives, at a national chain.
- **Health and price comparison apps** that show where a medicine is cheaper in Colombia.
- **Market researchers** following the price of a basket of over-the-counter medicines over time.
- **Pharmacies** that benchmark their own price list against a big competitor.
- **AI assistants** connected through the Apify MCP server ("how much is loratadina at La Rebaja?").

### Input example

```json
{
    "searchTerms": ["loratadina", "omeprazol 20 mg"],
    "eans": ["7702605100019"],
    "maxResultsPerQuery": 30,
    "maxItems": 300,
    "sort": "priceAsc",
    "onlyAvailable": true
}
```

The default input searches "acetaminofen" and returns 10 products in a few seconds.

### Output example

Real row from a run on 15-nov-2026:

```json
{
    "store": "larebaja-co",
    "storeName": "Drogas La Rebaja",
    "country": "CO",
    "currency": "COP",
    "currencyGuessed": false,
    "productId": "22692",
    "skuId": "23291",
    "name": "ACETAMINOFEN 500 MG (GENFAR)",
    "brand": "GENFAR",
    "ean": "7702605100019",
    "price": 18820,
    "listPrice": 25100,
    "discountPct": 25,
    "isAvailable": true,
    "sellerName": "La Rebaja",
    "sellerCount": 1,
    "measurementUnit": "un",
    "unitMultiplier": 1,
    "category": "DROGUERIA > DOLOR E INFLAMACION > DOLOR DE CABEZA Y GENERAL",
    "url": "https://www.larebajavirtual.com/kit-acetaminofen-500-mg-genfar-38045/p",
    "imageUrl": "https://copservir.vteximg.com.br/arquivos/ids/1935401/ACETAMINOFEN-GENFAR--500-MG_F.png?v=639155461701970000",
    "matchedBy": "searchTerm",
    "query": "acetaminofen",
    "scrapedAt": "2026-11-15T00:21:01.999Z"
}
```

### Cost

You pay per product row: **$0.0015 per product ($1.50 per 1,000)** on Free and Bronze plans, less on Silver and Gold, plus the Apify start fee of $0.00005 per run. Platform usage is included. Example: tracking 100 medicines every day for a month is about 3,000 rows, or $4.50.

Set **Max products in total** to cap the cost of any run. The Actor stops cleanly when it reaches that number or the maximum cost you set in Apify.

### Notes

- The Actor reads only public catalog data (no login, no prescriptions, no customer data).
- It is gentle with the website: one request per second at most to the store, 50 products per request.
- The store decides the order of search results. For an exact product, search by EAN.
- Prices are the ones shown online and may differ from prices in physical drugstores.

### Related scrapers

- [LatAm Supermarket & Pharmacy Price Scraper](https://apify.com/youthful_colleague/latam-supermarket-prices): compare La Rebaja with Locatel, Pague Menos (Brazil) and 10 supermarkets in a single run, by EAN.
- [Locatel Colombia Scraper](https://apify.com/youthful_colleague/locatel-colombia-scraper), the other Colombian pharmacy chain covered.
- [Olimpica Scraper](https://apify.com/youthful_colleague/olimpica-scraper), which also sells medicines.

### Disclaimer

This Actor is not affiliated with, endorsed by or sponsored by Drogas La Rebaja or its owners. The name is used only to identify the public website the data comes from. You are responsible for using the data lawfully and according to the website's terms. The data is not medical advice.

### Support

Found a problem or need a new field? Open an issue on the **Issues** tab.

# Actor input Schema

## `searchTerms` (type: `array`):

Keywords to search in Drogas La Rebaja, in the store's language, for example "acetaminofen", "loratadina" or "pañales etapa 3". Each term is searched separately.

## `eans` (type: `array`):

Optional. Barcodes (8 to 14 digits) to look up in Drogas La Rebaja. Use it to track the exact same product over time or to match it with other stores.

## `maxResultsPerQuery` (type: `integer`):

How many products to collect for each search term (or barcode) in each store. The store API allows up to 2,550.

## `maxItems` (type: `integer`):

Hard cap for the whole run. The run stops when it is reached, so you never pay for more than this.

## `sort` (type: `string`):

Order in which the store returns products. Useful with a low product limit, for example to get only the biggest discounts.

## `onlyAvailable` (type: `boolean`):

Skip products the store shows as unavailable.

## `deduplicate` (type: `boolean`):

If the same product appears for two search terms in the same store, keep it only once (you are charged once).

## `includeDescription` (type: `boolean`):

Add the store's product description as plain text (up to 2,000 characters). Makes the dataset larger.

## `maxRequestsPerMinute` (type: `integer`):

Speed limit for the run, to stay polite with Drogas La Rebaja. Each request returns up to 50 products, with at least 1 second between requests.

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

Usually not needed. Turn it on only if Drogas La Rebaja blocks requests from your region.

## Actor input object example

```json
{
  "searchTerms": [
    "acetaminofen"
  ],
  "maxResultsPerQuery": 10,
  "maxItems": 1000,
  "sort": "relevance",
  "onlyAvailable": false,
  "deduplicate": true,
  "includeDescription": false,
  "maxRequestsPerMinute": 60,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `products` (type: `string`):

One row per Drogas La Rebaja product SKU, with price, list price, discount, stock and EAN.

## `runSummary` (type: `string`):

Products found, requests made and any errors.

# 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 = {
    "searchTerms": [
        "acetaminofen"
    ],
    "maxResultsPerQuery": 10,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("youthful_colleague/drogas-la-rebaja-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 = {
    "searchTerms": ["acetaminofen"],
    "maxResultsPerQuery": 10,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("youthful_colleague/drogas-la-rebaja-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 '{
  "searchTerms": [
    "acetaminofen"
  ],
  "maxResultsPerQuery": 10,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call youthful_colleague/drogas-la-rebaja-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,youthful_colleague/drogas-la-rebaja-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/x6pOELBQ06v2WEf0k/builds/vi2tbIhyGOjCFMnsa/openapi.json
