# Moglix Scraper - Industrial & MRO Product Prices (`crawloop/moglix-scraper`) Actor

Scrape Moglix industrial and MRO products for procurement and price intel. Export selling price, MRP, GST/HSN, bulk tiers, stock, brand and attributes from search, category, brand or product URLs — a practical Moglix API alternative.

- **URL**: https://apify.com/crawloop/moglix-scraper.md
- **Developed by:** [Andrej Kiva](https://apify.com/crawloop) (community)
- **Categories:** E-commerce, AI, Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#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

## Moglix Scraper — Industrial & MRO Product Prices

> **Disclaimer:** Unofficial integration for publicly accessible sources. Trademarks belong to their respective owners. Provided for informational use only; users must comply with applicable platform terms and laws.

> **Crawloop industrial / B2B catalog data** — transactional MRO pricing (Moglix) plus company directories (Europages / WLW) and electronics catalogs (RS Online / DigiKey).

| Moglix (IN MRO catalog) | Europages (EU directory) | WLW (DACH directory) | RS Online | DigiKey |
| :--- | :--- | :--- | :--- | :--- |
| **Moglix Scraper** ◄── you are here | [Europages Scraper](https://apify.com/crawloop/europages-scraper) | [WLW Scraper](https://apify.com/crawloop/wlw-scraper) | [RS Online Scraper](https://apify.com/crawloop/rs-online-scraper) | [DigiKey Product Scraper](https://apify.com/crawloop/digikey-product-scraper) |
| Prices, MRP, GST/HSN, bulk tiers, stock | EU companies, VAT, contacts | DE / AT / CH suppliers | Stock numbers, MOQ, price breaks | MPN, stock, compliance |

**Moglix scraper** for Apify — a practical **Moglix API alternative** that turns Indian industrial and **MRO** product listings into structured JSON. Extract **selling price, MRP, GST split, HSN, bulk quantity breaks, stock, brand, attributes, variants**, and **category path** from search keywords, category pages, brand pages, or product URLs.

Built for **procurement price monitoring**, **MRO assortment research**, **brand coverage analysis**, and **catalog benchmarking** across Indian industrial e-commerce. Run from the Console, **Python**, **Node.js**, or **MCP**. Fast HTTP crawl via `curl_cffi` — catalog APIs and SSR payloads (no headless browser).

### Use cases

| Use case | What you get |
| :--- | :--- |
| **Keyword price pulls** | Search → product rows with live selling price & MRP |
| **Category catalog dumps** | Full category listings with pagination |
| **Brand assortment maps** | All SKUs on a brand page with stock & discount depth |
| **GST / HSN enrichment** | Tax %, tax amount, and HSN from product detail pages |
| **Bulk-break intelligence** | Quantity ladders (minQty–maxQty → price) |
| **Variant & attribute matrices** | Size / colour siblings plus structured attributes |

### When to use this Actor

- You need **Moglix product and price data** as dataset rows
- You have **keywords**, **category URLs**, **brand pages**, or **product PDPs**
- You want **transactional prices** (not RFQ-only directories)
- You prefer a **browser-free** crawl on Apify

### When not to use this Actor

- **Supplier phone / GST KYC leads** — use an IndiaMART-style supplier scraper instead
- **Placing orders or RFQs** — this Actor is read-only extraction
- **Pincode-specific delivery ETAs** — optional location fields are not resolved here
- **Authenticated / enterprise Cognilix catalogs** — public storefront only

### Key features

- Search queries + category / brand / product URLs in one run
- Listing cards plus optional full PDP enrichment (`fetchDetails`)
- Structured fields: price, MRP, GST, HSN, bulk tiers, stock, attributes, variants
- Deduplicated by MSN, hard `maxItems` cap, configurable concurrency
- Apify Proxy ready (datacenter default; IN residential if needed)

### Input

| Field | Type | Description |
| :--- | :--- | :--- |
| `searchQueries` | string\[] | Product keywords (e.g. safety gloves, house wires) |
| `startUrls` | request list | Mix of category / brand / PDP / search URLs |
| `categoryUrls` | request list | Category listing URLs |
| `brandUrls` | request list | `/brands/{slug}` pages |
| `productUrls` | request list | Product detail URLs (`…/mp/{msn}`) |
| `fetchDetails` | boolean | Enrich each row from the PDP (default `true`) |
| `maxItems` | integer | Hard cap on output rows (`0` = unlimited within pages) |
| `maxPages` | integer | Max pages per search / category / brand |
| `pageSize` | integer | API page size for search & brand (10–60) |
| `concurrency` | integer | Parallel PDP workers (1–15) |
| `proxyConfiguration` | object | Apify Proxy settings |

#### Example input

```json
{
  "searchQueries": ["safety gloves", "house wires"],
  "categoryUrls": [
    { "url": "https://www.moglix.com/electricals/wires-cables/house-wires/211196531" }
  ],
  "brandUrls": [
    { "url": "https://www.moglix.com/brands/fab" }
  ],
  "fetchDetails": true,
  "maxItems": 100,
  "maxPages": 3,
  "proxyConfiguration": { "useApifyProxy": true }
}
```

### Output

Each dataset item is one product.

| Field | Description |
| :--- | :--- |
| `msn` | Moglix stock number |
| `title` | Product name |
| `brand` / `brandUrl` | Brand label and brand page |
| `sellingPrice` / `mrp` | Current price and MRP (INR) |
| `priceWithoutTax` / `taxAmount` / `taxPercentage` | GST split |
| `hsn` | HSN code (detail mode) |
| `bulkPrices` | Quantity break ladder |
| `moq` / `quantityAvailable` / `outOfStock` | Order & stock signals |
| `categoryName` / `categoryPath` / `taxonomy` | Category tree |
| `attributes` / `keyFeatures` / `variants` | Specs and sibling MSNs |
| `rating` / `reviewCount` | Review aggregates |
| `url` / `imageUrl` / `images` | Links and media |
| `enriched` / `sourceType` / `scrapedAt` | Provenance |

#### Example output

```json
{
  "recordType": "product",
  "msn": "MSNO5WN7R38W51",
  "title": "FAB 1 Sqmm Single Core Red FR PVC CCS Copper Insulated House Wire, Length: 91 m",
  "brand": "FAB",
  "sellingPrice": 469,
  "mrp": 1600,
  "priceWithoutTax": 397,
  "taxAmount": 72,
  "taxPercentage": 18,
  "discountPercent": 70,
  "currency": "INR",
  "hsn": "85446090",
  "moq": 1,
  "quantityAvailable": 908,
  "bulkPrices": [
    { "minQty": 2, "maxQty": 2, "sellingPrice": 465 }
  ],
  "categoryName": "House Wires",
  "url": "https://www.moglix.com/fab-1-sqmm-single-core-red-fr-pvc-ccs-copper-insulated-house-wire-length-91-m/mp/msno5wn7r38w51",
  "enriched": true,
  "sourceType": "search",
  "scrapedAt": "2026-08-06T09:00:00.000Z"
}
```

### Integration examples

#### Node.js

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('crawloop/moglix-scraper').call({
  searchQueries: ['safety gloves'],
  maxItems: 50,
  fetchDetails: true,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.slice(0, 3));
```

#### Python

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_TOKEN")
run = client.actor("crawloop/moglix-scraper").call(run_input={
    "searchQueries": ["safety gloves"],
    "maxItems": 50,
    "fetchDetails": True,
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["msn"], item.get("sellingPrice"), item.get("title"))
```

#### cURL

```bash
curl -X POST "https://api.apify.com/v2/acts/crawloop~moglix-scraper/runs?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"searchQueries":["safety gloves"],"maxItems":50,"fetchDetails":true}'
```

### MCP and AI assistants

Use this Actor from AI tools via [Apify MCP](https://docs.apify.com/platform/integrations/mcp).
Connect your Apify account, then call this Actor by its Store ID / name (`crawloop/moglix-scraper`).

Example prompts:

- "Run Moglix Scraper for safety gloves and return the top 20 rows as JSON with sellingPrice, mrp, and hsn"
- "Scrape the House Wires category on Moglix with full PDP details and summarize GST and bulk tiers"
- "Chain Moglix Scraper then Europages Scraper for India catalog prices plus EU supplier contacts"

### Suite next step

After Moglix catalog prices, map EU suppliers with [Europages Scraper](https://apify.com/crawloop/europages-scraper), DACH firms with [WLW Scraper](https://apify.com/crawloop/wlw-scraper), or electronics MOQ/price breaks with [RS Online Scraper](https://apify.com/crawloop/rs-online-scraper) / [DigiKey Product Scraper](https://apify.com/crawloop/digikey-product-scraper).

### FAQ

**Is this an official Moglix API?**\
No. It reads publicly available storefront and catalog responses. There is no public developer API for general catalog search — this Actor is a **Moglix API alternative** for structured export.

**Do I need a Moglix account?**\
No. Public listing and product pages are enough.

**How is this different from IndiaMART scrapers?**\
IndiaMART actors focus on supplier discovery and KYC signals (phone, GSTIN on seller cards). Moglix is a **transactional industrial catalog** — fixed INR prices, MRP, GST/HSN, stock, and bulk breaks per SKU.

**Can I scrape with Python or Node.js?**\
Yes. Use the Apify client examples above, or call the Actor from **MCP** / AI assistants.

**Why are some detail fields empty?**\
Listing mode only returns card fields. Enable `fetchDetails` for HSN, bulk ladders, full attributes, and variants. Some fields are simply not published on every SKU.

### Related Actors

- [Europages Scraper](https://apify.com/crawloop/europages-scraper)
- [WLW Scraper](https://apify.com/crawloop/wlw-scraper)
- [RS Online Scraper](https://apify.com/crawloop/rs-online-scraper)
- [DigiKey Product Scraper](https://apify.com/crawloop/digikey-product-scraper)

# Actor input Schema

## `searchQueries` (type: `array`):

Free-text product keywords (e.g. "safety gloves", "house wires", "power drill"). Each query is searched via the Moglix catalog API.

## `startUrls` (type: `array`):

Mix of category pages, brand pages, product PDPs, or search URLs from moglix.com.

## `categoryUrls` (type: `array`):

Category listing URLs (…/{categoryId}), e.g. https://www.moglix.com/electricals/wires-cables/house-wires/211196531

## `brandUrls` (type: `array`):

Brand pages (/brands/{slug}) or brand slugs resolved to /brands/{slug}.

## `productUrls` (type: `array`):

Product detail URLs (…/mp/{msn}).

## `fetchDetails` (type: `boolean`):

When true, enrich each listing with full PDP fields (GST/HSN, bulk price tiers, full specs, variants, manufacturer). When false, emit listing-card fields only.

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

Hard cap on dataset rows (0 = unlimited within maxPages).

## `maxPages` (type: `integer`):

Max pagination pages per search query, category, or brand.

## `pageSize` (type: `integer`):

Results per API page for search and brand (10–60).

## `concurrency` (type: `integer`):

Parallel PDP enrichment workers (1–15).

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

Apify Proxy settings. Datacenter is usually enough; switch to Residential (IN) if blocked.

## Actor input object example

```json
{
  "searchQueries": [
    "safety gloves"
  ],
  "startUrls": [],
  "categoryUrls": [],
  "brandUrls": [],
  "productUrls": [],
  "fetchDetails": true,
  "maxItems": 50,
  "maxPages": 3,
  "pageSize": 40,
  "concurrency": 4,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

Default dataset items (product records).

# 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("crawloop/moglix-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("crawloop/moglix-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 crawloop/moglix-scraper --silent --output-dataset

```

## MCP server setup

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