# CIDB South Africa Contractor Grading Check and Watch List (`sa-registers/cidb-contractor-verifier`) Actor

Batch-check South African construction contractors on the CIDB Register of Contractors by CRS number or name: grade, class of works, status, renewal date and B-BBEE level. For tender compliance and subcontractor vetting, with a scheduled watch list for grade changes, expiries and renewals due.

- **URL**: https://apify.com/sa-registers/cidb-contractor-verifier.md
- **Developed by:** [SA Registers](https://apify.com/sa-registers) (community)
- **Categories:** Business, Agents
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.10 / watch list run

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

## CIDB Contractor Verifier: Batch Check and Watch List

Check South African contractors against the CIDB Register of Contractors in bulk, and get alerts when a contractor's grade, status or registration changes.

The CIDB (Construction Industry Development Board) grades every contractor that may bid for public construction work in South Africa. A grade such as **6GB** means the contractor may take on general building contracts up to grade 6. CIDB's own portal checks one contractor at a time. This actor checks hundreds in one run and watches them for you.

**What you can do with it**

- **Vet a tender team.** Paste your subcontractors' and joint-venture partners' CRS numbers and see each one's grades, status and renewal date in one table.
- **Never miss a lapsed registration.** Schedule a watch list. It reports grade changes, suspensions and expiries, and warns you when a registration is due for renewal.
- **Feed your own tool.** Tender-alert and compliance services can pull fresh grade data through Apify's API.
- **Give an AI agent access.** Your assistant can answer "is this contractor CIDB-registered, and at what grade?"

This is a procurement compliance tool. It shows only what CIDB's public register publishes, and it never outputs contact details (the register has none).

### Two modes

#### 1. Verify

```json
{ "mode": "verify", "crsNumbers": ["10331877", "154111"], "names": ["Murray"] }
```

- **CRS numbers** (up to 500 per run) give exact matches only.
  - A number that is not on the register gives a `found: false` row.
  - A number listed more than once gives every entry, each with `duplicateCrsNumber: true`.
  - In the rare case that the register returns more than one page of results for a number without an exact match, you get a `found: null` row, **free of charge**, rather than a "not found" that might be wrong.
- **Names** (up to 50 per run) give register entries whose name or trading name contains what you typed, starting at the beginning of a word (for example `Murray and` finds "Murray and Roberts"), up to 20 per name. `matchedOn` says which of the two matched.
  - A name that matches nothing gives a `found: false` row, **free of charge**.
  - When a name has more matches than one search returns, its rows carry `moreMatches: true`. Type more of the name to narrow it.
  - CIDB stores some names with leading spaces or symbols, which a name search cannot reach. To be certain, search by CRS number.

#### 2. Watch list

Schedule this weekly (or daily, if you prefer):

```json
{ "mode": "watch", "crsNumbers": ["10331877", "154111"], "renewalWarningDays": 60, "storeName": "my-tender-team" }
```

Each run checks every number and reports one row per event:

| `eventType` | Meaning |
|---|---|
| `changed` | The grade designation, status, renewal date, B-BBEE level, province, city or name changed. Before and after values are included |
| `renewal-due` | The registration falls due for renewal within `renewalWarningDays`. Reported once per renewal date, not on every run |
| `not-found` | A contractor that was on the register has disappeared from it, or a number you added to the list is not on the register |
| `newly-found` | A number that was not found before is now on the register |
| `baseline` | The first run, which saves the starting point |
| `no-changes` | Nothing changed, so you can tell a quiet week from a failed run |

The watch list is **all or nothing**. If CIDB's portal fails partway through, the run fails, charges nothing and keeps the previous snapshot, so you never get false "disappeared" alerts. The same happens if every contractor that was found before is missing at once (with 3 or more), because that points to a portal problem, not a mass deregistration.

A change in the order of classes in a designation (for example `1CE, 1GB` becoming `1GB, 1CE`) is not reported as a change.

**Watch list memory.** It lives in a key-value store in your own Apify account, named by `storeName`.

- Use a different name for each watch list, and one that no other actor in your account uses.
- Adding numbers to a watch list is fine. New numbers are watched from that run on, and a new number that is not on the register is reported once as `not-found`.

To get alerts, add an Apify integration to your schedule (email, Slack, a webhook, Zapier or Make).

### Why there is no full export

CIDB's portal returns contractors 20 at a time and cannot serve the whole register in bulk. Pulling every contractor would mean thousands of requests and would put real load on a public service. This actor is built for checking the contractors you care about, politely: one request at a time, with pauses.

### Example output

A verify row:

```json
{
  "query": "10331877",
  "queryType": "crsNumber",
  "found": true,
  "duplicateCrsNumber": false,
  "crsNumber": "10331877",
  "name": "LGG CONSTRUCTION",
  "rawName": " LGG CONSTRUCTION",
  "tradingAs": "LGG CONSTRUCTION",
  "status": "Active",
  "designation": "1CE",
  "grades": [{ "grade": 1, "classOfWorks": "CE", "classOfWorksName": "Civil engineering", "potentiallyEmerging": false }],
  "highestGrade": 1,
  "renewalDueDate": "2028-12-16",
  "province": null,
  "city": null,
  "bbbeeStatusLevel": "01",
  "potentiallyEmerging": false,
  "expired": false,
  "designationUnparseable": false,
  "possibleIndividual": false,
  "sourceFetchedAt": "2026-11-06T20:24:28.092Z"
}
```

A watch row (illustrative values):

```json
{
  "eventType": "changed",
  "crsNumber": "000000",
  "name": "Example Construction (Pty) Ltd",
  "changedFields": [{ "field": "designation", "before": "6GB, 5CE", "after": "7GB, 5CE" }]
}
```

### Pricing

You pay per event, plus Apify's small standard per-run start fee. Platform compute is included.

| Event | Price |
|---|---|
| Verify: each contractor row returned (including "not found" for a CRS number) | USD 0.02 |
| Watch list: each run | USD 0.10 |
| Watch list: each contractor checked in a run | USD 0.01 |

For example, a weekly watch of 50 contractors costs about USD 2.60 a month. A name that matches nothing is free.

A run that fails, or cannot reach CIDB's register, charges no verify or watch fee (only Apify's standard start fee). Fees are charged only after the data has been delivered.

