# GeM India Government Tenders Scraper: Bids & Bid Notices (`jayraj0975/gem-tenders`) Actor

Extract public GeM (Government e-Marketplace India) bid and tender listings: bid number, department, item, quantity, dates. Public pages only, no login. Pay per result.

- **URL**: https://apify.com/jayraj0975/gem-tenders.md
- **Developed by:** [Jay Gaikwad](https://apify.com/jayraj0975) (community)
- **Categories:** Business, Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.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.

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 Government Tenders Scraper (Live Bids & Bid Notices)

Structured live Indian government tenders and bid notices from the official GeM portal (`bidplus.gem.gov.in`). Track live bids, procuring ministry and department, bid submission deadline, and direct specification PDF document URLs. Pay-per-result at $1.00 per 1,000 results ($0.001 per bid).

***

### 1. What It Does

Extract live public bids, procuring ministry and department names, submission deadlines, and direct specification PDF document URLs from Government e-Marketplace (GeM India). Each run returns clean, structured JSON per tender notice. Operates purely on public portal listings without logins. Note: does not extract EMD or tender value fields as they are not published in public listing summaries.

***

### 2. Who Uses It

- **Bid consultants and tender-preparation firms** tracking new GeM opportunities for SME clients.
- **Manufacturers and traders** monitoring category-specific bid notices for their product categories.
- **Sales teams** mapping which government departments are procuring which categories.
- **Compliance and market-research analysts** producing category-wise procurement trend reports.
- **AI-agent builders** needing a structured feed of public tender notices for downstream workflow tools.

***

### 3. Input Parameters

| input | type | required | default | allowed / limits | example | notes |
|---|---|---|---|---|---|---|
| `keyword` | string | no | `"laptop"` (prefilled) | free text | `"laptop"` | Case-insensitive substring matched on bid title, category, BOQ items, or bid number. Empty = no keyword filter. |
| `ministry` | string | no | `""` | free text | `"Ministry of Defence"` | Case-insensitive substring match on the procuring central ministry. Empty = no filter. |
| `department` | string | no | `""` | free text | `"Department of Military Affairs"` | Case-insensitive substring match on the procuring department or buyer organization. Empty = no filter. |
| `bidStatus` | enum | no | `"ongoing"` | `["ongoing", "awarded", "cancelled"]` | `"ongoing"` | Bid lifecycle stage. Accepts `"ongoing"` (active open bids; default), `"awarded"` (evaluated / awarded bids via `bidrastatus`), or `"cancelled"` (cancelled bids). |
| `maxItems` | integer | no | `50` (prefilled) | 1 – 500 | `50` | Maximum number of tender records returned per run. Requests above 500 are clamped to 500 and a warning is logged. |
| `sinceDays` | integer | no | `7` (prefilled) | 1 – 90 | `7` | If set, only bids whose published `startDate` is within the last N days are returned. **Bids with a `null` `startDate` cannot be compared against the cutoff; they are retained (not excluded) and do not halt pagination.** |

***

### 4. Output Sample

Example record (values vary):

```json
{
  "bidNumber": "GEM/2026/R/774465",
  "title": "TATA 2625-8855 SOLENOID SWITCH,TATA 5977-000031 CARBON BRUSH",
  "quantity": 20,
  "ministry": "Ministry of Defence",
  "department": "Department of Military Affairs",
  "startDate": "2026-11-22T00:00:00Z",
  "endDate": "2026-11-24T09:00:00Z",
  "documentUrl": "https://bidplus.gem.gov.in/showradocumentPdf/10197697",
  "scrapedAt": "2026-11-20T19:00:19Z"
}
```

#### Field Definitions

- **`bidNumber`** (string): Unique GeM identifier for the tender notice (e.g. `GEM/2026/R/...` for RA bids, `GEM/2026/B/...` for standard bids).
- **`title`** (string): Category name(s) and BOQ item title extracted from the public listing.
- **`quantity`** (integer or float, nullable): Total unit quantity requested in the bid notice. `null` when not published by the source.
- **`ministry`** (string, nullable): Procuring central government ministry (e.g. `Ministry of Defence`). `null` for state government departments and municipal bodies as they are not central ministries.
- **`department`** (string, nullable): Procuring department, board, or buyer organization.
- **`startDate`** (string, nullable): ISO 8601 UTC publication start timestamp (`YYYY-MM-DDTHH:MM:SSZ`).
- **`endDate`** (string, nullable): ISO 8601 UTC bid closing timestamp / submission deadline (`YYYY-MM-DDTHH:MM:SSZ`).
- **`documentUrl`** (string, nullable): Direct HTTPS link to the official public tender notice specification PDF or RA document on GeM.
- **`scrapedAt`** (string): ISO 8601 UTC timestamp of when this record was extracted.

*Notice on fields:* Does not extract or claim EMD (Earnest Money Deposit) or tender value fields, as they are not published in public search summary cards.

*Empty results:* A run that matches no tenders returns `[]` and produces zero billed result events under Apify's pay-per-result billing model.

*Null fields:* `ministry`, `department`, `quantity`, `startDate`, or `endDate` may be `null` when the source portal itself does not publish that field for a given bid notice. For example, `ministry` is `null` for state government departments and municipal bodies.

***

### 5. Pricing

Pay-per-result: **$1.00 per 1,000 results** ($0.001 per record). **No actor-start fee.** Zero-result runs are not billed (subject to Apify's pay-per-result billing model).

***

### 6. Limits & Honest Caveats

- Reads **only public pages** of `bidplus.gem.gov.in`. Does not log in, does not access bidder or seller dashboards, does not submit bids.
- Does not extract EMD or estimated contract value (not exposed on public search listings).
- The Government e-Marketplace may update page layout, endpoints, or anti-automation controls without notice. Runs may fail when this happens, and fixes will be issued as needed. Performance and uptime are not guaranteed.
- Historical tenders outside the source portal's active display window are not returned by the source and are not fabricated.
- `quantity`, `ministry`, `department`, `startDate`, or `endDate` may be `null` when the GeM portal itself does not publish that field for a given bid (e.g. `ministry` is `null` for state government departments and UT administrations).
- `documentUrl` points directly to the public GeM document viewer / PDF endpoint; the actor does not download or parse inside PDFs.
- Polite rate limiting: The actor uses a 1-second delay between paginated requests.
- The tool does not extract personal data (name, phone, email) of individual officers or bidders, based on current implementation and source data. If a source page lists such fields, they are dropped before output.
- We do not invent results. Every field in the output sample is present in the live public source as of the build date.

***

### Disclaimer

This actor is an independent, unofficial tool. It is **not affiliated with, endorsed by, sponsored by, or partnered with** the Government e-Marketplace (GeM), the Government of India, or any Indian government ministry or department. "GeM" and "Government e-Marketplace" are used descriptively to identify the public website whose pages this actor reads. The actor reads only public pages available to anonymous visitors. Users are responsible for complying with the source site's terms of use and applicable law when using the output. No legal, procurement, or bid advice is provided.

***

### 7. Frequently Asked Questions

1. **What source does this read, and is it a public page?**\
   It reads `bidplus.gem.gov.in`, the Government e-Marketplace public bid listing. All fetched pages are the same pages any anonymous visitor sees in a browser.

2. **Do I need an API key or login to the source site?**\
   No. Only your Apify account token is needed. This actor never authenticates against GeM.

3. **What fields come back and which can be empty?**\
   See §4. Returned fields: `bidNumber`, `title`, `quantity`, `ministry`, `department`, `startDate`, `endDate`, `documentUrl`, `scrapedAt`. `ministry`, `department`, `quantity`, `startDate`, and `endDate` can be `null` when the source portal itself does not publish them for that bid (e.g., `ministry` is null for state government departments). EMD and tender value are not returned.

4. **How is pricing calculated, and what happens when a run returns zero results?**\
   Pay-per-result at **$1.00 per 1,000 results** ($0.001 per record). **No actor-start fee.** A run that matches no tenders produces zero result events and is not billed under Apify's pay-per-result billing model.

5. **What is not supported?**\
   Historical/closed bids outside the source's display window; bidder/seller dashboards; PDF document text extraction; bid submission; EMD or contract value extraction; personal contact details of individual officers; any content requiring a GeM login.

***

### 8. Changelog

- `2026-11-21` (v0.2): Updated pricing to $1.00 / 1,000 bids ($0.001 per result); added Business, Lead Generation, Automation categories; prefilled keyword='laptop', sinceDays=7, maxItems=50; enhanced README and documentation around live bids, ministry, deadline, and document URLs.
- `2026-11-12` (v0.1): Initial release. Public tender-notice extraction with direct PDF document URLs; declared output schema.

***

### 9. Search Phrases

```
1) how do I find new GeM bids for my product category
2) find government tenders on GeM closing this week
3) scrape GeM bid-plus tender notices for SME bid consultancy
4) monitor Ministry of Defence GeM bids
5) GeM bid notice feed for procurement analysts
6) GeM tender dataset with bid document URLs and closing dates
7) GeM tender JSON output for reseller tooling
8) GeM tender tool for AI agent procurement workflow
9) GeM bid notices structured JSON for LLM and agent workflows
10) GeM public tender JSON feed for LLM downstream analysis
```

# Actor input Schema

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

Optional search term to filter tenders by product, service, BOQ title, or tender number (e.g. 'laptop', 'medical equipment', 'cctv').

## `ministry` (type: `string`):

Optional filter for Indian central government ministries (e.g. 'Ministry of Defence', 'Ministry of Finance', 'Ministry of Health and Family Welfare').

## `department` (type: `string`):

Optional filter for specific procuring department or buyer organization (e.g. 'Department of Military Affairs', 'Department of Telecommunications').

## `bidStatus` (type: `string`):

Status of the public tender notices to retrieve: ongoing active bids, evaluated / awarded bids, or cancelled bids.

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

Maximum number of tender notices to return.

## `sinceDays` (type: `integer`):

Optional filter to return only tenders published within the last N days (e.g. 7 for past week, 30 for past month).

## Actor input object example

```json
{
  "keyword": "laptop",
  "bidStatus": "ongoing",
  "maxItems": 50,
  "sinceDays": 7
}
```

# 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 = {
    "keyword": "laptop",
    "maxItems": 50,
    "sinceDays": 7
};

// Run the Actor and wait for it to finish
const run = await client.actor("jayraj0975/gem-tenders").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 = {
    "keyword": "laptop",
    "maxItems": 50,
    "sinceDays": 7,
}

# Run the Actor and wait for it to finish
run = client.actor("jayraj0975/gem-tenders").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 '{
  "keyword": "laptop",
  "maxItems": 50,
  "sinceDays": 7
}' |
apify call jayraj0975/gem-tenders --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,jayraj0975/gem-tenders"
        }
    }
}
```

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/N4B5ldVY8XYCyQFdX/builds/lrh5sa9rujkoqdQSE/openapi.json
