# GeM India L1 Product & Price Monitor (mkp.gem.gov.in) (`hypebridge/gem-mkp-l1-product-price-monitor`) Actor

Monitor product catalog prices, L1 (Lowest Price) floors, unmasked seller identities (OEM vs. Reseller), Make-in-India (MII) local content %, exact stock quantities, and Golden Parameters (#golden-parameters) on India's Government e-Marketplace product portal (mkp.gem.gov.in).

- **URL**: https://apify.com/hypebridge/gem-mkp-l1-product-price-monitor.md
- **Developed by:** [Hypebridge](https://apify.com/hypebridge) (community)
- **Categories:** E-commerce, Automation, Integrations
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.30 / 1,000 enriched gem product (pdp)s

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

## GeM India L1 Product & Price Monitor (`mkp.gem.gov.in`)

Monitor product catalog prices, **L1 (Lowest Price) floors**, unmasked seller identities (OEM vs. Reseller), Make-in-India (MII) local content %, exact stock quantities, and **Golden Parameters** (`#golden-parameters`) on India's Government e-Marketplace product portal (`mkp.gem.gov.in`).

Built for Indian government-supply OEMs, authorized GeM resellers, MSE bidders, and GeM portal management agencies competing for **Direct Purchase (<₹50,000)** and **L1 Comparison (₹50,000–₹5,00,000)** orders under **GFR Rule 149**.

***

### Why This Actor vs. Alternatives

| Tool / Actor | Coverage | L1 Catalog Pricing (`mkp.gem.gov.in`) | Unmasked Seller Name | Golden Parameters & MII % | Stateful Delta Alerts |
| --- | --- | --- | --- | --- | --- |
| **GeM India L1 Product & Price Monitor** | `mkp.gem.gov.in` catalog | Yes (Tier 1 JSON, 20/page) | Yes (plaintext from API) | Yes (cached + delta PDP) | Yes (KV snapshot diffing) |
| `foxlabs/india-government-tenders` | `bidplus.gem.gov.in` bids only | No | No | No | No |
| `automatic/gem-tenders-scraper` | `bidplus.gem.gov.in` bids only | No | No | No | No |
| TenderTiger / BidAssist | Tender alerts SaaS (UI) | Limited / no JSON API | Manual lookup | Manual lookup | Tender-only |

***

### Key Features

| Feature | Details |
| --- | --- |
| **Fast Tier 1 JSON Listing API** | Queries `mkp.gem.gov.in`'s internal `search.json` endpoint (20 items/page, `~34 KB/page`) with preconfigured Indian residential routing — no slow browser rendering. |
| **Pre-Filtered URL Support** | Paste any GeM category URL with filters already selected (`#/?make[]=HP&sort_type=price_in_asc`) and the actor automatically forwards them server-side. |
| **Unmasked Seller, Ratings & Pricing** | Extracts plaintext `seller.name`, `seller.externalRefId`, `isAuthorized`, `isReseller`, seller `rating` & sub-scores (`delivery`, `quality`, `reliability`, `imImpact`), numeric `finalPrice`/`listPrice` (`INR`), `discountPercent`, `moq`, `isL1`, and `buyableHint`. |
| **Full PDP Specs & Compliance Badges** | Extracts exact `stockQty`, `localContentPct` (MII %), `countryOfOrigin`, `categoryQuarter` (`Q1–Q4`), `isOemVerified`, `isMse`, `isWomaniya`, `isStartup`, `bisCertification` (when present), `#golden-parameters`, and all grouped `#feature_groups` technical specifications — caching Golden Parameters in KV state for 30 days. |
| **Stateful L1 Monitoring** | Compares runs against a named Apify Key-Value Store (`onlyDeltas: true`) to detect `new_listing`, `new_l1_floor`, `competitor_undercut`, `price_increase`, and `seller_change`. |

***

### Supported Market & URL Patterns

- **Supported Market**: **India (`IN`) only** (`mkp.gem.gov.in`, `INR`, `en`). Non-`mkp.gem.gov.in` URLs are skipped with a warning and zero rows.
- **Supported URL Shapes**:
  - Category search: `https://mkp.gem.gov.in/computers-entry-level-computer-cpu/search`
  - Pre-filtered category search: `https://mkp.gem.gov.in/computers-entry-level-computer-cpu/search#/?make[]=HP&sort_type=price_in_asc`
  - Direct product detail page (always fully enriched): `https://mkp.gem.gov.in/entry-mid-level-desktop-computer/dugong-proscenium/p-5116877-93236263771-cat.html`
  - Category directory API: `https://mkp.gem.gov.in/rest/api/v1/browse_nodes.json?_ln=en&only_dfb=false&page=1&per_page=10`

***

### Input Parameters

#### Primary Options

- **`startUrls`** *(required)*: List of `mkp.gem.gov.in` category, filtered search, direct product, or `browse_nodes.json` URLs.
- **`maxItems`** *(default: `100`, `1–2000`)*: Maximum products to extract across all start URLs.
- **`getProductDetails`** *(default: `true`)*: When `true` (default), visits each PDP for exact stock, MII %, and Golden Parameters. Set to `false` to extract fast JSON listing records only (plus cached Golden Parameters). Direct PDP URLs in `startUrls` are always enriched.

#### Advanced Options

- **`onlyDeltas`** *(default: `false`)*: Emit only new or changed items compared to the previous run in `stateStoreName`.
- **`sortBy`** *(default: `price_in_asc`)*: Server-side sort (`price_in_asc`, `price_in_desc`, `popularity`, `latest`).
- **`makeInIndiaOnly`** *(default: `false`)*: Restrict results to Make-in-India (MII) listings.
- **`maxPagesPerCategory`** *(default: `10`, `1–50`)*: Cap listing pages fetched per category (20 items/page).
- **`maxPdpEnrichments`** *(default: `100`, `0–500`)*: Cap live PDP HTML fetches per run.
- **`stateStoreName`** *(default: `gem-mkp-l1-monitor-state`)*: Named KV store for delta snapshots and 30-day Golden Parameter caching.
- **`maxConcurrency`** *(default: `3`, `1–5`)*: Concurrent requests over the Indian residential proxy.
- **`debugMode`** *(default: `false`)*: Verbose logs + save failure debug payloads to KV store.

***

### Usage Examples

#### 1. Fast L1 Price Ranking for a Category

```json
{
  "startUrls": [
    { "url": "https://mkp.gem.gov.in/computers-entry-level-computer-cpu/search" }
  ],
  "maxItems": 60,
  "getProductDetails": false,
  "sortBy": "price_in_asc"
}
```

#### 2. Brand-Filtered + Make-in-India Stateful L1 Monitor (Scheduled Daily)

```json
{
  "startUrls": [
    { "url": "https://mkp.gem.gov.in/computers-entry-level-computer-cpu/search#/?make[]=HP&sort_type=price_in_asc" }
  ],
  "maxItems": 100,
  "onlyDeltas": true,
  "makeInIndiaOnly": true,
  "stateStoreName": "gem-hp-desktop-l1-monitor"
}
```

#### 3. Direct Product Detail Audit (Exact Stock, MII %, Golden Parameters)

```json
{
  "startUrls": [
    { "url": "https://mkp.gem.gov.in/entry-mid-level-desktop-computer/dugong-proscenium/p-5116877-93236263771-cat.html" }
  ],
  "maxItems": 10
}
```

***

### Sample Output

```json
{
  "productId": "5116877-93236263771",
  "sourceUrl": "https://mkp.gem.gov.in/computers-entry-level-computer-cpu/search",
  "url": "https://mkp.gem.gov.in/entry-mid-level-desktop-computer/dugong-proscenium/p-5116877-93236263771-cat.html",
  "market": "IN",
  "language": "en",
  "categoryId": "home_info_comp_comp_entr",
  "categoryTitle": "Entry and Mid Level Desktop Computer",
  "categorySlug": "computers-entry-level-computer-cpu",
  "title": "DUGONG Entry Level Desktop Computer with Warranty 3 Year",
  "brand": "DUGONG",
  "imageUrl": "https://assets-mkpbg.gem.gov.in/img/othe/1172742/4d/ee/highnew1.jpeg.921b934dee.999xx.jpg",
  "l1Rank": 1,
  "isL1": false,
  "finalPrice": 22242,
  "listPrice": 229999,
  "currency": "INR",
  "discountPercent": 90.33,
  "moq": 1000000,
  "isBuyable": false,
  "seller": {
    "name": "UNICORN INDUSTRIES",
    "externalRefId": "Comp74dae04c0f3416ad938b0774af0d8d06",
    "isAuthorized": true,
    "isAssessed": false,
    "isReseller": true,
    "soldAs": "Resellers",
    "displaySoldAs": "Reseller - Authorization Details Available"
  },
  "deltaEvent": "baseline",
  "pdpDetails": {
    "enriched": true,
    "stockQty": 1000000,
    "availabilityText": "1000000 In Stock",
    "localContentPct": 71,
    "miiClass": "Class-I local supplier",
    "countryOfOrigin": "India",
    "isOemVerified": true,
    "goldenParameters": {
      "Computer Type": "Entry Level",
      "Processor Number": "AMD Ryzen 3 5300G",
      "Factory Pre-loaded Operating System by Desktop OEM": "DOS or Equivalent"
    },
    "goldenParameterKey": "Computer Type=Entry Level | Factory Pre-loaded Operating System by Desktop OEM=DOS or Equivalent | Processor Number=AMD Ryzen 3 5300G",
    "specifications": {}
  },
  "scrapedAt": "2026-11-22T23:59:00.000Z"
}
```

***

### Pricing (Pay-Per-Event)

- **Actor start (`apify-actor-start`)**: `$0.01` FREE (`$0.005` GOLD) per GB memory
- **Enriched GeM Product (`product-detail-enriched`, primary — default)**: `$0.008` FREE (`$0.0053` GOLD) per item enriched from its detail page
- **GeM Listing Product (`listing-product` — when `getProductDetails: false`)**: `$0.003` FREE (`$0.002` GOLD) per fast JSON listing item

***

### FAQ

- **Why does the actor use Indian residential routing?** `mkp.gem.gov.in` geo-fences non-India IPs at the network level. Indian residential proxy routing is preconfigured automatically.
- **How do I track L1 for specific technical specs?** Filter your category on `mkp.gem.gov.in`, copy the browser URL (including `#/?...`), and paste it into `startUrls`, or enable `getProductDetails` on your first run so Golden Parameters are cached in KV state for spec-matched L1 grouping.

# Actor input Schema

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

Paste any mkp.gem.gov.in category URL (including pre-filtered #/?... URLs), direct product URL (p-\*-cat.html), or browse_nodes.json URL.

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

Maximum number of products to extract across all start URLs (20 products per listing page).

## `getProductDetails` (type: `boolean`):

When ON (default), visits each product detail page for exact stock quantity, Make-in-India %, BIS certifications, and Golden Parameters. When OFF, extracts listings from the fast JSON API only (prices, L1 rank, unmasked seller, MOQ) plus any cached Golden Parameters.

## `onlyDeltas` (type: `boolean`):

Compare against the previous snapshot in the named KV store and emit only new listings, price changes, L1 rank shifts, or seller changes. First run establishes the baseline.

## `sortBy` (type: `string`):

Server-side sort order applied to category searches.

## `makeInIndiaOnly` (type: `boolean`):

Apply GeM's server-side Make in India (MII) filter to category searches.

## `maxPagesPerCategory` (type: `integer`):

Hard cap on listing pages fetched per category (20 items/page).

## `maxPdpEnrichments` (type: `integer`):

Hard cap on product detail HTML pages fetched in a single run to control runtime and cost.

## `stateStoreName` (type: `string`):

Named Apify Key-Value Store used to persist product price/L1 snapshots and cached Golden Parameters across scheduled runs (30-day TTL).

## `maxConcurrency` (type: `integer`):

Maximum concurrent HTTP requests over the Indian residential proxy.

## `debugMode` (type: `boolean`):

Enable verbose debug logging and save raw HTML/JSON failure artifacts to the Key-Value Store.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://mkp.gem.gov.in/computers-entry-level-computer-cpu/search"
    }
  ],
  "maxItems": 100,
  "getProductDetails": true,
  "onlyDeltas": false,
  "sortBy": "price_in_asc",
  "makeInIndiaOnly": false,
  "maxPagesPerCategory": 10,
  "maxPdpEnrichments": 100,
  "stateStoreName": "gem-mkp-l1-monitor-state",
  "maxConcurrency": 3,
  "debugMode": false
}
```

# Actor output Schema

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

Complete dataset containing all extracted GeM product records, seller details, delta events, and PDP Golden Parameters.

## `overview` (type: `string`):

Compact table view focused on L1 rank, pricing, seller, and delta status.

# 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 = {
    "startUrls": [
        {
            "url": "https://mkp.gem.gov.in/computers-entry-level-computer-cpu/search"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("hypebridge/gem-mkp-l1-product-price-monitor").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 = { "startUrls": [{ "url": "https://mkp.gem.gov.in/computers-entry-level-computer-cpu/search" }] }

# Run the Actor and wait for it to finish
run = client.actor("hypebridge/gem-mkp-l1-product-price-monitor").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 '{
  "startUrls": [
    {
      "url": "https://mkp.gem.gov.in/computers-entry-level-computer-cpu/search"
    }
  ]
}' |
apify call hypebridge/gem-mkp-l1-product-price-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hypebridge/gem-mkp-l1-product-price-monitor"
        }
    }
}
```

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/0F1xdFfKoTkW4FfGK/builds/oyFSPI7rM7RsH3d4F/openapi.json
