# Indian Gov Tender Analyser – GeM Bid Finder & Eligibility Check (`gold_function/gem-bid-checker`) Actor

Most powerful tender analyser for India's GeM portal. It scans all active tenders, finds the ones that match your business, checks every eligibility against your company, scores it, and gives you a ranked list with a BID / SKIP verdict, the deal documents, an action plan and the direct link to bid.

- **URL**: https://apify.com/gold_function/gem-bid-checker.md
- **Developed by:** [Vishal Kumar](https://apify.com/gold_function) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## 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

## Indian Gov Tender Analyser – GeM Bid Finder & Eligibility Checker

Most Powerful tender analyser for India's GeM portal. It scans all active tenders, finds the ones that match your business, checks every eligibility rule against your company, scores your fit, and gives you a ranked shortlist with a BID / SKIP verdict, the deal-breaker documents, an action plan and the direct link to bid.

**For Indian MSMEs and tender consultants.**

### The problem

- GeM lists **45,000+ open bids** at any time. Finding the 5 that fit your products means searching 9,800 product categories by hand.
- Each bid is a **90-page bilingual PDF**. Reading the ATC (Additional Terms and Conditions) for turnover, experience, EMD, ePBG and Make in India rules takes a consultant 30 to 60 minutes.
- **One missing mandatory document means rejection**, often for a stamp-paper NDA or a declaration buried on page 60.

### What you get

A real discovery run for the sample company (Karnataka forging and stamping MSME, delivery to Maharashtra and Karnataka, no past orders entered). In 88 seconds the agent ran 7 searches it chose itself, picked 6 bids, dropped 3 in code for delivery in Telangana (never charged), analysed 3 and returned:

**"1 of 3 analysed bids you can bid on. Next deadline 23-11-2026 09:00 (Hindustan Aeronautics Limited)."**

| # | Verdict | Fit | Recommendation | Buyer | Item | Delivery | Closes |
| --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | ✅ BID | **82** | Strong bid | Hindustan Aeronautics Limited | Indigenisation of stamping and forging | Maharashtra | 23-11-2026 09:00 |
| 2 | ⛔ SKIP | **20** | Skip | Armoured Vehicles Nigam Limited | Drive gear (forging) to drawing | state unknown | see note |
| 3 | ⛔ SKIP | **20** | Skip | BEML | Bushing forging to part no. 155BH5 | Karnataka | 24-11-2026 15:00 |

The two SKIPs are the clauses a busy owner misses on page 60: AVNL accepts only established vendors of Engine Factory Avadi, and BEML only firms that already supplied its KGF division. Saying no fast is half the value.

**Every bid gets a fit score you can audit.** The LLM rates each component with a reason; code does the weighting, and any eligibility failure caps the score at 20 (bid #1, HAL):

| Component | Weight | Score | Why |
| --- | --- | --- | --- |
| Eligibility | 30% | 100 | 4 of 4 conditions met (computed in code) |
| Capability match | 30% | 95 | BOQ is stamping and forging, the core of the profile |
| Effort to bid | 15% | 55 | ₹500 stamp-paper NDA in HAL format, plus ATC attachments to review |
| Time vs documents | 15% | 40 | Only 18 hours left to execute an offline NDA |
| Commercial terms | 10% | 90 | No EMD or ePBG; MSE purchase preference; 30-day payment |
| **Total** | | **82** | **Strong bid** |

**An action plan, deal-breakers first:**

1. Deal-breaker: NDA on ₹500 stamp paper (mandatory, bid rejected without it)
2. Download the HAL NDA format from the tender attachments and buy the stamp paper / franking
3. Execute, sign and stamp the NDA in HAL format, and scan it for upload
4. Prepare the Make in India Class-I local content certificate and the land-border undertaking
5. Check the buyer's ATC specifications and drawings for tooling and machining tolerances
6. Upload the Udyam certificate, technical documents and signed declarations on GeM
7. Submit on GeM by 23-11-2026 03:00 (deadline 09:00), leaving a buffer

**A compliance matrix:**

| Requirement | You must provide | Status |
| --- | --- | --- |
| ⚠️ NDA on ₹500 stamp paper in HAL format (ATC 1) | Signed and stamped NDA on ₹500 stamp paper / franking | 📝 need |
| ⚠️ Make in India local content ≥ 50% (ATC 2) | Self-declaration of local content % and value-addition locations | 📝 need |
| ⚠️ Land-border compliance (ATC 3) | Signed land-border compliance undertaking | 📝 need |
| ⚠️ Make in India reserved | Local content declaration (Class-I/II) | ✅ have |
| MSE OEM purchase preference | Udyam certificate showing manufacturer activity | ✅ have |

Past-performance and past-supply clauses are never marked as met unless you enter real past orders in `pastGovtExperience`; without them they show ❓ and the bid becomes CHECK.

Full reports from these runs: [discovery run](examples/discovery-report.md) and [HAL bid](examples/hal-report.md).

### How it works

1. **You describe your company.** Text, or a website URL (up to 5 pages are read with `apify/website-content-crawler`).
2. **An AI agent maps you to GeM.** It understands your products and picks 5 to 15 of GeM's ~9,800 categories, with a reason for each.
3. **It searches open bids** on bidplus.gem.gov.in. Code drops closed bids, wrong delivery states, out-of-range bid values and duplicates. Every search and its reason is saved in a search trail.
4. **It reads the bid PDFs** of the most promising bids and keeps going until it finds your target number of qualifying bids.
5. **You get a verdict, fit score, action plan and compliance matrix per bid.** Facts (deadline, EMD, ePBG, Make in India, delivery state) are pulled from the PDF with regex. Hard checks on turnover, experience, deadline and Make in India are done in code and override the LLM. The fit score is weighted in code from component scores, and bids are ranked by fit within each verdict.

The principle: **the agent decides where to look; code decides what is true.**

Prefer to check bids you already have? Paste PDF URLs, document IDs or `GEM/...` bid numbers and skip discovery.

### Input

Describe your company in your own words. Everything except a company description or website (or bid list) is optional.

| Field | Type | What it does |
| --- | --- | --- |
| `bidUrls` | array | Optional. Bid PDF URLs, document IDs or `GEM/...` numbers. If set, checks only these. |
| `companyName` | string | Your company name. |
| `websiteUrl` | string | Read up to 5 pages to understand what you make. |
| `companyDescription` | string | What you make or supply, in plain words. |
| `keywords` | array | Extra product terms to search. |
| `certifications` | array | ISO 9001, BIS, Udyam and similar. |
| `pastGovtExperience` | string | Past government or PSU orders. Used for experience checks. |
| `annualTurnoverInr` | integer | Annual turnover in ₹. Hard-checked against the bid. |
| `yearsInBusiness` | integer | Hard-checked against experience clauses. |
| `isMSE` / `isStartup` / `isOEM` / `isMakeInIndia` | boolean | Preference and eligibility flags. |
| `states` | array | Delivery states you serve. Bids whose detected delivery state is outside this list are dropped; unknown states are kept. |
| `minBidValueInr` / `maxBidValueInr` | integer | Drop bids outside your range (when value is declared). |
| `maxBidsToAnalyse` | integer | Cap on analysed bids. Default 20. This is your cost ceiling. |
| `targetQualifyingBids` | integer | Stop once this many qualify. Default 5. |
| `modelName` | string | LLM via Apify OpenRouter. Default `google/gemini-3.8-flash`. |

Sample input:

```json
{
  "companyName": "Shakti Forge & Stampings",
  "companyDescription": "MSME forging and stamping manufacturer in Karnataka. Closed-die forgings, sheet-metal stampings and machined components for defence, aerospace and heavy engineering.",
  "keywords": ["forging", "stamping"],
  "certifications": ["ISO 9001:2015"],
  "annualTurnoverInr": 30000000,
  "yearsInBusiness": 8,
  "isMSE": true,
  "isOEM": true,
  "isMakeInIndia": true,
  "states": ["Maharashtra", "Karnataka"],
  "maxBidsToAnalyse": 8,
  "targetQualifyingBids": 3
}
```

### Output

**One dataset item per analysed bid:** verdict (BID / SKIP / CHECK), `fitScore` (0-100) with `recommendation` (Strong bid / Consider / Skip), `fitRationale` and `fitBreakdown`, an `actionPlan`, a `complianceMatrix` (requirement, what to provide, have / need / unclear), per-criterion reasons, 3-line summary, buyer, item, quantity, deadline, EMD, ePBG, Make in India and MSE preference, delivery state, PDF link and the required-documents checklist.

**An `OUTPUT` record** with the headline, your understood profile, chosen categories, the search trail and a ranked table. A readable **`report.md`** is saved alongside it.

Call it from your own code:

```bash
curl -X POST "https://api.apify.com/v2/acts/<username>~gem-bid-checker/run-sync-get-dataset-items?token=<YOUR_API_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{
    "companyDescription": "Karnataka MSME making forged and stamped metal components",
    "states": ["Maharashtra", "Karnataka"],
    "maxBidsToAnalyse": 8,
    "targetQualifyingBids": 3
  }'
```

### Pricing

Pay per event: **$0.25 per analysed bid** (about ₹20), plus the standard Apify actor-start event.

Bids filtered out before analysis and failed downloads are **not charged**. Platform usage (residential proxy for gem.gov.in, LLM tokens) is billed to your Apify account and is usually under 1 cent per bid (a 5-bid discovery run used $0.024 in testing).

| Run | Bids analysed | Event charge | Typical usage | Approx. total |
| --- | --- | --- | --- | --- |
| Quick check | 3 | $0.75 | ~$0.02 | ~$0.77 |
| Demo run (sample input) | 8 | $2.00 | ~$0.05 | ~$2.05 |
| Full sweep | 20 | $5.00 | ~$0.12 | ~$5.12 |

For comparison, tender bid/no-bid tools in Europe such as Brickanta cost about €890 per user per month. A consultant reading one GeM PDF costs 30 to 60 minutes. Set `maxBidsToAnalyse` to cap spend.

### FAQ

**Is this official GeM?** No. It reads public bid documents on bidplus.gem.gov.in. It is not affiliated with GeM or the Government of India.

**Does it submit bids?** No. It never logs in to GeM and never submits anything. You decide and bid yourself.

**Does it handle Hindi PDFs?** GeM bids are bilingual. The agent reads the English text; Hindi-only clauses may be missed, and the verdict will say CHECK when something is unclear.

**How accurate is it? Do I still review?** Facts come from the PDF by regex and hard checks run in code, so numbers are not guessed. **CHECK means a human should review** a clause before you bid. Always read the final bid document before you submit.

**What happens to my data?** Your company profile and the bid text are sent to the LLM provider through Apify's OpenRouter proxy to produce the verdict, and results are stored in your own Apify run storage. We do not keep or resell your data.

### Limitations

- **Delivery state detection is best effort.** Masked consignee addresses show "state unknown", and such bids are kept rather than dropped.
- **Reverse-auction documents are skipped.**
- **Estimated Bid Value** is shown only when the buyer declares it.
- Only open bids on bidplus.gem.gov.in are searched. Closed bids are always dropped.

# Actor input Schema

## `bidUrls` (type: `array`):

Leave empty to let the agent find open bids for you. Or paste GeM bid PDF URLs (https://bidplus.gem.gov.in/showbidDocument/10004155), document IDs (10004155) or bid numbers (GEM/2026/B/8133699).

## `companyName` (type: `string`):

Your registered or trading name.

## `websiteUrl` (type: `string`):

Optional. We read up to 5 pages to understand what you make.

## `companyDescription` (type: `string`):

What you make or supply, where you are, size and strengths. Plain words are fine.

## `keywords` (type: `array`):

What you make or sell, one per line, e.g. forging, stamping.

## `certifications` (type: `array`):

e.g. ISO 9001:2015, BIS, Udyam.

## `pastGovtExperience` (type: `string`):

Optional. e.g. Supplied forged flanges to BHEL in 2024.

## `annualTurnoverInr` (type: `integer`):

Average yearly turnover in rupees, e.g. 30000000 for ₹3 Cr.

## `yearsInBusiness` (type: `integer`):

How many years your company has been operating.

## `isMSE` (type: `boolean`):

Tick if you hold a valid Udyam registration. Unlocks MSE relaxations.

## `isStartup` (type: `boolean`):

Tick if recognised by DPIIT. Unlocks startup relaxations.

## `isOEM` (type: `boolean`):

Tick if you make the product yourself, not as a reseller.

## `isMakeInIndia` (type: `boolean`):

Tick if your products meet the required Indian local content.

## `states` (type: `array`):

States you can deliver to. Bids whose delivery state is detected and different are skipped; unknown states are kept.

## `minBidValueInr` (type: `integer`):

Only applied when the bid PDF declares an Estimated Bid Value.

## `maxBidValueInr` (type: `integer`):

Only applied when the bid PDF declares an Estimated Bid Value.

## `maxBidsToAnalyse` (type: `integer`):

How many bid PDFs to read at most.

## `targetQualifyingBids` (type: `integer`):

Stop once this many BID/CHECK bids are found.

## `modelName` (type: `string`):

OpenRouter model slug (see https://openrouter.ai/models). No API key needed. Falls back to anthropic/claude-haiku-5.5 automatically.

## `debug` (type: `boolean`):

Produce more detailed logs.

## Actor input object example

```json
{
  "companyName": "Shakti Forge & Stampings",
  "companyDescription": "MSME forging and stamping manufacturer in Karnataka. Closed-die forgings, sheet-metal stampings and machined components for defence, aerospace and heavy engineering. ₹3 Cr turnover, 8 years, OEM, Make in India.",
  "keywords": [
    "forging",
    "stamping"
  ],
  "certifications": [
    "ISO 9001:2015"
  ],
  "annualTurnoverInr": 30000000,
  "yearsInBusiness": 8,
  "isMSE": true,
  "isStartup": false,
  "isOEM": true,
  "isMakeInIndia": true,
  "states": [
    "Maharashtra",
    "Karnataka"
  ],
  "maxBidsToAnalyse": 8,
  "targetQualifyingBids": 3,
  "modelName": "google/gemini-3.8-flash",
  "debug": false
}
```

# Actor output Schema

## `verdicts` (type: `string`):

No description

## `report` (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 = {
    "companyName": "Shakti Forge & Stampings",
    "companyDescription": "MSME forging and stamping manufacturer in Karnataka. Closed-die forgings, sheet-metal stampings and machined components for defence, aerospace and heavy engineering. ₹3 Cr turnover, 8 years, OEM, Make in India.",
    "keywords": [
        "forging",
        "stamping"
    ],
    "certifications": [
        "ISO 9001:2015"
    ],
    "annualTurnoverInr": 30000000,
    "yearsInBusiness": 8,
    "isMSE": true,
    "isStartup": false,
    "isOEM": true,
    "isMakeInIndia": true,
    "states": [
        "Maharashtra",
        "Karnataka"
    ],
    "maxBidsToAnalyse": 8,
    "targetQualifyingBids": 3,
    "modelName": "google/gemini-3.8-flash"
};

// Run the Actor and wait for it to finish
const run = await client.actor("gold_function/gem-bid-checker").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 = {
    "companyName": "Shakti Forge & Stampings",
    "companyDescription": "MSME forging and stamping manufacturer in Karnataka. Closed-die forgings, sheet-metal stampings and machined components for defence, aerospace and heavy engineering. ₹3 Cr turnover, 8 years, OEM, Make in India.",
    "keywords": [
        "forging",
        "stamping",
    ],
    "certifications": ["ISO 9001:2015"],
    "annualTurnoverInr": 30000000,
    "yearsInBusiness": 8,
    "isMSE": True,
    "isStartup": False,
    "isOEM": True,
    "isMakeInIndia": True,
    "states": [
        "Maharashtra",
        "Karnataka",
    ],
    "maxBidsToAnalyse": 8,
    "targetQualifyingBids": 3,
    "modelName": "google/gemini-3.8-flash",
}

# Run the Actor and wait for it to finish
run = client.actor("gold_function/gem-bid-checker").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 '{
  "companyName": "Shakti Forge & Stampings",
  "companyDescription": "MSME forging and stamping manufacturer in Karnataka. Closed-die forgings, sheet-metal stampings and machined components for defence, aerospace and heavy engineering. ₹3 Cr turnover, 8 years, OEM, Make in India.",
  "keywords": [
    "forging",
    "stamping"
  ],
  "certifications": [
    "ISO 9001:2015"
  ],
  "annualTurnoverInr": 30000000,
  "yearsInBusiness": 8,
  "isMSE": true,
  "isStartup": false,
  "isOEM": true,
  "isMakeInIndia": true,
  "states": [
    "Maharashtra",
    "Karnataka"
  ],
  "maxBidsToAnalyse": 8,
  "targetQualifyingBids": 3,
  "modelName": "google/gemini-3.8-flash"
}' |
apify call gold_function/gem-bid-checker --silent --output-dataset

```

## MCP server setup

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

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/iEQjLc3FIbF37WM6I/builds/vAFCGfxdRsImS8AMg/openapi.json
