# South Africa Tenders Scraper: eTenders OCDS to Excel (`tenderfeed/south-africa-etenders`) Actor

Scrape South African public tenders from the National Treasury eTender Portal via the official OCDS Release API, no key. Filter by keyword, buyer, category, method, dates, open deadline. "Only new" daily alerts. Excel, CSV, JSON.

- **URL**: https://apify.com/tenderfeed/south-africa-etenders.md
- **Developed by:** [TenderFeed](https://apify.com/tenderfeed) (community)
- **Categories:** Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 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

## South Africa Tenders Scraper: eTenders OCDS to Excel

**Export South African public tenders from the National Treasury eTender Portal to Excel, CSV or JSON, with no API key.** The eTender Portal ([etenders.gov.za](https://www.etenders.gov.za)) is where national and provincial departments, municipalities and state-owned companies (ESKOM, Transnet, SANRAL, Water and Sanitation, Johannesburg Water...) advertise bids. This Actor reads the **official OCDS Release API** published by National Treasury and returns one clean row per tender: full description, bid number, buyer (organ of state), tender type (RFB / RFQ / RFP / EOI / RFI), category, advertised and closing dates, and direct links to every bid document PDF.

eTenders published **692 notices dated 2–9 November 2026** (measured on 2026-11-09).

Built by **TenderFeed** ([apify.com/tenderfeed](https://apify.com/tenderfeed)). No login, no browser, no HTML scraping.

### Source and licence

- Data: **National Treasury (South Africa), Office of the Chief Procurement Officer — eTender Portal**, via `GET https://ocds-api.etenders.gov.za/api/OCDSReleases` (Open Contracting Data Standard 1.1).
- Licence: National Treasury publication policy ([data.etenders.gov.za/Home/LearnMore](https://data.etenders.gov.za/Home/LearnMore)) — the data may be used for any purpose, including commercial use, and re-published *providing a link to the original source remains intact*. The API package declares the Open Data Commons PDDL. Please keep a link to [etenders.gov.za](https://www.etenders.gov.za) / [data.etenders.gov.za](https://data.etenders.gov.za) when you republish.
- National Treasury does not verify the completeness or accuracy of data supplied by procuring entities; municipalities and SOEs are not obliged to publish on eTenders.
- This Actor is not affiliated with or endorsed by National Treasury.

### What can you do with it?

- **Daily bid alerts** for South African suppliers, contractors and consultancies (security, cleaning, construction, ICT, engineering, training...).
- **Watch big buyers**: ESKOM, Transnet, SANRAL, PRASA, ACSA, provincial departments and metros.
- **Bid-office feeds**: push every new RFB / RFQ into a spreadsheet, CRM or Slack channel.
- **AI agents**: use it as an **MCP tool** (Apify MCP server) and ask *"Which open security-services tenders from Transnet close this month?"*

### Input example

```json
{
  "keywords": ["security", "maintenance"],
  "procurementCategories": ["services"],
  "buyerNames": ["Transnet", "ESKOM"],
  "publishedFrom": "14 days",
  "onlyOpen": true,
  "maxResults": 100
}
```

- `keywords` match the tender description, bid number and budget note (word-start, case-insensitive).
- `buyerNames`: buyer name contains (e.g. `"Municipality"`, `"Gauteng"`, `"ESKOM"`).
- `procurementCategories`: `goods`, `services`, `works` (not every notice has one).
- `procurementMethods`: tender type contains, e.g. `"Request for Bid"`, `"Request for Quotation"`, `"Request for Proposal"`, `"Expression of interest"`.
- `publishedFrom` / `publishedTo` (advertised date; relative values like `"30 days"` work), `deadlineFrom` / `deadlineTo` (closing date).
- `onlyOpen` (on by default) keeps tenders whose closing date/time is still ahead and with no award.
- **Default run (`{}`)**: open tenders advertised in the last 7 days, newest day first, 50 results.

### Output example

Real row from the default run on 2026-11-09:

```json
{
  "source": "za-etenders",
  "sourceId": "177437",
  "ocid": "ocds-9t57fa-177437",
  "title": "APPOINTMENT OF A SERVICE PROVIDER FOR THE PROVISION OF SECURITY SERVICES AT SANRAL WESTERN CAPE PROVINCIAL OFFICE FOR A PERIOD OF 36 MONTHS",
  "tenderRef": "NRA 2026/0798",
  "noticeType": "Request for Bid(Open-Tender)",
  "procedureType": "open",
  "contractType": "services",
  "status": "active",
  "buyerName": "South African National Roads Agency Soc Limited (SANRAL)",
  "buyerCountry": "ZA",
  "publishedAt": "2026-11-10T00:00:00Z",
  "deadlineAt": "2026-12-11T12:00:00Z",
  "documentsCount": 1,
  "documentsUrl": "https://www.etenders.gov.za/home/Download?blobName=...pdf"
}
```

Other fields: `description` (full text), `releaseId`, `releaseDate`, `buyerId`, `procurementMethodDetails`, `procurementCategories`, `budgetDescription`, `documentTitles`, `documentUrls`, `estimatedValue` (rarely published), `awardees` / `awardedValue` (when an award release exists), plus the cross-source columns `country`, `deadline`, `valueAmount`, `valueCurrency`, `cpvOrNaics`.

eTenders puts the bid number in the OCDS `tender.title`; this Actor moves it to `tenderRef` and uses the description as `title`. Times are passed through exactly as the API publishes them (marked `Z`; closing times are typically South African time).

The data follows the same normalized schema as our other TenderFeed Actors ([EU TED](https://apify.com/tenderfeed/ted-eu-tenders), [SAM.gov](https://apify.com/tenderfeed/sam-gov-opportunities), [Kenya PPIP](https://apify.com/tenderfeed/kenya-ppip-tenders), [World Bank](https://apify.com/tenderfeed/world-bank-procurement)).

### Daily alerts ("only new" monitoring mode)

Turn on `onlyNew`, set a `monitoringId` (for example `"za-security"`) and schedule the Actor daily. Each run returns, and charges for, only tenders you have not received yet.

### Reliability notes

The official API sometimes answers HTTP 500 for a whole page when a single release in it is malformed. The Actor splits such pages (50 → 10 → 1) and skips only the release the API cannot serve; the count is reported in the `RUN_SUMMARY` record (`skippedUnservableReleases`). In a full scan of 2–9 November 2026 this was 6 of 692 releases.

### Personal data (POPIA)

The public API currently publishes no personal contact details for tenders. If a release carries a contact point, it is **off by default**; turn on `includeBuyerContacts` to add `buyerContactName` / `Email` / `Phone`.

### Pricing

Pay-per-result: **$2.50 per 1,000 results**, plus Apify's small actor-start fee ($0.00005). You pay only for tenders saved to the dataset. The default run takes a few seconds.

# Actor input Schema

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

Words to look for in the tender description, bid number and budget note, e.g. \["software", "security services", "transformer"]. Empty = all tenders.

## `keywordMode` (type: `string`):

Match ANY or ALL keywords.

## `buyerNames` (type: `array`):

Keep tenders whose buyer name contains any of these (case-insensitive), e.g. \["ESKOM", "Transnet", "Gauteng", "Municipality"].

## `procurementCategories` (type: `array`):

Empty = all. OCDS procurement category: goods, services, works.

## `procurementMethods` (type: `array`):

Empty = all. Contains match on the eTenders tender type, e.g. \["Request for Bid", "Request for Quotation", "Request for Proposal", "Expression of interest", "Request for Information"].

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

YYYY-MM-DD or relative ("30 days"). Default: 7 days ago. Maximum range 400 days per run.

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

YYYY-MM-DD. Default: today (tomorrow included, for the South Africa time zone).

## `deadlineFrom` (type: `string`):

Keep tenders closing on or after this date (YYYY-MM-DD).

## `deadlineTo` (type: `string`):

Keep tenders closing on or before this date (YYYY-MM-DD).

## `onlyOpen` (type: `boolean`):

Keep only tenders whose closing date/time is still in the future and that have no award.

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

0 = no limit. Default 50. eTenders published 692 notices dated 2-9 Nov 2026 (measured).

## `includeBuyerContacts` (type: `boolean`):

Adds buyer contact person name / email / phone (buyerContactName / Email / Phone) when the OCDS release contains them. Off by default (POPIA).

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

Remember what earlier runs delivered and return (and charge for) only tenders you have not received yet. Ideal for scheduled daily alerts.

## `monitoringId` (type: `string`):

Name of the watch-list memory used by 'Only new'. Use a different ID per saved search/schedule.

## `includeRawData` (type: `boolean`):

Adds the full OCDS release under `raw` (bigger output). Contact points are removed unless buyer contacts are on.

## Actor input object example

```json
{
  "keywordMode": "any",
  "onlyOpen": true,
  "maxResults": 20,
  "includeBuyerContacts": false,
  "onlyNew": false,
  "includeRawData": false
}
```

# Actor output Schema

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

All normalized records from the default dataset, opened in the Overview view.

# 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 = {
    "maxResults": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("tenderfeed/south-africa-etenders").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 = { "maxResults": 20 }

# Run the Actor and wait for it to finish
run = client.actor("tenderfeed/south-africa-etenders").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 '{
  "maxResults": 20
}' |
apify call tenderfeed/south-africa-etenders --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,tenderfeed/south-africa-etenders"
        }
    }
}
```

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/Yhx86uP6jkhODbs6c/builds/3A1UcGJwBbQbGNprf/openapi.json
