# Qatar Monaqasat Tenders Monitor (`mohamedbr/my-actor-7`) Actor

Watches Qatar's Monaqasat portal and reports only NEW tenders: buyer, bond, document fees and closing date — never the same tender twice. For contractors and suppliers bidding in Qatar. Part of Mohamed Bourim's 12 MENA monitors on Apify.

- **URL**: https://apify.com/mohamedbr/my-actor-7.md
- **Developed by:** [Mohamed Bourim](https://apify.com/mohamedbr) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $20.00 / 1,000 tender records

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

## Qatar Tenders Monitor — Monaqasat Government Tenders (مناقصات قطر)

Structured, machine-readable **Qatari government tenders** from
[Monaqasat](https://monaqasat.mof.gov.qa), the Qatar Ministry of Finance
tenders portal — the official source for public tenders, limited tenders,
auctions and direct agreements across Qatar's ministries and government
entities (**28,000+ tenders** published).

Set your filters, run it on a schedule, and turn on **Monitor mode** to
receive **only the tenders that are new since your last run** — the feed
your tender-alert service, CRM or analysis pipeline actually needs.

### What you get

One record per tender, combining the portal's listing with its detail
page (verified against the record before merging):

| Field | Meaning |
|---|---|
| `tenderId` | The portal's internal tender ID (stable record identity) |
| `referenceNumber` | Tender reference as printed by the portal, e.g. `1955/2025` |
| `tenderNumber` / `fiscalYear` | Tender number and fiscal year |
| `subject` | Tender subject |
| `tenderType` | Public Tender, Limited Tender, Mumarasa, Direct Agreement, auctions… |
| `tenderState` | Published, Technically Opened, Financially Opened, Awarded, Closed |
| `requestingEntity` | Ministry / government entity requesting the tender |
| `documentValueQar` | Tender documents value in QAR (null when the portal shows none) |
| `temporaryInsuranceQar` | Temporary insurance value in QAR |
| `closingDate` | Submission closing date (ISO, from the detail page) |
| `tenderBondQar` | Tender bond in QAR (detail page) |
| `announcementNumber` | Portal announcement number |
| `entityTenderNumber` | The entity's own internal tender number |
| `requestTypes` / `envelopesSystem` | Suppliers / Service Providers…; One or Two Envelopes |
| `activities` | Activity codes and names for the tender |
| `contactEmail` / `contactPhone` | Entity contact details printed on the tender |
| `sourceUrl` | Link to the tender's page on Monaqasat |
| `scrapedAt` | When the record was collected (UTC) |

Example record:

```json
{
  "tenderId": "650364",
  "referenceNumber": "1955/2025",
  "tenderNumber": "1955",
  "fiscalYear": 2025,
  "subject": "strategy for evaluating, registering and offsetting carbon saving",
  "tenderType": "Public Tender",
  "tenderState": "Published",
  "requestingEntity": "Ministry of Transport",
  "documentValueQar": 2000,
  "temporaryInsuranceQar": 200000,
  "closingDate": "2025-07-29",
  "tenderBondQar": 200000,
  "announcementNumber": "20208",
  "entityTenderNumber": "LTPT14P004",
  "requestTypes": "Suppliers / Service Providers",
  "envelopesSystem": "Two Envelopes",
  "activities": ["662100 Risk and damage assessment"],
  "contactEmail": "halkuwari@mot.gov.qa",
  "contactPhone": "40451591",
  "sourceUrl": "https://monaqasat.mof.gov.qa/TendersOnlineServices/TenderDetails/650364",
  "scrapedAt": "2026-11-16T07:40:00Z"
}
```

### Inputs

| Input | What it does |
|---|---|
| **Tender number** | Exact tender number, e.g. `1955` |
| **Fiscal year** | e.g. `2026`; empty = all years |
| **Tender type** | One of the portal's tender types |
| **Requesting entity** | Full or partial ministry/entity name |
| **Tender state** | Published, Technically Opened, Financially Opened, Awarded, Closed |
| **Max results** | Cap on records per run (1–5000, default 50) |
| **Monitor mode: only new tenders** | Return only tenders not seen in previous runs with the same filters |
| **Fetch tender details** | Enrich each record from its detail page (closing date, bond, activities, contacts). Turn off for fast listing-only scans |

Newest tenders are collected first, so a capped run always returns the
most recent ones.

### Monitor mode

With **onlyNew** on, the Actor keeps a persistent baseline per filter
set and returns just the tenders that appeared since the last run with
the same filters. A normal run also maintains the baseline, so a plain
sweep today makes tomorrow's monitor run exact. A failed run never
marks tenders as seen.

Records are identified by the portal's internal tender ID, not by the
tender number — numbers repeat across fiscal years, and the portal's
own list ordering is not stable.

### Pricing

Pay per event: **$0.05 per run + $0.02 per tender record** delivered.
Platform usage is free for buyers. A daily monitor run over a filtered
stream typically costs a few cents.

### Notes & limits

- Data comes from the portal's public pages; no login is used or needed.
- Monaqasat does not publish a per-tender publication date or an opening
  date; `closingDate` is the tender's key deadline and is always
  included when detail fetching is on (default).
- When the portal shows an amount as a bare "QAR" (no figure), the
  field is delivered as `null` — values are never invented.
- Detail pages are verified against each record before merging, and a
  run whose detail failures exceed 20% aborts with no output rather
  than delivering corrupt data.

# Actor input Schema

## `entityName` (type: `string`):

Full or partial requesting entity / ministry name, e.g. Ministry of Transport. Empty = all entities.

## `fiscalYear` (type: `integer`):

Fiscal year of the tender, e.g. 2026. Leave empty for all years.

## `includeDetails` (type: `boolean`):

Open each tender's detail page to complete the closing date, tender bond, announcement number, activities and contacts. Slower but complete; turn off for fast listing-only scans.

## `maxResults` (type: `integer`):

Maximum number of tender records in this run (1–5000).

## `onlyNew` (type: `boolean`):

Return only tenders not seen in previous runs with the same filters. State is kept per filter set; a failed run never marks tenders as seen.

## `tenderNumber` (type: `string`):

Exact tender number as printed on Monaqasat, e.g. 1955. Empty = all numbers.

## `tenderState` (type: `string`):

Tender state as labelled on Monaqasat.

## `tenderType` (type: `string`):

Tender type as labelled on Monaqasat.

## Actor input object example

```json
{
  "entityName": "",
  "fiscalYear": null,
  "includeDetails": true,
  "maxResults": 50,
  "onlyNew": false,
  "tenderNumber": "",
  "tenderState": "all",
  "tenderType": "all"
}
```

# Actor output Schema

## `tenders` (type: `string`):

Structured tender records (reference, subject, entity, values, closing date).

# 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 = {
    "entityName": "",
    "includeDetails": true,
    "maxResults": 50,
    "onlyNew": false,
    "tenderNumber": "",
    "tenderState": "all",
    "tenderType": "all"
};

// Run the Actor and wait for it to finish
const run = await client.actor("mohamedbr/my-actor-7").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 = {
    "entityName": "",
    "includeDetails": True,
    "maxResults": 50,
    "onlyNew": False,
    "tenderNumber": "",
    "tenderState": "all",
    "tenderType": "all",
}

# Run the Actor and wait for it to finish
run = client.actor("mohamedbr/my-actor-7").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 '{
  "entityName": "",
  "includeDetails": true,
  "maxResults": 50,
  "onlyNew": false,
  "tenderNumber": "",
  "tenderState": "all",
  "tenderType": "all"
}' |
apify call mohamedbr/my-actor-7 --silent --output-dataset

```

## MCP server setup

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

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/Off2PqGGBrbSPnBq5/builds/QhEKGS49f9n3vwejQ/openapi.json
