# Netmeds Product Search Scraper (`stealth_mode/netmeds-product-search-scraper`) Actor

Scrape product listings from Netmeds with powerful search filters and sorting options. Extract 30+ fields per product — names, prices, discounts, ratings, variants, and more — ideal for price monitoring, market research, and inventory analysis in the healthcare ecommerce space.

- **URL**: https://apify.com/stealth\_mode/netmeds-product-search-scraper.md
- **Developed by:** [Stealth mode](https://apify.com/stealth_mode) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 results

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

## Netmeds Product Search Scraper: Extract Healthcare Ecommerce Data

***

### What Is Netmeds?

Netmeds is India's leading online pharmacy and healthcare products platform, offering medicines, medical devices, vitamins, wellness products, and surgical instruments. It hosts tens of thousands of active listings with dynamic pricing, discounts, and regional availability. Manually tracking product data across categories is inefficient — the **Netmeds Product Search Scraper** automates collection, delivering structured product records at scale.

***

### Overview

The **Netmeds Product Search Scraper** extracts detailed product information from Netmeds search results and category pages, converting unstructured listings into clean, machine-readable data. It is designed for:

- **Price intelligence platforms** monitoring competitor pricing and discounts
- **Market researchers** analyzing healthcare product trends and brand performance
- **ecommerce analysts** benchmarking product attributes and availability
- **Retailers and aggregators** building healthcare product catalogs
- **Data scientists** studying medication pricing patterns and consumer health trends

Key strengths include dual scraping modes (URL-based or search-based), advanced filtering by price and discount, sorting flexibility, and graceful error handling via `ignore_url_failures`.

***

### Input Format

The scraper accepts two modes of operation, configured via JSON:

#### Mode 1: Scrape by URLs

```json
{
    "urls": [
        "https://www.netmeds.com/collection/surgical-instrument",
        "https://www.netmeds.com/products?q=a&sort_on=price_dsc"
    ],
    "max_items_per_url": 200,
    "ignore_url_failures": true
}
```

#### Mode 2: Scrape by Search Filters

```json
{
    "keyword": "aspirin",
    "sort_by": "price_dsc",
    "price_range": "100-5000",
    "min_discount": "20",
    "max_items_per_url": 200
}
```

| Parameter | Type | Description |
|---|---|---|
| `urls` | array | Direct links to Netmeds product listing pages or category collections |
| `keyword` | string | Search term (e.g., "vitamin", "antibiotics"). Leave empty to use URL mode |
| `sort_by` | string | Sorting option: `price_asc`, `price_dsc`, `discount_asc`, `discount_dsc`, or empty for relevance |
| `price_range` | string | Min-max price filter (e.g., `1110-14852` in INR) |
| `min_discount` | integer | Minimum discount percentage (e.g., `22` for 22% off) |
| `max_items_per_url` | integer | Maximum products per URL/search (e.g., `200`) |
| `ignore_url_failures` | boolean | If `true`, continues if individual URLs fail |

> **Tip:** Use search filters for dynamic discovery; use URLs when targeting specific categories or pre-built search pages.

***

### Output Format

**Sample output**

```json
{
  "attributes": {
    "_id": "660c4c9cebb85de693d0d6cf",
    "videos": [],
    "raw": {},
    "verification_status": "pending",
    "store_ids": [
      253,
      255,
      260
    ],
    "platforms": {},
    "description": "categoryNameLevel3-Women Deodorants/Roll-Ons; genericName-Women; brandFilter-Nivea; marketerName-Nivea India Pvt Ltd; categoryNameLevel2-Women; searchKeys-; itemCode-1018229",
    "image_nature": "standard",
    "popularity": "0",
    "variant_media": {},
    "multi_categories": [
      {
        "l1": 697,
        "is_active": true,
        "l3": 839,
        "department": 3,
        "l2": 730
      }
    ],
    "quantity": 13,
    "expiration_date": "2034-03-31T05:30:00",
    "identifier": {
      "sku_code": [
        "1018229"
      ]
    },
    "max_effective": 260.68,
    "max_marked": 280.3,
    "min_effective": 260.68,
    "min_marked": 280.3,
    "labels": {
      "entities": {}
    },
    "needs_identification": true,
    "item_id": 8242651,
    "store_id_list": [
      "253",
      "255",
      "260"
    ],
    "sellable_quantity": 13,
    "article_identifiers": [
      "1018229"
    ],
    "sizes_with_price": [
      {
        "size": "150",
        "identifiers": [
          {
            "gtin_value": "1018229",
            "gtin_type": "sku_code"
          }
        ],
        "quantity": 13
      }
    ],
    "delivery_zones": [
      "6a0deabcfe5ccbac9b2eead3",
      "6a4e4c9d7966c596a2330fab",
      "6a0deabcfe5ccbac9b2eea9c",
      "6a0deabcfe5ccbac9b2eeabf",
      "6a0deabcfe5ccbac9b2eea8d",
      "6a0deab5fe5ccbac9b2edde0",
      "6a0deabcfe5ccbac9b2eeac9",
      "6a0deabcfe5ccbac9b2eeaa1",
      "6a0deabcfe5ccbac9b2eea92",
      "6a0deabcfe5ccbac9b2eeab0",
      "6a0deabcfe5ccbac9b2eea83",
      "6a0deabcfe5ccbac9b2eea7e",
      "6a0deabcfe5ccbac9b2eea97",
      "6a0deabcfe5ccbac9b2eeaa6",
      "6a0deabcfe5ccbac9b2eeaba",
      "6a59c5ad35efd18e03227846",
      "6a4f9836489094b1fd10dd39",
      "6a0deabcfe5ccbac9b2eeaab",
      "6a0deabcfe5ccbac9b2eea88",
      "6a0deabcfe5ccbac9b2eea79",
      "6a0deabcfe5ccbac9b2eeab5"
    ],
    "factory_type_ids": [
      "_all_"
    ],
    "discount_meta": {},
    "identifiers": [
      "1018229"
    ],
    "seo": {
      "title": "Buy NIVEA PEARL & BEAUTY DEO 150 ml Online at Best Price - Women Deodorants/Roll-Ons",
      "description": "Shop NIVEA PEARL & BEAUTY DEO 150 ml Online at a low price. Search personal care, ayurvedic, homeopathy, baby & mother care, fitness supplements and healthcare devices from Netmeds. Order and get doorstep delivery anywhere in India.",
      "sitemap": {
        "priority": 0.5,
        "frequency": "weekly"
      }
    },
    "procuredby": "Beauty",
    "mstar-discountpct": 7,
    "itemcode": 1018229,
    "modifieddate": "2026-06-26T15:54:56.000Z",
    "truuthflag": "false",
    "flexiattribute4": "sub",
    "categoryidlevel3": 3697,
    "defaultcategory": "Y",
    "brandid": 205885,
    "itemtype": "PACK",
    "vendornonreturnable": "N",
    "itemdiscount": 0.07,
    "flatdiscount": 0.07,
    "brandorgeneric": "B",
    "mstar-rxrequired": "Rx not requried",
    "packsizeunit": "ml",
    "itemshelflife": 995,
    "categoryidlevel1": 3369,
    "cartmaxqty": 10,
    "categoryimagelevel1": " https://apiv2.netmeds.com/images/category/544/fragrances_0.jpg",
    "otxflag": "false",
    "b2b-unitcount": 1,
    "categorythumbimagelevel1": "https://apiv2.netmeds.com/images/category/prod/thumb/fragrances.png",
    "categorynamelevel1": "Fragrances",
    "marketername": "Nivea India Pvt Ltd",
    "manufacturerid": "9522",
    "modifiedby": "gaurav64",
    "dpcostatus": "N",
    "boughttogetherproducts": [
      "1059460",
      "1059461",
      "1020412",
      "1061753",
      "1061751",
      "1061750",
      "953185",
      "1020413",
      "953160"
    ],
    "coldstorage": "N",
    "mrp": 280.3,
    "mstar-displaynamewops": "NIVEA PEARL & BEAUTY DEO",
    "beautyhighlights-preference": "Dermatologically Tested, Alcohol Free",
    "fynd-channelid": [
      "JIOMART"
    ],
    "mstar-discount": 260.68,
    "foodlabel": "N",
    "internaltransferable": "Y",
    "packsize": "150",
    "marketeraddress": " 4th Floor, AGH, Phoenix Market City, Kurla (W), Mumbai-400070",
    "activestatus": "true",
    "mstar-ishighvalue": " ",
    "similarproducts": [
      "892331",
      "963415",
      "884812",
      "918982",
      "1049039",
      "1026428",
      "1047352",
      "1127990",
      "1147922",
      "813644"
    ],
    "categoryimagelevel3": "https://apiv2.netmeds.com/images/category/v1/3697/women_deodorants_roll_ons.jpg",
    "categorynamelevel3": "Women Deodorants/Roll-Ons",
    "categoryidlevel2": 3695,
    "categorythumbimagelevel2": "https://apiv2.netmeds.com/images/category/prod/thumb/women.png",
    "marketerid": "65",
    "dlflag": "false",
    "mstar-bestprice": 260,
    "mstar-updatedtime": "2026-06-26T15:54:56.000Z",
    "categorythumbimagelevel3": "https://apiv2.netmeds.com/images/category/v1/3697/thumb/women_deodorants_roll_ons.jpg",
    "genericname": "Women",
    "cimssubcategoryname": "OTC",
    "taxpercentage": "5P",
    "genericnamewithdosage": "Women",
    "mstar-maxdiscount": 260.68,
    "seometadescription": "Shop NIVEA PEARL & BEAUTY DEO 150 ml Online at a low price. Search personal care, ayurvedic, homeopathy, baby & mother care, fitness supplements and healthcare devices from Netmeds. Order and get doorstep delivery anywhere in India.",
    "onlinesalestatus": "Both",
    "cartminqty": 1,
    "mstar-isreturnable": "Y",
    "mstar-genericwithdosageid": 55824,
    "availabilitystatus": "A",
    "beautyhighlights-formulation": "Spray",
    "seometakeywords": "NIVEA PEARL & BEAUTY DEO 150 ml,Fragrances OTC products, Over the Counter Products, Health Care, OTC, Online Pharmacy India, Medicine Online, Online Medicine Women Women Deodorants/Roll-Ons",
    "schedule": "M",
    "refundstatus": "Y",
    "b2b-ptrpercentagetype": " ",
    "b2b-minimumqty": 1,
    "refillstatus": " ",
    "searchvisibility": "true",
    "intakeshelflife": 540,
    "verticalspecification": "Beauty",
    "mstar-genericid": 11219,
    "mdh-channelid": [
      "NETMEDS",
      "NETMEDS-B2B"
    ],
    "categoryimagelevel2": "https://apiv2.netmeds.com/images/category/v1/3695/women.jpg",
    "b2b-maximumqty": 10,
    "b2b-isactive": "true",
    "brandfilter": "Nivea",
    "isfssaiapplicable": "N",
    "inventoryleastexpdate": "2026-02-28T00:00:00.000Z",
    "createddate": "2022-02-17T17:11:35.000Z",
    "mstar-sellingprice": 260.68,
    "pendingstatus": 2,
    "unitcount": 1,
    "inventorylookup": "Y",
    "hsncode": "33071010",
    "packagetype": "TIN",
    "producttype": "O",
    "cimscategoryname": "OTC",
    "b2b-minmargin": 12,
    "requestby": "Brand",
    "dpcodiscountflag": "N",
    "seotitle": "Buy NIVEA PEARL & BEAUTY DEO 150 ml Online at Best Price - Women Deodorants/Roll-Ons",
    "divisionname": "Sai Corporation",
    "b2b-defaultqty": 5,
    "sapcode": "490680390",
    "otc-description": "Nivea Pearl & Beauty Deodorant for Women offers effective protection and a gentle fragrance with precious Pearl extracts leaving your underarms feeling soft, smooth and beautiful. It also protects you for 48 hours from sweat and body odour and gives your underarms a comfortable, soft and velvety finish. So what are you waiting for? Buy this product at the best rate, right here!",
    "outwardshelflife": 90,
    "isinflammable": "N",
    "mediaprioritylevel": "0",
    "fssaino": "0",
    "b2b-unitsaleflag": "Y",
    "isallowpayment": "Y",
    "dosage": "0",
    "manufacturername": "Sai Corporation",
    "eancode": "8904256001762",
    "unitsaleflag": "Y",
    "mstar-maxdiscountpct": 7,
    "isvegitem": "O",
    "cimsclassification": "OTC",
    "createdby": "amar",
    "genericdosage": "Women",
    "categorynamelevel2": "Women",
    "mstar-stockqty": 15,
    "catalogvisibility": "true",
    "mstar-discountrate": 260.68,
    "product_details": "categoryNameLevel3-Women Deodorants/Roll-Ons; genericName-Women; brandFilter-Nivea; marketerName-Nivea India Pvt Ltd; categoryNameLevel2-Women; searchKeys-; itemCode-1018229",
    "brand_name": "Netmeds",
    "available_sizes": [
      "150"
    ],
    "_custom_json": {
      "brand": "Demo Brand"
    },
    "country_of_origin": "India",
    "default_category_l1": "fragrances",
    "default_category_l2": "women",
    "default_category_l3": "women-deodorants-roll-ons",
    "publish_time": 1782519013
  },
  "categories": [
    {
      "type": "category",
      "uid": 839,
      "name": "Women Deodorants/Roll-Ons",
      "logo": {
        "type": "image",
        "url": "https://cdn.pixelbin.io/v2/plain-cake-860195/netmed/wrkr/nmz/brands/pictures/square-logo/original/WvGh5wYrv-Logo.png"
      },
      "action": {
        "page": {
          "type": "products",
          "query": {
            "category": [
              "women-deodorants-roll-ons"
            ]
          }
        },
        "type": "page"
      },
      "_custom_json": {}
    }
  ],
  "sellable": true,
  "name": "Nivea Pearl & Beauty Deo with Avocado Smooth & Beautiful Underarms 150ml",
  "slug": "nivea-pearl-beauty-deo-with-avocado-smooth-beautiful-underarms-150ml-lui2g4-8242651",
  "uid": 8242651,
  "item_code": "1018229",
  "item_type": "standard",
  "brand": {
    "type": "brand",
    "uid": 2,
    "name": "Netmeds",
    "logo": {
      "type": "image",
      "url": "https://gdn.pixelbin.io/v2/plain-cake-860195/netmed/wrkr/nmz/brands/pictures/square-logo/original/WvGh5wYrv-Logo.png"
    },
    "action": {
      "page": {
        "type": "products",
        "query": {
          "brand": [
            "netmeds"
          ]
        }
      },
      "type": "page"
    },
    "_custom_json": {}
  },
  "action": {
    "page": {
      "type": "product",
      "params": {
        "slug": [
          "nivea-pearl-beauty-deo-with-avocado-smooth-beautiful-underarms-150ml-lui2g4-8242651"
        ]
      }
    },
    "type": "page"
  },
  "medias": [
    {
      "url": "https://gdn.pixelbin.io/v2/plain-cake-860195/netmed/wrkr/products/assets/item/free/original/zTghXPIE4A-nivea_pearl_beauty_deo_150_ml_590819_0_1.jpg",
      "type": "image",
      "alt": "Nivea Pearl & Beauty Deo with Avocado Smooth & Beautiful Underarms 150ml"
    },
    {
      "url": "https://gdn.pixelbin.io/v2/plain-cake-860195/netmed/wrkr/products/assets/item/free/original/ZFFQSctGpE-nivea_pearl_beauty_deo_150_ml_583162_1_2.jpg",
      "type": "image",
      "alt": "Nivea Pearl & Beauty Deo with Avocado Smooth & Beautiful Underarms 150ml"
    },
    {
      "url": "https://gdn.pixelbin.io/v2/plain-cake-860195/netmed/wrkr/products/assets/item/free/original/p595ISP6AQ-nivea_pearl_beauty_deo_150_ml_583161_2_2.jpg",
      "type": "image",
      "alt": "Nivea Pearl & Beauty Deo with Avocado Smooth & Beautiful Underarms 150ml"
    },
    {
      "url": "https://gdn.pixelbin.io/v2/plain-cake-860195/netmed/wrkr/products/assets/item/free/original/dwAftHlExN-nivea_pearl_beauty_deo_150_ml_583160_3_2.jpg",
      "type": "image",
      "alt": "Nivea Pearl & Beauty Deo with Avocado Smooth & Beautiful Underarms 150ml"
    },
    {
      "url": "https://gdn.pixelbin.io/v2/plain-cake-860195/netmed/wrkr/products/assets/item/free/original/CQZDc4uE_U-nivea_pearl_beauty_deo_150_ml_583159_4_2.jpg",
      "type": "image",
      "alt": "Nivea Pearl & Beauty Deo with Avocado Smooth & Beautiful Underarms 150ml"
    },
    {
      "url": "https://gdn.pixelbin.io/v2/plain-cake-860195/netmed/wrkr/products/assets/item/free/original/L1WjZ_rusk-nivea_pearl_beauty_deo_150_ml_583158_5_0.jpg",
      "type": "image",
      "alt": "Nivea Pearl & Beauty Deo with Avocado Smooth & Beautiful Underarms 150ml"
    }
  ],
  "discount": "7% OFF",
  "price": {
    "effective": {
      "min": 260.68,
      "max": 260.68,
      "currency_code": "INR",
      "currency_symbol": "₹"
    },
    "marked": {
      "min": 280.3,
      "max": 280.3,
      "currency_code": "INR",
      "currency_symbol": "₹"
    }
  },
  "is_tryout": false,
  "channel": "65f562c1504a59a67f529ad4",
  "custom_json": {
    "brand": "Demo Brand",
    "vertex_index_name": "",
    "vertex_object_id": 8242651
  },
  "country_of_origin": "India",
  "variants": [],
  "rating": 0,
  "rating_bucket": 0,
  "custom_meta": [
    {
      "key": "averageRating",
      "value": "5"
    },
    {
      "key": "ratingsCount",
      "value": "1"
    },
    {
      "key": "reviewsCount",
      "value": "1"
    }
  ],
  "sizes": [
    "150"
  ],
  "tags": [
    "jiomart",
    "non-rx",
    "discount_eligible"
  ],
  "identifiers": [
    "1018229"
  ],
  "net_quantity": {},
  "teaser_tag": "",
  "is_custom_order": false,
  "url": "/product/nivea-pearl-beauty-deo-with-avocado-smooth-beautiful-underarms-150ml-lui2g4-8242651",
  "is_active": false,
  "from_url": "https://www.netmeds.com/collection/women"
}
```

Each scraped product returns a comprehensive record with 30+ fields:

#### Product Identification & Basic Info

| Field | Meaning |
|---|---|
| `UID` | Unique product identifier in the Netmeds system |
| `Item Code` | Internal SKU or item code |
| `Name` | Product name as displayed on Netmeds |
| `Slug` | URL-friendly version of the product name |
| `URL` | Direct link to the product detail page |
| `Brand` | Manufacturer or brand name |
| `Item Type` | Product classification (e.g., tablet, capsule, cream) |

#### Pricing & Promotions

| Field | Meaning |
|---|---|
| `Price` | Current selling price in INR |
| `Discount` | Discount percentage or amount offered |
| `Action` | Current promotion or action tag (e.g., "buy 1 get 1") |

#### Product Details & Attributes

| Field | Meaning |
|---|---|
| `Attributes` | Detailed product specifications (strength, quantity, composition) |
| `Categories` | Product category hierarchy (e.g., Vitamins > Vitamin C) |
| `Variants` | Available options (pack sizes, formats, strengths) |
| `Sizes` | Size options if applicable (e.g., 100ml, 500ml) |
| `Net Quantity` | Quantity per pack (e.g., 30 tablets, 100ml) |
| `Sellable` | Boolean indicating if product is currently in stock |
| `Is Active` | Whether the product listing is active |
| `Country of Origin` | Manufacturing country |
| `Identifiers` | Barcodes, HSN codes, or other identifiers |

#### Customer & Social Signals

| Field | Meaning |
|---|---|
| `Rating` | Average customer rating (e.g., 4.5 out of 5) |
| `Rating Bucket` | Aggregated rating category |

#### Media & Presentation

| Field | Meaning |
|---|---|
| `Medias` | Product images and media URLs |

#### Special Tags & Metadata

| Field | Meaning |
|---|---|
| `Tags` | Search tags or categorical labels |
| `Teaser Tag` | Promotional or highlight tags (e.g., "Trending", "New") |
| `Channel` | Sales channel (online, app, etc.) |
| `Is Tryout` | Whether a sample/trial is available |
| `Is Custom Order` | Whether the product requires special ordering |
| `Custom JSON` | Extended product metadata in JSON format |
| `Custom Meta` | Additional metadata fields |

***

### How to Use

#### Using URL Mode (Direct Links)

1. Navigate to Netmeds.com and find a category or search results page
2. Copy the full URL (e.g., `https://www.netmeds.com/collection/surgical-instrument`)
3. Paste into the `urls` array
4. Set `max_items_per_url` (e.g., 200 for comprehensive data)
5. Run the scraper

#### Using Search Filter Mode (Dynamic Queries)

1. Enter a `keyword` (e.g., "paracetamol")
2. Optionally set `sort_by` (price\_asc, price\_dsc, discount\_dsc, etc.)
3. Apply `price_range` (min-max format, e.g., "500-2000")
4. Set `min_discount` threshold (e.g., 20 for 20%+ discounts)
5. Configure `max_items_per_url` for result size
6. Run the scraper

**Best practices:**

- For price intelligence, use `sort_by: "price_dsc"` to capture premium products first
- Enable `ignore_url_failures: true` for bulk runs to avoid interruptions
- Set `max_items_per_url` conservatively (50–200) to balance speed and comprehensiveness
- Use price filters for targeted price range analysis

***

### Use Cases & Business Value

- **Price monitoring:** Track pharmaceutical and healthcare product pricing trends across categories
- **Competitive analysis:** Monitor competitor product assortment, pricing strategies, and discount patterns
- **Inventory research:** Understand stock availability and variant distribution
- **Market insights:** Analyze brand presence, customer ratings, and promotional tactics in healthcare ecommerce
- **Catalog building:** Feed product data into aggregator platforms or internal product databases

The Netmeds Product Search Scraper eliminates manual data collection, delivering consistent, structured records that integrate seamlessly into pricing analytics tools, BI platforms, or spreadsheets.

***

### Conclusion

The **Netmeds Product Search Scraper** is a powerful solution for anyone needing healthcare ecommerce data at scale. With 30+ output fields, flexible search and filtering capabilities, and reliable performance, it transforms Netmeds product listings into actionable business intelligence. Start scraping today and unlock insights that drive competitive advantage.

# Actor input Schema

## `urls` (type: `array`):

Add the URLs of the product search list urls you want to scrape. You can paste URLs one by one, or use the Bulk edit section to add a prepared list.

## `ignore_url_failures` (type: `boolean`):

If true, the scraper will continue running even if some URLs fail to be scraped.

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

Enter the keyword to search for items

## `sort_by` (type: `string`):

Sort items by options

## `price_range` (type: `string`):

Price range to filter by, in min-max format (e.g. 100-2000).

## `min_discount` (type: `integer`):

Minimum discount to filter by.

## `max_items_per_url` (type: `integer`):

The maximum number of items to scrape per URL.

## Actor input object example

```json
{
  "urls": [
    "https://www.netmeds.com/collection/surgical-instrument"
  ],
  "ignore_url_failures": true,
  "max_items_per_url": 20
}
```

# 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 = {
    "urls": [
        "https://www.netmeds.com/collection/surgical-instrument"
    ],
    "ignore_url_failures": true,
    "max_items_per_url": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("stealth_mode/netmeds-product-search-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 = {
    "urls": ["https://www.netmeds.com/collection/surgical-instrument"],
    "ignore_url_failures": True,
    "max_items_per_url": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("stealth_mode/netmeds-product-search-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 '{
  "urls": [
    "https://www.netmeds.com/collection/surgical-instrument"
  ],
  "ignore_url_failures": true,
  "max_items_per_url": 20
}' |
apify call stealth_mode/netmeds-product-search-scraper --silent --output-dataset

```

## MCP server setup

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