# Oman Tender Board Tenders Scraper (`automatic/oman-tenderboard-tenders-scraper`) Actor

Oman government tenders from the Tender Board: tender number, Arabic and English titles, buying entity, activity, grade, publication date, offer deadline, document fee and the public tender notice link. Filter by keyword, entity, activity, dates or deadline.

- **URL**: https://apify.com/automatic/oman-tenderboard-tenders-scraper.md
- **Developed by:** [Philip Kirkbride](https://apify.com/automatic) (community)
- **Categories:** Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.50 / 1,000 tenders

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## Oman Tender Board Tenders Scraper

Oman government tenders from the Tender Board (etendering.tenderboard.gov.om), the Sultanate's central public procurement portal. Get one clean row per tender: tender number, Arabic title and English title when the notice prints one, buying entity, activity, grade bracket, publication date, offer deadline, document fee, bid guarantee and the public tender notice link.

Use it for tender monitoring and alerts: schedule a daily run with your keyword, entity or activity and send the new tenders to email, Slack or a spreadsheet.

### Use cases

- Watch new Omani government tenders by keyword, buying entity, activity or deadline.
- Build a daily feed of open tenders before the offer deadline closes.
- Track one entity's pipeline, for example a ministry, a hospital or a university.
- Qualify opportunities: grade bracket, governorate, document fee and guarantee in one row.
- Keep the official tender notice together with each opportunity.

### What it returns

Every row has `source`, `country`, `tenderId`, `tenderNumber`, `title`, `titleEnglish`, `description`, `buyer`, `category`, `categoryGroups`, `subCategories`, `procurementMethod`, `status`, `publishedAt`, `deadlineAt`, `estimatedValue`, `currency`, `documents`, `tenderType`, `grade`, `governorate`, `wilayat`, `envelopeType`, `evaluationType`, `alternateOfferAllowed`, `saleStartAt`, `saleEndAt`, `questionsDeadline`, `openingAt`, `documentFee`, `documentFeeCurrency`, `bankGuarantee`, `url`, `changeType`, `changedFields`, `detailIssue`, `sourceQuery` and `scrapedAt`.

- `title` and every other Arabic text are exactly as published. `titleEnglish` is filled only when the notice prints a different English value; nothing is machine-translated.
- Dates and times are ISO 8601 with the Oman offset (`+04:00`). `publishedAt` is a date only, because the notice prints the announcement date without a time.
- `status` is `open` while the offer deadline is ahead, `closed` after it, and `unknown` when no deadline is printed.
- `documentFee` and `bankGuarantee` are the printed values in Omani rials (`documentFeeCurrency`). A document fee is not a contract estimate, so `estimatedValue` and `currency` stay null.
- `documents` is null: the notice publishes its annexes as on-page forms, not as public download links.
- `url` is the public tender notice page for the row.
- If one tender's notice cannot be read, the row is still delivered with `detailIssue` explaining what was missing.
- Rows are deduplicated on the Tender Board's tender id.

### Input

| Field | Type | Default | What it does |
|---|---|---:|---|
| `keyword` | string | `""` | Text anywhere in the tender number, title, description, entity, activity and grade. |
| `buyer` | string | `""` | Only tenders whose government entity contains this text. |
| `category` | string | `""` | Only tenders whose activity, category or description contains this text. |
| `status` | string | `open` | `open` for tenders still accepting offers, `all` for the whole published list back to 2018. |
| `publishedFrom`, `publishedTo` | string | `""` | Announcement date window, `YYYY-MM-DD`. |
| `closingFrom`, `closingTo` | string | `""` | Offer deadline window, `YYYY-MM-DD`. |
| `maxResults` | integer | `20` | Maximum tenders returned. |
| `maxScanPages` | integer | `10` | Listing pages to scan (50 tenders each) before the filters are applied. |
| `includeDetails` | boolean | `true` | Read each tender's notice for the extra fields. Slower. |
| `onlyNewSinceLastRun` | boolean | `false` | Return only tenders that are new or changed since the previous run. |
| `stateKey` | string | `""` | Optional name for the saved feed; derived from the filters when empty. |

All filters are optional and can be combined. An empty input returns the current open tenders, newest first.

### Example queries

Maintenance and cleaning tenders that close in the next three weeks:

```json
{
  "keyword": "صيانة",
  "closingFrom": "2026-11-10",
  "closingTo": "2026-12-01",
  "maxResults": 30
}
```

One buying entity's open tenders, without the slower notice reads:

```json
{"buyer": "وزارة الصحة", "maxResults": 50, "includeDetails": false}
```

A daily alert feed for construction activity:

```json
{"category": "المقاولات", "onlyNewSinceLastRun": true, "stateKey": "construction-daily"}
```

### Use it as a daily feed

Turn on `onlyNewSinceLastRun` and schedule the Actor once a day. The first run returns every matching tender; later runs return only tenders that are new, or whose deadline, status, title or documents changed, with `changeType` set to `new` or `changed` and `changedFields` listing what moved. Tenders that have not changed are not delivered and not charged. Each saved search keeps its own history, so different keywords stay separate; `stateKey` names the history explicitly.

### Output example

```json
{"source":"etendering.tenderboard.gov.om","country":"Oman","tenderId":"101368","tenderNumber":"2026/1088/ج ت ع ت/ج ت ع ت م -37- اعادة طرح - 2","title":"استكمال مبنى العلوم البحرية – المرحلة الثانية","titleEnglish":"Completion of Marine Sciences Building in Bukha – Phase II","description":"استكمال أعمال مبنى العلوم البحرية بولاية بخاء – المرحلة الثانية، وفقًا للمخططات والمواصفات الفنية المرفقة.","buyer":"جامعة التقنية والعلوم التطبيقية","category":"المقاولات العمرانيه والصيانة","categoryGroups":"المقاولات العمرانيه والصيانة [الثالثة,الرابعة]","subCategories":["مقاولات المباني"],"procurementMethod":null,"status":"open","publishedAt":"2026-11-09","deadlineAt":"2026-11-15T07:00:00+04:00","estimatedValue":null,"currency":null,"documents":null,"tenderType":"مؤسسات صغيرة و المتوسطة ( محلية)","grade":"الثالثة, الرابعة","governorate":"محافظة مسندم","wilayat":"ولاية خصب","envelopeType":"مظروف واحد","evaluationType":"حسب الجدول الزمني","alternateOfferAllowed":true,"saleStartAt":"2026-11-09T22:00:00+04:00","saleEndAt":"2026-11-12T07:00:00+04:00","questionsDeadline":"2026-11-11T07:00:00+04:00","openingAt":"2026-11-15T08:00:00+04:00","documentFee":25.0,"documentFeeCurrency":"OMR","bankGuarantee":25.0,"url":"https://etendering.tenderboard.gov.om/product/nitParameterView?mode=public&tenderNo=101368&PublicUrl=1","changeType":null,"changedFields":null,"detailIssue":null,"sourceQuery":"status open","scrapedAt":"2026-11-10T06:58:07+00:00"}
```

### Limits and caveats

- The public list holds 50 tenders per page and does not filter on the server, so each run scans `maxScanPages` pages and applies your filters locally. The current open tenders sit in the first pages; raise `maxScanPages` for older windows.
- Runs with `includeDetails` on read one extra page per tender and take longer than list-only runs.
- The announcement date and the English title are printed on the tender notice, so `publishedFrom`/`publishedTo` always read notices even when `includeDetails` is off.
- Estimated contract values are not published; `estimatedValue` and `currency` remain null.
- If the portal cannot be read, the run stops with a plain status message; rows already collected stay in the dataset.
- If nothing matches, the run succeeds with an empty dataset.

### FAQ

**How fresh is the data?** Every run reads the Tender Board live.

**How do I get only new tenders each day?** Turn on `onlyNewSinceLastRun` and schedule a daily run. Tenders you have already received are not sent again.

**Can I search in English?** Filters are matched against the public list, which the agencies write in Arabic, so search with Arabic words such as `توريد` (supply) or `صيانة` (maintenance). English words match only where an agency wrote them in the list text. Many notices carry an English title, which is delivered in `titleEnglish` but is read after the filters.

**Do I get the tender documents?** The notice publishes its annexes as on-page forms; `url` opens the official notice, where they are available.

**What if a notice fails?** The tender row is still delivered with `detailIssue` set.

### Price

You pay per result: each delivered tender row is one result, plus a small run-start charge. The run-start event is charged per GB of memory; the default 512 MB run is one start event. The start is charged even if the run saves no results. Platform usage is included in the price.

### Custom sources and support

Need another Gulf or Saudi tender portal, a custom field, or a bulk or daily feed? Email automat42@outlook.com. For questions or issues, you can also contact us from the Actor page.

# Actor input Schema

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

Text searched in the tender number, title, description, buying entity, activity and grade, e.g. 'صيانة' (maintenance) or 'توريد' (supply). The list is published in Arabic, so English words match only where the entity wrote them. Up to 200 characters.

## `buyer` (type: `string`):

Only tenders whose government entity contains this text, e.g. 'وزارة الصحة' (Ministry of Health) or 'جامعة' (university). Entity names are published in Arabic. Up to 200 characters.

## `category` (type: `string`):

Only tenders whose activity, procurement category or description contains this text, e.g. 'المقاولات' (construction) or 'توريد' (supply).

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

'open' keeps tenders whose offer deadline has not passed; 'all' returns the whole published list back to 2018.

## `publishedFrom` (type: `string`):

Earliest announcement date, YYYY-MM-DD (inclusive). The announcement date is printed on the tender notice, so this filter reads notices.

## `publishedTo` (type: `string`):

Latest announcement date, YYYY-MM-DD (inclusive).

## `closingFrom` (type: `string`):

Only tenders whose offer submission deadline falls on or after this date, YYYY-MM-DD.

## `closingTo` (type: `string`):

Only tenders whose offer submission deadline falls on or before this date, YYYY-MM-DD.

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

Stop after this many tenders (deduplicated on the Tender Board's tender id).

## `maxScanPages` (type: `integer`):

The public list holds 50 tenders per page and does not filter on the server, so each run scans pages and applies the filters locally. 10 pages is enough for the current open tenders; raise it for older windows.

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

Read each tender's notice: English title when published, announcement date, activity and sub-categories, grade, governorate, envelope type, sale and question dates, financial opening and the document fee and bank guarantee. One extra page read per tender, slower. A failed notice keeps the row with detailIssue set.

## `onlyNewSinceLastRun` (type: `boolean`):

Keep a ledger per saved search and return only tenders that are new, or whose deadline, status, value, documents or title changed since the previous run. Use it on a schedule for a clean daily feed.

## `stateKey` (type: `string`):

Optional name for the ledger record. Leave empty to derive one from the filters, so each different search keeps its own history.

## Actor input object example

```json
{
  "keyword": "",
  "buyer": "",
  "category": "",
  "status": "open",
  "publishedFrom": "",
  "publishedTo": "",
  "closingFrom": "",
  "closingTo": "",
  "maxResults": 20,
  "maxScanPages": 10,
  "includeDetails": true,
  "onlyNewSinceLastRun": false,
  "stateKey": ""
}
```

# Actor output Schema

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

No description

## `summary` (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": "",
    "buyer": "",
    "category": "",
    "status": "open",
    "publishedFrom": "",
    "publishedTo": "",
    "closingFrom": "",
    "closingTo": "",
    "maxResults": 20,
    "maxScanPages": 10,
    "includeDetails": true,
    "onlyNewSinceLastRun": false,
    "stateKey": ""
};

// Run the Actor and wait for it to finish
const run = await client.actor("automatic/oman-tenderboard-tenders-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 = {
    "keyword": "",
    "buyer": "",
    "category": "",
    "status": "open",
    "publishedFrom": "",
    "publishedTo": "",
    "closingFrom": "",
    "closingTo": "",
    "maxResults": 20,
    "maxScanPages": 10,
    "includeDetails": True,
    "onlyNewSinceLastRun": False,
    "stateKey": "",
}

# Run the Actor and wait for it to finish
run = client.actor("automatic/oman-tenderboard-tenders-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 '{
  "keyword": "",
  "buyer": "",
  "category": "",
  "status": "open",
  "publishedFrom": "",
  "publishedTo": "",
  "closingFrom": "",
  "closingTo": "",
  "maxResults": 20,
  "maxScanPages": 10,
  "includeDetails": true,
  "onlyNewSinceLastRun": false,
  "stateKey": ""
}' |
apify call automatic/oman-tenderboard-tenders-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,automatic/oman-tenderboard-tenders-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/j9AlRTZlLCME6oPa0/builds/76CzkVAPcClx5je0Q/openapi.json
