# India IPO GMP Scraper — Grey Market Premium & Subscription (`yugenox/india-ipo-gmp-scraper`) Actor

Live IPO GMP (grey market premium) for Indian mainboard and SME IPOs: GMP, GMP %, estimated listing price, live subscription (QIB, NII, retail), price, lot, issue size, dates, listing gains, a second GMP from IPO Watch and optional day-by-day GMP history. No login.

- **URL**: https://apify.com/yugenox/india-ipo-gmp-scraper.md
- **Developed by:** [Yugenox Corp](https://apify.com/yugenox) (community)
- **Categories:** Business, News
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 1,000 ipos

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## India IPO GMP Scraper: grey market premium, subscription and listing gains

Get the **live IPO GMP (grey market premium)** for every current Indian IPO, mainboard and SME, in one run: **GMP in ₹ and %, estimated listing price, estimated profit per lot, live subscription by investor category (QIB, NII, bHNI, sHNI, retail), price, lot size, issue size, P/E, open / close / allotment / listing dates, and the listing price and listing gain** of IPOs that listed recently. Rows also carry a **second GMP from IPO Watch** for comparison wherever IPO Watch lists the same IPO, and you can add each IPO's **day-by-day GMP history** with the subject-to-sauda rate. No login, no API key.

Data comes from the public GMP and subscription pages of InvestorGain and IPO Watch, two of the most followed IPO GMP trackers in India.

### What you get

| | |
|---|---|
| **IPO** | Company name, segment (Mainboard or SME), SME platform (NSE SME / BSE SME), status (upcoming, open, closing today, closed, listed), allotment done |
| **GMP** | Latest GMP (₹ per share), GMP % = expected listing gain, estimated listing price, estimated profit per lot, lowest and highest GMP so far, fire rating, when the GMP was last updated |
| **Issue** | Issue price, lot size, issue size (₹ crore), P/E, anchor investors yes / no, price band (with GMP history) |
| **Dates** | Opens, closes, basis of allotment, listing date |
| **Subscription** | Total, QIB, NII, big NII (bHNI), small NII (sHNI), retail, and when it was last updated |
| **Listing** | Listing price and listing gain % for recently listed IPOs |
| **Second opinion** | IPO Watch's GMP, GMP %, estimated listing price and trend for the same IPO |
| **GMP history** (optional) | One entry per day: GMP, GMP %, estimated listing price, profit per lot, subject-to-sauda rate, subscription, direction and trend; plus the latest subject-to-sauda rate and trend on the row |
| **Links** | The IPO's GMP and subscription pages on InvestorGain and its GMP page on IPO Watch |

There are usually 20–40 current IPOs (upcoming, open, closed and listed in about the last month), and a run reads them all in a few seconds.

### How to use it

1. Pick a **Segment**: all IPOs, mainboard only or SME only.
2. Optionally pick **IPO status** (for example only open IPOs), type a few **IPO names**, or set a **Minimum GMP %**.
3. Turn on **Include GMP history** if you want the day-by-day GMP for each IPO.
4. Run it. Schedule it every hour during market days to track how the GMP and the subscription move.

#### Input examples

All current IPOs with GMP and live subscription:

```json
{
  "segment": "all",
  "maxItems": 0
}
```

Open mainboard IPOs with a GMP of at least 10%, with their GMP history:

```json
{
  "segment": "mainboard",
  "statuses": ["open"],
  "minGmpPercent": 10,
  "includeGmpHistory": true
}
```

Just a few IPOs by name:

```json
{
  "ipoNames": ["Vedant Poly", "Maxwell"],
  "includeGmpHistory": true
}
```

Recently listed IPOs with their listing gains:

```json
{
  "statuses": ["listed"],
  "maxItems": 0
}
```

### Output example

A real row (GMP history trimmed to two days):

```json
{
  "ipoId": "2297",
  "name": "Vedant Poly Fabs",
  "segment": "SME",
  "exchange": "NSE SME",
  "status": "open",
  "statusCode": "O",
  "allotmentDone": false,
  "gmp": 15,
  "gmpPercent": 15.96,
  "gmpLow": 5,
  "gmpHigh": 15,
  "estListingPrice": 109,
  "estProfitPerLot": 18000,
  "gmpRating": 3,
  "gmpUpdatedAt": "2026-11-02T21:37:00+05:30",
  "issuePrice": 94,
  "priceBandLow": 88,
  "priceBandHigh": 94,
  "lotSize": 1200,
  "issueSizeCr": 56.68,
  "peRatio": 12.62,
  "anchorInvestors": false,
  "openDate": "2026-11-02",
  "closeDate": "2026-11-04",
  "allotmentDate": "2026-11-05",
  "listingDate": "2026-11-09",
  "listingPrice": null,
  "listingGainPercent": null,
  "subscriptionTotal": 0.42,
  "subscriptionQib": 0,
  "subscriptionNii": 0.83,
  "subscriptionBhni": 0.85,
  "subscriptionShni": 0.8,
  "subscriptionRetail": 0.14,
  "subscriptionUpdatedAt": "2026-11-02T17:56:00+05:30",
  "subjectToSauda": 13700,
  "gmpTrend": "Stable",
  "gmpHistory": [
    { "date": "2026-11-02", "gmp": 15, "gmpPercent": 15.96, "estListingPrice": 109, "estProfitPerLot": 18000, "subjectToSauda": 13700, "subscription": 0.42, "direction": "flat", "trend": "Stable", "updatedAt": "2026-11-02T21:37:00+05:30" },
    { "date": "2026-11-01", "gmp": 15, "gmpPercent": 15.96, "estListingPrice": 109, "estProfitPerLot": 18000, "subjectToSauda": 13700, "subscription": null, "direction": "up", "trend": "Stable", "updatedAt": "2026-11-01T23:37:00+05:30" }
  ],
  "ipowatchGmp": 15,
  "ipowatchGmpPercent": 15.96,
  "ipowatchEstListingPrice": 109,
  "ipowatchTrend": "up",
  "gmpUrl": "https://www.investorgain.com/gmp/vedant-poly-fabs-ipo/2297/",
  "subscriptionUrl": "https://www.investorgain.com/subscription/vedant-poly-fabs-ipo/2297/",
  "ipowatchUrl": "https://ipowatch.in/vedant-poly-fabs-ipo-gmp-today/",
  "source": "investorgain.com",
  "scrapedAt": "2026-11-02T17:04:55.084Z"
}
```

Every row has the same columns. A value the sites don't show is `null` (for example `gmp` is `null` while an IPO has no grey market quote yet, and the listing fields stay `null` until the IPO lists). Amounts are in Indian rupees, subscription figures in "times subscribed", and dates and times in India time.

### Pricing

Pay per result, no subscription:

- **$2.50 per 1,000 IPOs** saved (a run of all ~30 current IPOs costs about $0.08).
- **$4.00 per 1,000 GMP histories**, only when you turn on Include GMP history and only for IPOs whose GMP page had at least one day of history.
- **$0.002 per run** start fee.

Live subscription and the IPO Watch comparison are included at no extra cost. Rows over your **Max IPOs** or over your maximum charge for the run are never saved or charged.

### Use cases

- **IPO alerts**: schedule a run every hour and alert yourself when a GMP crosses your threshold or an IPO gets heavily subscribed.
- **Finance websites, apps and newsletters**: publish a GMP and subscription table that updates itself.
- **Research and backtesting**: compare the GMP history with the actual listing gain to see how well the grey market predicts listings.
- **Trading desks and advisors**: one clean table of every live IPO, mainboard and SME, with two GMP sources side by side.

### Tips

- **Mainboard vs SME**: SME IPOs (NSE Emerge, BSE SME) often have big GMPs and small issue sizes; use **Segment** to separate them.
- **Two GMP sources**: InvestorGain and IPO Watch collect GMP from different dealers, so small differences are normal. A big gap is worth a closer look. IPO Watch only lists IPOs that are open or closed recently, so already listed IPOs usually have empty IPO Watch columns.
- **Fresher GMP**: with **Include GMP history** on, each IPO's own GMP page is read, and when it is newer than the summary table the row takes the newer GMP.
- **Open includes closing today**: picking "Open" also returns IPOs that close today.
- **Grey market figures are unofficial**: GMP is an informal indicator, not a price quoted by any exchange. Use it as one signal among many.

### FAQ

**Do I need an account, an API key or a login?** No. The scraper reads the same public GMP and subscription pages any visitor sees.

**How fresh is the data?** As fresh as the sites: GMPs are usually updated several times a day and subscription figures during the bidding hours. Each row has `gmpUpdatedAt` and `subscriptionUpdatedAt`, so you always know how old a figure is.

**Why is the GMP `null` for some IPOs?** The grey market has no quote for that IPO yet (the site shows "--"). It is left empty, not set to 0, so you can tell "no quote" from "zero premium".

**What if one of the sites is down?** If InvestorGain can't be read, the rows come from IPO Watch (GMP, price, estimated listing and dates) and the status message says so. If IPO Watch is down, its comparison columns stay empty. The run always finishes with whatever could be collected, and you are never charged for rows that weren't saved.

**Which proxy should I use?** Keep the default (Apify Proxy, datacenter). It comes with every Apify plan, including the free one.

**Is it legal to scrape InvestorGain and IPO Watch?** This Actor only collects publicly available data: IPO GMP and subscription figures about listed and upcoming companies that anyone can see without an account. It doesn't collect anything about private individuals. Collecting publicly available data is generally legal, but you're responsible for how you use it, including the sites' terms and any rules that apply to publishing market information where you are. If you're unsure, check with a lawyer. More on this: [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/)

**Does it access any private data?** No. Everything comes from pages the two sites show to any visitor without logging in. The scraper never reads comments, user profiles or anything behind a login, and it follows each site's robots.txt.

*This Actor is not affiliated with, endorsed by or sponsored by InvestorGain or IPO Watch. GMP figures are unofficial grey market indications and not investment advice.*

# Actor input Schema

## `segment` (type: `string`):

Mainboard IPOs, SME IPOs (NSE Emerge / BSE SME) or both.

## `statuses` (type: `array`):

Only IPOs in these stages. "Open" also includes IPOs closing today. "Listed" = IPOs listed in roughly the last month, with their listing price and listing gain. Leave empty for all current IPOs.

## `ipoNames` (type: `array`):

Only IPOs whose company name contains one of these words, e.g. "Jio", "Tata", "Vedant Poly". Leave empty for all.

## `minGmpPercent` (type: `number`):

Only IPOs whose grey market premium is at least this percentage of the issue price, e.g. 10. IPOs without a GMP quote are left out when this is set. Leave empty for all.

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

Maximum number of IPO rows for the run (newest first). There are usually 20–40 current IPOs. 0 = all.

## `includeSubscription` (type: `boolean`):

Add the live subscription status by investor category (QIB, NII with bHNI / sHNI, retail, total) and its update time. One extra page for the whole run, no extra charge.

## `includeIpoWatch` (type: `boolean`):

Add IPO Watch's GMP, GMP %, estimated listing price and trend next to InvestorGain's, as a second opinion. One extra page for the whole run, no extra charge. If InvestorGain can't be read, IPO Watch is used as the source either way.

## `includeGmpHistory` (type: `boolean`):

Read each IPO's own GMP page and add its day-by-day GMP history (GMP, GMP %, estimated listing price, estimated profit per lot, subject-to-sauda rate, subscription and trend per day), the price band and the latest subject-to-sauda rate. One extra page per IPO, charged as "GMP history" (see Pricing).

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

Apify datacenter proxy (the default) is all this scraper needs. It is included in every Apify plan.

## Actor input object example

```json
{
  "segment": "all",
  "statuses": [],
  "maxItems": 10,
  "includeSubscription": true,
  "includeIpoWatch": true,
  "includeGmpHistory": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

All scraped IPOs with GMP, subscription and issue details.

## `run` (type: `string`):

Status and statistics for this run.

## `report` (type: `string`):

RUN_REPORT: how the run ended, sources read, counts and requests.

# 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 = {
    "segment": "all",
    "maxItems": 10,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("yugenox/india-ipo-gmp-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 = {
    "segment": "all",
    "maxItems": 10,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("yugenox/india-ipo-gmp-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 '{
  "segment": "all",
  "maxItems": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call yugenox/india-ipo-gmp-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,yugenox/india-ipo-gmp-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/5KeXgnn886PYc4Xoj/builds/0AHM12UqpEdI15vFh/openapi.json
