# Pharmeasy Product Scraper 🧪 (`scrapestorm/pharmeasy-product-scraper`)

Collect pharmeasy.in product data by keyword 🔍. Access rich product details including names, prices 💸 discounts 🧾 stock availability, descriptions & images 🖼️ Ideal for tracking market trends or powering e-commerce tools 📊 Perfect for developers, researchers, and health & wellness professionals

- **URL**: https://beta-securitybyobscurity.apify.com/scrapestorm/pharmeasy-product-scraper.md
- **Developed by:** [Storm\_Scraper](https://beta-securitybyobscurity.apify.com/scrapestorm) (community)
- **Categories:** E-commerce, Automation, SEO tools
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

$19.49/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period.
You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#rental-actors

# README

### 🧪 Pharmeasy Product Scraper (Fast & Cheap)

🚀 The Pharmeasy Product Scraper lets you quickly extract detailed product listings from Pharmeasy.in, one of India’s largest digital healthcare platforms!

Perfect for developers, researchers, e-commerce analysts, or marketing professional, this tool helps you get real-time data from Pharmeasy’s catalog with just a keyword and a product limit.

### ✅ What You Get

| Field                        | Description                                     | Emoji |
| ---------------------------- | ----------------------------------------------- | ----- |
| **Product Name**             | Name of the product                             | 📛    |
| **Brand Name**               | Manufacturer or brand                           | 🏷️   |
| **Price (MRP & Discounted)** | Original MRP and current selling price          | 💸    |
| **Discount %**               | Current discount in percentage                  | 🧾    |
| **Product Slug / URL**       | Direct product link                             | 🔗    |
| **Product Images**           | URLs to images of the product                   | 🖼️   |
| **Availability & Quantity**  | Stock status, min/max quantity                  | 📦    |
| **Description & Highlights** | Key features, usage info, and product notes     | 📝    |
| **Category Details**         | Product categories (e.g., Wellness → Skin Care) | 📂    |
| **Country of Origin**        | Where the product is manufactured               | 🌍    |
| **Customer Ratings**         | User ratings and number of reviews              | ⭐     |
| **Safety & Usage Info**      | Usage instructions and safety information       | 👩‍⚕️ |

### Key Features ✨🚀

- Keyword Search: Find products with any keyword ("diabetes", "multivitamin", etc.)

- ⚡ High Speed: Built for fast and reliable scraping

- 📁 Multiple Export Formats: JSON, CSV, XML, or HTML table

- 🧠 Deep Metadata: Ratings, availability flags, variant info, brand, and more

- 🛒 Covers Pharma & Wellness: All categories from prescriptions to skincare

- 🇮🇳 Built for India-Focused Market Research

### 🛠️ How It Works

- Set Your Parameters: Provide a product keyword (e.g., "hair oil") and number of items to fetch.

- Launch Scraper: Start the scraper and let it collect data.

- Automatic Extraction: Product details, images, prices, and metadata are retrieved.

- Download Results: Export your dataset in JSON, CSV, or other formats.

### 💡 Why Use Pharmeasy Scraper?

🕒 Save hours of manual data entry

📈 Analyze price trends, discounts, and stock availability

🔬 Track competitors in pharma and wellness

🛍️ Power e-commerce feeds or price comparison tools

📊 Extract product ratings and user sentiment

### 💸 Pricing

This scraper operates on a pay-per-month basis at a cost of $19.49/month.

### Related Actors 👌

If you're interested in other scraping agents from YouTube or social media scraping solutions, check out these related actors:

- [Netmeds Product Scraper - Cheap 🛒](https://apify.com/scrapestorm/netmeds-product-scraper---cheap)
- [Jobs.ch Search Scraper (Fast & Cheap) 💼 🇨🇭](https://apify.com/scrapestorm/jobs-ch-search-scraper-fast-cheap)
- [Bundesagentur für Arbeit (Arbeitsagentur) Scraper 🇩🇪 💼 Cheap](https://apify.com/scrapestorm/bundesagentur-fur-arbeit-arbeitsagentur-scraper-cheap)
- [YouTube Full Channel Transcripts Extractor ⚡📜](https://apify.com/scrapestorm/youtube-full-channel-transcripts-extractor)
- [💬 YouTube Comments Scraper](https://apify.com/scrapestorm/tiktok-comments-scraper---fast-cheap)
- [TikTok Comments Scraper 📲💬✨ - Fast & cheap](https://apify.com/scrapestorm/youtube)
- [Pinterest Comments Scraper ✨📌💬](https://apify.com/scrapestorm/pinterest-comments-scraper)
- [🏎 YouTube Scraper (By Keyword) ](https://apify.com/scrapestorm/youtube)
- [🔴 Youtube Channel Scraper (Rental)](https://apify.com/scrapestorm/youtube-channel-scraper)
- [🌐 Youtube Shorts Scraper 📺 (Rental)](https://apify.com/scrapestorm/youtube-shorts-scraper-rental---fast-cheap)
- [Facebook Ads Library Scraper 🎯📈](https://apify.com/scrapestorm/facebook-ads-library-scraper)
- [Facebook Likes Scraper (Fast & Cheap) 👍 🌟](https://apify.com/scrapestorm/facebook-likes-scraper-fast-cheap)
- [Facebook Followers & Following Scraper 📊👥](https://apify.com/scrapestorm/facebook-followers-following-scraper)
- [Facebook Comments Scraper (All-in-One) 💬](https://apify.com/scrapestorm/facebook-comments-scraper-all-in-one)
- [YouTube Transcript Video Scraper 📝 (⚡ Fast & 💸 Cheap)](https://apify.com/scrapestorm/youtube-transcript-videos)
- [Youtube Playlist Scraper 🎵 - Rental (Fast & cheap)](https://apify.com/scrapestorm/youtube-playlist-scraper---rental-fast-cheap)

***

### 🔑 Input Schema

Here's what you need to run the scraper:

```
{
  "keyword": "hair oil",
  "maxitems": 100
}



```

| Field      | Type    | Description                                       |
| ---------- | ------- | ------------------------------------------------- |
| `keyword`  | string  | Search term for products (e.g., `"diabetes kit"`) |
| `maxitems` | integer | Max number of products to scrape (e.g., `100`)    |

### 📊 Output Example

Example output (JSON format):

```
[
  {
    "name": "Himalaya Anti Hair Fall Oil 100 ml",
    "brand": "Himalaya",
    "mrp": 160,
    "selling_price": 144,
    "discount": "10% OFF",
    "category": "Hair Care/Oils",
    "country_of_origin": "India",
    "availability": "In Stock",
    "rating": 4.2,
    "url": "https://pharmeasy.in/health-care/himalaya-hair-oil-100ml-12345",
    "image_url": "https://assets.pharmeasy.in/.../himalaya_hair_oil.jpg",
    "description": "Strengthens roots and reduces hair fall...",
    "key_benefits": [
      "Enriched with bhringaraja",
      "Promotes hair growth",
      "Non-sticky formula"
    ]
  }
]


```

### 📫 Support

😊 Leave us a ⭐⭐⭐⭐⭐ if you are satisfied with the product!
🌍 For any questions, specific needs or issues, please reach out through Apify's platform or via email - [Storm\_Scraper 🌪️🌩️](https://apify.com/scrapestorm)

# Actor input Schema

## `keyword` (type: `string`):

Enter a product keyword to search on Pharmeasy (e.g., 'skin', 'paracetamol').

## `maxitems` (type: `integer`):

Set the maximum number of products to collect from the search results.

## Actor input object example

```json
{
  "keyword": "skin",
  "maxitems": 50
}
```

# 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 = {
    "keyword": "skin",
    "maxitems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapestorm/pharmeasy-product-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 = {
    "keyword": "skin",
    "maxitems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("scrapestorm/pharmeasy-product-scraper").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "keyword": "skin",
  "maxitems": 50
}' |
apify call scrapestorm/pharmeasy-product-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=scrapestorm/pharmeasy-product-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Pharmeasy Product Scraper 🧪",
        "description": "Collect pharmeasy.in product data by keyword 🔍. Access rich product details including names, prices 💸 discounts 🧾 stock availability, descriptions & images 🖼️ Ideal for tracking market trends or powering e-commerce tools 📊 Perfect for developers, researchers, and health & wellness professionals",
        "version": "0.0",
        "x-build-id": "UQHiO7KgSo0VGfaqH"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/scrapestorm~pharmeasy-product-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-scrapestorm-pharmeasy-product-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/scrapestorm~pharmeasy-product-scraper/runs": {
            "post": {
                "operationId": "runs-sync-scrapestorm-pharmeasy-product-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/scrapestorm~pharmeasy-product-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-scrapestorm-pharmeasy-product-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "keyword"
                ],
                "properties": {
                    "keyword": {
                        "title": "Product keyword to search on Pharmeasy (e.g., 'skin', 'paracetamol') 🔍",
                        "type": "string",
                        "description": "Enter a product keyword to search on Pharmeasy (e.g., 'skin', 'paracetamol').",
                        "default": "skin"
                    },
                    "maxitems": {
                        "title": "Maximum products to scrape 📈",
                        "type": "integer",
                        "description": "Set the maximum number of products to collect from the search results.",
                        "default": 50
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
