# Farmatodo Scraper - Colombia & Venezuela Pharmacy Prices (`fabrikit/farmatodo-scraper`) Actor

Scrape Farmatodo Colombia and Venezuela: product, brand, supplier, regular/offer/Prime prices, city price range, stock by store count, units sold, barcode, Rx flag. Search, filters or full catalog. From US$3 per 1,000 products.

- **URL**: https://apify.com/fabrikit/farmatodo-scraper.md
- **Developed by:** [Fabrikit](https://apify.com/fabrikit) (community)
- **Categories:** E-commerce, Automation, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 product scrapeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## Farmatodo Scraper — Colombia & Venezuela Pharmacy Prices

Scrape the product catalog of **Farmatodo**, the pharmacy and drugstore chain in **Colombia** (farmatodo.com.co) and **Venezuela** (farmatodo.com.ve), into clean JSON: product name, brand, supplier (laboratory or distributor), presentation, category, **regular price, offer price and Farmatodo Prime member price**, the **price range across cities**, **how many stores have it in stock**, **units sold**, **barcode (EAN/GTIN)**, **prescription (Rx) flag** and active ingredient (Venezuela).

Search by keyword, filter by category, brand/supplier, promotion, stock, seller and Rx status, or switch on **full catalog mode** to export every listed product: about **32,400 in Colombia** (13,500 sold by Farmatodo plus 18,900 marketplace listings) and **14,400 in Venezuela**, as of October 2026.

- **Fast and light.** No browser, no login. The Actor uses the store's public product search API (the one its own website calls), so thousands of products take seconds.
- **Gets past the 1,000-result cap.** The search API stops at 1,000 results per query. Full catalog mode splits the catalog into SKU ranges until each one fits, so you get all of it, deduplicated.
- **Keys stay up to date.** On every run the Actor reads the current search-API key and index from the store's own web page, and falls back to the last known-good values if the page can't be read.

### Who uses this data

- **Pharma, OTC and personal-care manufacturers:** check shelf prices, promotions, Prime discounts and store coverage (stores with stock) for your products and your competitors' products.
- **Distributors and category managers:** see assortment by supplier and category, Rx vs OTC, and best-sellers ranked by units sold.
- **Regulators, researchers and journalists:** monitor medicine prices and availability over time, in Colombia and in Venezuela's bolívar economy.
- **Price-comparison and health apps:** get product, price, barcode and image data with stable SKUs and product URLs.

### How to use

1. Choose the **country**: `colombia`, `venezuela` or `both`.
2. Type one or more **keywords** (`acetaminofen`, `protector solar`, `losartan`, a brand or a barcode), or switch on **Full catalog mode**.
3. Optionally narrow by **categories** (store names such as `Salud y medicamentos`, `Alivio del dolor`, `Cuidado de la piel`), **brands / suppliers** (`Dolex`, `Genfar`, `TECNOQUIMICA MK`), **only in stock**, **only on promotion**, **seller** (Farmatodo itself or marketplace sellers), **prescription** (Rx only / OTC only) and **include delisted products**.
4. Set **Max products** and click **Start**. Export as JSON, CSV or Excel, or use the API, webhooks, Make, Zapier or Google Sheets.

#### Example inputs

Default (quick test):

```json
{ "country": "colombia", "keywords": ["acetaminofen"], "maxItems": 50 }
```

Every active promotion in Colombia, Farmatodo's own catalog only:

```json
{
    "country": "colombia",
    "fullCatalog": true,
    "onlyOnPromo": true,
    "sellerType": "store",
    "maxItems": 10000
}
```

Prescription drugs from two suppliers in stock in Venezuela:

```json
{
    "country": "venezuela",
    "keywords": [],
    "brands": ["Calox", "Leti"],
    "prescription": "rx_only",
    "onlyInStock": true,
    "maxItems": 2000
}
```

Both full catalogs (about 46,800 products):

```json
{ "country": "both", "fullCatalog": true, "maxItems": 50000 }
```

### Output

One item per product and country. This is a real item:

```json
{
    "id": "farmatodo-co:1053403",
    "store": "Farmatodo",
    "country": "CO",
    "currency": "COP",
    "sku": "1053403",
    "name": "X-Ray Dol Acetaminofén + Naproxeno + Cafeina 250mg/220mg/65mg Genomma x 12 Tabletas",
    "brand": "X Ray",
    "manufacturer": "GENOMMA OTC",
    "presentation": "x 12 Tabletas",
    "categoryPath": "Salud y medicamentos > Alivio del dolor > Dolor general",
    "categories": ["Salud y medicamentos", "Alivio del dolor", "Dolor general"],
    "url": "https://www.farmatodo.com.co/producto/1053403-analgesico-xray-dol-multiples-dolores-x-12-tabletas",
    "image": "https://product-images.farmatodo.com/1lnLwQvWAsvKR9wybH_Cp7u5W4LlsLDfZ2kQoEnptJfjUusrw...",
    "price": 23900,
    "minCityPrice": 23900,
    "maxCityPrice": 23900,
    "promoPrice": 19120,
    "promoLabel": "1ra Compra Bienestar",
    "promoEndsAt": "2026-10-05T04:59:00.000Z",
    "cardPrice": 17925,
    "cardPriceLabel": "Farmatodo Prime",
    "discountPercent": 20,
    "inStock": true,
    "storesWithStock": 141,
    "totalStock": null,
    "unitsSold": 11511,
    "gtin": "650240028199",
    "activeIngredient": null,
    "rxRequired": false,
    "sanitaryRegistration": null,
    "sellerType": "store",
    "sellerName": "Farmatodo",
    "description": "Tabletas X-Ray Dol Genomma (Caja x 12 tabletas); formuladas con acetaminofén (250 mg), naproxeno (220 mg) y cafeína (65 mg) para el alivio de dolores musculares, articulares, de cabeza y estados febriles.",
    "searchKeyword": "acetaminofen",
    "scrapedAt": "2026-10-12T17:21:16.621Z"
}
```

| Field | Description |
|---|---|
| `id` | `farmatodo-co:sku` or `farmatodo-ve:sku`, stable across runs |
| `store`, `country`, `currency` | `Farmatodo`, `CO` or `VE`, `COP` or `VES` |
| `sku` | Farmatodo item number |
| `name`, `presentation` | Product name and pack (`Caja x 20 Tabletas`, `Frasco x 90 ml`) |
| `brand`, `manufacturer` | Brand and the supplier the store lists for it (laboratory or distributor, e.g. `GENFAR S.A.`, `HALEON OTC`). Venezuela doesn't publish the supplier, so `manufacturer` is `null` there |
| `categoryPath`, `categories` | Department › category › subcategory, and all category names |
| `url`, `image` | Product page and main image |
| `price` | Regular price (the store's default price) |
| `minCityPrice`, `maxCityPrice` | Lowest and highest regular price across the cities the store prices separately (they differ for about 10% of products in Colombia and most products in Venezuela) |
| `promoPrice`, `promoLabel`, `promoEndsAt` | Current offer price, its label and end date as published, `null` when there is no offer |
| `cardPrice`, `cardPriceLabel` | Farmatodo Prime member price, `null` when there is none |
| `discountPercent` | Offer discount the store shows, or the computed best discount |
| `inStock` | `true` when at least one store has it in stock, or a marketplace seller has units |
| `storesWithStock` | Number of physical stores with stock |
| `totalStock` | Units available, published only for marketplace listings |
| `unitsSold` | The store's units-sold counter (the one it ranks products by) |
| `gtin` | Barcode (EAN-13/UPC, check digit validated) |
| `activeIngredient` | Active ingredient and strength (Venezuela; Colombia doesn't publish it) |
| `rxRequired` | `true` when the store requires a medical prescription |
| `sanitaryRegistration` | INVIMA / sanitary registration number when it appears in the description |
| `sellerType`, `sellerName` | `store` (Farmatodo) or `marketplace` (third-party seller on farmatodo.com.co) |
| `description` | Product description as plain text |
| `searchKeyword` | The keyword that found the product (`null` in full catalog mode) |
| `scrapedAt` | ISO timestamp |

The run also stores a `SUMMARY` record in the key-value store with the visible catalog size per country, matches per keyword, number of requests and which search-API key was used.

### Pricing

Pay per event. You only pay for products saved to the dataset:

| Event | Price |
|---|---|
| Actor start | US$0.00005 per run (per GB of memory) |
| `product-result`: one product saved to the dataset | **US$0.003** (US$3 per 1,000 products) |

A 50-product keyword search costs about US$0.15. The full Colombian catalog (about 32,400 products) costs about US$97.

### FAQ

**Is a proxy needed?** No. The requests go to the public search API that the store's website calls, and that API answers Apify's servers directly. If it ever starts refusing them, the Actor switches to a residential proxy on its own.

**Which city's price is `price`?** The default price the store shows before you pick a city. `minCityPrice`/`maxCityPrice` show how much it varies between cities.

**What does `unitsSold` cover?** It's the counter the store uses to rank products by sales. Farmatodo doesn't say what period it covers, so use it to rank products, not as audited sales figures.

**Why is `totalStock` empty for most products?** Farmatodo publishes stock as the list of stores holding each product (`storesWithStock`). Unit counts appear only for marketplace listings.

**What are delisted products?** Records the store keeps in its index but hides from the website (out of assortment, discontinued). Turn on `includeDelisted` to include them.

**Is full catalog mode complete?** It returns every listed product that has a numeric SKU: 32,401 of 32,401 in Colombia and 14,421 of 14,423 in Venezuela in our last check. The 2 missing Venezuelan records have no numeric SKU in the store's index, so only a keyword search can reach them.

**Why did a full export come back smaller than usual?** The store rebuilds its search index from time to time, and while that runs it briefly reports fewer products. The Actor checks the count again at the end and logs a warning (`indexChangedDuringRun` in `SUMMARY`) when it changed. If `catalogSize` in `SUMMARY` is far below the usual size (about 32,400 for Colombia), run it again a little later.

**Category or brand names return 0 results?** They must match the store's own names (case-insensitive). Run a keyword search first and copy the values from `categories`, `brand` or `manufacturer`.

### En español

**Scraper de Farmatodo** (Colombia y Venezuela): extrae el catálogo de la cadena de droguerías con nombre, marca, proveedor/laboratorio, presentación, categoría, **precio regular, precio oferta y precio Prime**, rango de precios por ciudad, **número de tiendas con stock**, **unidades vendidas**, **código de barras (EAN)**, **si requiere fórmula médica** y principio activo (Venezuela). Puedes buscar por palabra clave, filtrar por categoría, marca o proveedor, ofertas, stock, vendedor y fórmula médica, o activar el **modo catálogo completo** (unos 32.400 productos en Colombia y 14.400 en Venezuela). Funciona sin navegador y sin login. Precio: US$3 por cada 1.000 productos.

# Actor input Schema

## `country` (type: `string`):

Which Farmatodo store to scrape: Colombia (farmatodo.com.co, prices in COP) or Venezuela (farmatodo.com.ve, prices in VES). `both` splits the item budget between the two.

## `keywords` (type: `array`):

One search per keyword, exactly like the store's search box: a product (`acetaminofen`, `protector solar`), an active ingredient (`losartan`), a brand (`Dolex`) or a barcode. Leave empty (or turn on Full catalog) to list everything that matches the filters below.

## `fullCatalog` (type: `boolean`):

Ignore keywords and walk the whole catalog (after the filters below). The store's search caps any query at 1,000 results; this mode splits the catalog into SKU ranges so you can get all ~32,400 products listed in Colombia and ~14,400 in Venezuela. Set Max products high enough.

## `categories` (type: `array`):

Optional. Only products in any of these departments, categories or subcategories, using the store's own names (case-insensitive), e.g. `Salud y medicamentos`, `Alivio del dolor`, `Dolor general`, `Cuidado de la piel`, `Suplementos dietarios`.

## `brands` (type: `array`):

Optional. Only products whose brand or supplier (laboratory/distributor) is any of these (case-insensitive exact name), e.g. `Dolex`, `Genfar`, `MK`, `La Roche-Posay`, `GENFAR S.A.`, `TECNOQUIMICA MK`.

## `onlyInStock` (type: `boolean`):

Only products with stock in at least one physical store, or with units available from a marketplace seller.

## `onlyOnPromo` (type: `boolean`):

Only products with an active offer price or a Farmatodo Prime member price.

## `sellerType` (type: `string`):

Colombia only: `store` = products sold by Farmatodo itself (~13,500), `marketplace` = third-party sellers on farmatodo.com.co (~18,900). Venezuela has no marketplace.

## `prescription` (type: `string`):

`rx_only` = products the store sells only with a medical prescription; `otc_only` = everything else.

## `includeDelisted` (type: `boolean`):

Also return products that are still in the store's index but hidden from the website (flagged out of assortment): about 53,000 extra records in Colombia and 30,000 in Venezuela. Useful for catalog history; off by default to mirror what shoppers see.

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

Stop after this many products in total (shared across countries and keywords). For both full catalogs use ~47000.

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

Not needed: requests go to the store's public search API, which answers Apify's servers directly. If it ever refuses them, the Actor switches to a residential proxy on its own.

## Actor input object example

```json
{
  "country": "colombia",
  "keywords": [
    "acetaminofen"
  ],
  "fullCatalog": false,
  "categories": [],
  "brands": [],
  "onlyInStock": false,
  "onlyOnPromo": false,
  "sellerType": "all",
  "prescription": "any",
  "includeDelisted": false,
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

All products collected during the run

# 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 = {
    "keywords": [
        "acetaminofen"
    ],
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("fabrikit/farmatodo-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 = {
    "keywords": ["acetaminofen"],
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("fabrikit/farmatodo-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 '{
  "keywords": [
    "acetaminofen"
  ],
  "maxItems": 50
}' |
apify call fabrikit/farmatodo-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,fabrikit/farmatodo-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/yHawskhF1ACVBDc3A/builds/MWJZ0ejpOvREmmsL6/openapi.json
