# Netmeds Product Scraper 🏥 (`easyapi/netmeds-product-scraper`) Actor

Powerful scraper for Netmeds.com that extracts detailed product information including prices, manufacturers, brands, and inventory status. Perfect for healthcare market research, price monitoring, and catalog enrichment. Supports infinite scroll and provides comprehensive product data. 🏥

- **URL**: https://apify.com/easyapi/netmeds-product-scraper.md
- **Developed by:** [EasyApi](https://apify.com/easyapi) (community)
- **Categories:** E-commerce, Integrations, Other
- **Stats:** 28 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.99 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## Netmeds Product Scraper 🏥

### 📋 What does Netmeds Product Scraper do?

This actor scrapes detailed product information from Netmeds.com, India's leading online pharmacy and healthcare platform. It extracts comprehensive data about medicines, healthcare products, and wellness items, including pricing, availability, manufacturer details, and more.

### ✨ Key Features

- 🔍 Scrapes product details from any Netmeds search results page
- 💊 Captures complete product information including pricing, discounts, and inventory status
- 🏢 Extracts manufacturer and brand details
- 📦 Includes product specifications, ratings, and categories
- 🔄 Supports infinite scroll pagination
- ⚡ High-performance with built-in proxy rotation
- 🛡️ Uses advanced browser automation techniques to avoid blocking

### 💎 Output Data Structure

The actor provides rich product data including:

- Product basic information (name, code, URL)
- Pricing details (MRP, selling price, discounts)
- Manufacturer and brand information
- Product specifications (type, formulation, pack size)
- Inventory status and availability
- Category hierarchy
- Product ratings and popularity metrics
- Image URLs

### 🔧 Input Parameters

- `searchUrls`: Array of Netmeds search result URLs to scrape
- `maxItems`: Maximum number of items to scrape (optional)
- `proxyConfiguration`: Proxy settings (optional)

### 📊 Use Cases

- Price monitoring and competitive analysis
- Product catalog enrichment
- Market research and analysis
- Inventory tracking
- Healthcare product analytics

### 💡 Tips

- Use specific search URLs for targeted product categories
- Adjust maxItems parameter based on your needs
- Consider using proxy configuration for better reliability

#### Input Example

A full explanation of an input example in JSON.

```json
{
    "searchUrls": [
        "https://www.netmeds.com/catalogsearch/result/nutritional/all?prod_meds"
    ],
    "maxItems": 50
}
```

#### Output sample

The results will be wrapped into a dataset which you can always find in the **Storage** tab. Here's an excerpt from the data you'd get if you apply the input parameters above:

And here is the same data but in JSON. You can choose in which format to download your data: JSON, JSONL, Excel spreadsheet, HTML table, CSV, or XML.

```json
[
    {
        "searchUrl": "https://www.netmeds.com/catalogsearch/result/nutritional/all?prod_meds",
        "productCode": 38061,
        "name": "B-Protin Nutritional Powder Supplement - Chocolate 500 gm",
        "manufacturer": {
            "id": 2147,
            "name": "British Biologicals",
            "urlPath": "/manufacturers/british-biologicals"
        },
        "brand": {
            "id": 133,
            "name": "B-Protin",
            "urlPath": "/brands/b-protin"
        },
        "pricing": {
            "mrp": 645,
            "sellingPrice": 535.35,
            "discount": {
                "amount": 109.65,
                "percentage": 17,
                "rate": 0.17
            }
        },
        "product": {
            "type": "O",
            "formulation": "powder",
            "packSize": "500GM",
            "urlPath": "/non-prescriptions/b-protin-chocolate-powder-500gm",
            "rating": "4.9",
            "imageUrl": "images/product-v1/150x150/38061/b_protin_nutritional_powder_supplement_chocolate_500_gm_0.jpg"
        },
        "inventory": {
            "inStock": true,
            "maxQuantityPerOrder": 6,
            "availabilityStatus": "A",
            "isColdStorage": false,
            "rxRequired": false
        },
        "categories": {
            "ids": [
                98,
                500,
                501,
                503
            ],
            "names": [
                "Non-Prescription",
                "Fitness",
                "Family Nutrition",
                "General Health"
            ],
            "tree": {
                "level0": [
                    "Non-Prescription"
                ],
                "level1": [
                    "Non-Prescription///Fitness"
                ],
                "level2": [
                    "Non-Prescription///Fitness///Family Nutrition"
                ],
                "level3": [
                    "Non-Prescription///Fitness///Family Nutrition///General Health"
                ]
            }
        },
        "popularity": {
            "score": 4,
            "soldQuantity": 1923
        }
    },
    ...
]
```

### Related Actors

- 🏥 [Practo Doctor Scraper](https://apify.com/easyapi/practo-doctor-scraper) - Extract detailed doctor profiles and medical services information from Practo.com
- 👨‍⚕️ [WebMD Doctor Scraper](https://apify.com/easyapi/webmd-doctor-scraper) - Scrape comprehensive doctor profiles and reviews from WebMD
- 🛍️ [Flipkart Product Scraper](https://apify.com/easyapi/flipkart-product-scraper) - Extract product data from India's leading e-commerce platform
- 🛍️ [Myntra Product Scraper](https://apify.com/easyapi/myntra-product-scraper) - Scrape detailed product information from Myntra's fashion marketplace
- 🛍️ [AJIO Product Scraper](https://apify.com/easyapi/ajio-product-scraper) - Extract product data from AJIO's fashion e-commerce platform
- 🛍️ [Meesho Product Detail Scraper](https://apify.com/easyapi/meesho-product-detail-scraper) - Collect comprehensive product information from Meesho.com
- 📊 [Flipkart Review Scraper](https://apify.com/easyapi/flipkart-review-scraper) - Extract detailed product reviews and ratings from Flipkart
- 🛍️ [Meesho Reviews Scraper](https://apify.com/easyapi/meesho-reviews-scraper) - Gather customer reviews and feedback from Meesho products
- 🛍️ [Noon.com Reviews Scraper](https://apify.com/easyapi/noon-com-reviews-scraper) - Extract detailed customer reviews from Noon.com
- 🛍️ [TradeIndia Product Scraper](https://apify.com/easyapi/tradeindia-product-scraper) - Scrape B2B product listings from TradeIndia.com
- 🛍️ [Jumia Product Scraper](https://apify.com/easyapi/jumia-product-scraper) - Extract product data from the Jumia e-commerce platform
- 🛍️ [Costco Product Search Scraper](https://apify.com/easyapi/costco-product-search-scraper) - Collect detailed product information from Costco.com
- 🛍️ [Sam's Club Product Scraper](https://apify.com/easyapi/sam-s-club-product-scraper) - Extract comprehensive product data from Sam's Club
- 🛍️ [Lidl Product Scraper](https://apify.com/easyapi/lidl-product-scraper) - Scrape product information from Lidl's online store
- 🛍️ [Nike Product Scraper](https://apify.com/easyapi/nike-product-scraper) - Extract detailed product data from Nike.com

# Actor input Schema

## `searchUrls` (type: `array`):

List of Netmeds search result URLs to scrape

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

Maximum number of items to scrape (leave empty for unlimited)

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

Proxy settings for the scraper

## Actor input object example

```json
{
  "searchUrls": [
    "https://www.netmeds.com/catalogsearch/result/nutritional/all?prod_meds"
  ],
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("easyapi/netmeds-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("easyapi/netmeds-product-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 '{}' |
apify call easyapi/netmeds-product-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,easyapi/netmeds-product-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/9Lti5kyh4bg04fLuO/builds/CeAiQ7BA6DKIlHdp3/openapi.json
