# GeM Tenders Scraper – India Government Bids (`publicrows/gem-tenders`) Actor

Live and recent bids from India's Government e-Marketplace (GeM): bid number, category, quantity, buying ministry and department, start and end dates, document link. Clean JSON, no login, updated per run.

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

## Pricing

$1.50 / 1,000 tender returneds

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 Tenders Scraper – India Government Bids

Live and recent bids from India's Government e-Marketplace (GeM): bid number, category, quantity, buying ministry and department, start and end dates, document link. Clean JSON, no login, updated per run.

### Who this is for

Procurement teams, bid consultants, suppliers and analysts who need India's government bids as clean rows instead of pages: filter by category, ministry or dates, feed a CRM or a sheet, or let an AI agent watch for new bids.

### Sample output

```json
{
  "bid_number": "GEM/2026/R/754376",
  "bid_id": 10050097,
  "category": "Short Term Cab & Taxi Hiring Services - Sedan; Local; 80Kms x 10Hrs,Short Term Cab & Taxi Hiring Se",
  "boq_title": null,
  "quantity": 10,
  "ministry": "Ministry of Defence",
  "department": "Department of Military Affairs",
  "bid_type": 2,
  "is_global_tender": false,
  "is_limited_tender": false,
  "is_boq": null,
  "start_date": "2026-10-17T23:00:00.000Z",
  "end_date": "2026-10-20T09:00:00.000Z",
  "status": 1,
  "document_url": "https://bidplus.gem.gov.in/showbidDocument/10050097"
}
```

### What you get

One row per tender. Every row also carries `_source` (attribution) and the recipe version.

| Field | Type |
| --- | --- |
| `bid_number` | string, always present |
| `bid_id` | number, always present |
| `category` | string |
| `boq_title` | string |
| `quantity` | number |
| `ministry` | string |
| `department` | string |
| `bid_type` | number |
| `is_global_tender` | boolean |
| `is_limited_tender` | boolean |
| `is_boq` | boolean |
| `start_date` | datetime |
| `end_date` | datetime |
| `status` | number |
| `document_url` | string |

### Pricing

Pay per tender: $0.0015 each ($1.50 per 1,000). The first 20 rows of every run are free, so a test costs nothing.

### How to run

1. Keep the defaults for the standard sample, or set the inputs (listed last, below).
2. Run. Results land in the dataset as JSON, CSV or Excel.
3. From code or an agent: call it through the API, or as an MCP tool via mcp.apify.com.

### Source and fair use

Data comes from undefined. The actor fetches public pages only, honours robots.txt, keeps a low request rate with an identified user agent, and returns structured facts, never copied text, images or reviews. No personal data of individuals is included.

### FAQ

**How fresh is the data?** Each run fetches live from the source.
**Can I get more fields?** Open an issue with the field name and a sample URL.
**Something broke?** Open an issue. Issues are answered within 12 hours.

### Inputs

- `status`: Value of "status" passed to the source query. Default: "ongoing_bids".
- `search`: Value of "search" passed to the source query. Default: "".
- `maxItems`: Stop after this many rows.

# Actor input Schema

## `status` (type: `string`):

Value of "status" passed to the source query. Default: "ongoing_bids".

## `search` (type: `string`):

Value of "search" passed to the source query. Default: "".

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

Stop after this many rows.

## Actor input object example

```json
{
  "status": "ongoing_bids",
  "search": "",
  "maxItems": 50
}
```

# Actor output Schema

## `rows` (type: `string`):

Dataset items, one per tender (bid_number, bid_id, category, boq_title, quantity, ministry, department, bid_type, is_global_tender, is_limited_tender, is_boq, start_date, end_date, status, document_url). Append ?format=csv or ?format=xlsx for other formats.

## `runSummary` (type: `string`):

Pages fetched, response classes, cost estimate and the quality-gate checks for this run.

# 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("publicrows/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 = {}

# Run the Actor and wait for it to finish
run = client.actor("publicrows/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 '{}' |
apify call publicrows/gem-tenders --silent --output-dataset

```

## MCP server setup

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