### Output fields

| Field | Meaning |
|---|---|
| `crsNumber` | The contractor's CIDB registration number |
| `name`, `tradingAs` | As published. Leading spaces and symbols are removed from `name`, and the original is kept in `rawName` when it differed |
| `status` | For example `Active`, `Expired`, `Suspended` or `DeRegistered` |
| `designation` | The grading designation exactly as published, for example `6EB, 6EP` or `PE 1GB` |
| `grades` | The designation read into grade, class of works and class name |
| `highestGrade` | The highest grade across all classes |
| `renewalDueDate` | When the registration falls due for renewal (ISO date) |
| `province`, `city` | Where published |
| `bbbeeStatusLevel` | The B-BBEE status level as published |
| `potentiallyEmerging` | Whether CIDB marks the contractor as potentially emerging |
| `sourceFetchedAt` | When the run read the data |

**Classes of works:**

- CE: civil engineering
- GB: general building
- EB: electrical engineering works (building)
- EP: electrical engineering works (infrastructure)
- ME: mechanical engineering works
- SA to SQ: specialist works, shown by their code

**Flags.** The actor adds these rather than silently changing what CIDB published:

| Flag | Meaning |
|---|---|
| `expired` | The status is not Active, or the renewal date has passed (by the South African date) |
| `designationUnparseable` | Part of the designation could not be read. The raw text is kept, nothing is guessed, and `highestGrade` is left empty |
| `possibleIndividual` | The name is shaped like a person's (initials and a surname, or a title such as Mr or Dr). This is a narrow heuristic, so many sole proprietors trading under business names are not flagged |
| `duplicateCrsNumber` | CIDB lists this CRS number more than once |

### FAQ

**How fresh is the data?** Every run reads CIDB's live register at that moment.

**How long does a run take?** About 3 seconds per contractor or name. A 100-contractor watch list takes about 5 minutes.

**Why did a name search miss a contractor I know is registered?** CIDB stores some names with a leading space or symbol, which a name search cannot reach. Search by CRS number instead.

**What happens if CIDB changes its website?** The run fails with a clear message and charges no fee, rather than returning wrong grades.

### For AI agents

Call this actor through Apify's MCP server or API. To check one contractor, use `verify` with its CRS number. Each row costs USD 0.02.

### Data source

The data comes from CIDB's public Register of Contractors at portal.cidb.org.za. This actor is unofficial and is not affiliated with or endorsed by the CIDB. CIDB's register is the authority, so check it before relying on any record for a procurement decision.

# Actor input Schema

## `mode` (type: `string`):

What the run does.

## `crsNumbers` (type: `array`):

CIDB CRS numbers to check (up to 500). The certain way to find a contractor.

## `names` (type: `array`):

Verify only. Up to 50 names; each finds register entries whose name or trading name starts with it (up to 20 per name).

## `renewalWarningDays` (type: `integer`):

Watch only. Report a contractor whose registration renewal falls due within this many days.

## `storeName` (type: `string`):

Watch only. Use a different name for each watch list, and one no other actor in your account uses.

## Actor input object example

```json
{
  "mode": "verify",
  "crsNumbers": [
    "10331877"
  ],
  "renewalWarningDays": 60,
  "storeName": "cidb-watch"
}
```

# Actor output Schema

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

Verify: one row per contractor found (or not found). Watch: one row per change, renewal alert or disappearance, or a single baseline or no-changes row.

# 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 = {
    "mode": "verify",
    "crsNumbers": [
        "10331877"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("sa-registers/cidb-contractor-verifier").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 = {
    "mode": "verify",
    "crsNumbers": ["10331877"],
}

# Run the Actor and wait for it to finish
run = client.actor("sa-registers/cidb-contractor-verifier").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 '{
  "mode": "verify",
  "crsNumbers": [
    "10331877"
  ]
}' |
apify call sa-registers/cidb-contractor-verifier --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,sa-registers/cidb-contractor-verifier"
        }
    }
}
```

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/o0wDc6oFE78YaSrpY/builds/KiA8hAoXiw7jc5Rmb/openapi.json
