# PNet Scraper — South Africa Jobs, Salary & Employers (`logiover/pnet-scraper`) Actor

Scrape vacancies from PNet, South Africa's largest job board: title, hiring company with its profile link, location, advertised salary with a sortable numeric floor, work type, posting recency and a description snippet. Keyless. JSON, CSV or Excel.

- **URL**: https://apify.com/logiover/pnet-scraper.md
- **Developed by:** [Logiover](https://apify.com/logiover) (community)
- **Categories:** Jobs, Lead generation
- **Stats:** 19 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.50 / 1,000 search results

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## PNet Scraper — South Africa Jobs, Salary & Employers

Export vacancies from **PNet**, South Africa's largest job board — company, location, advertised salary and description snippet — to JSON, CSV or Excel. Keyless, no login.

### What does PNet Scraper do?

PNet (StepStone group) renders its results server-side and tags every field with a stable `data-at` attribute. This Actor parses those attributes rather than the hashed CSS class names around them, which is what keeps it working when the site restyles.

One quirk decides whether the output is usable at all: PNet inlines its CSS-in-JS rules as `<style>` blocks **inside the job cards**. A naive text extraction returns `.res-1fx3snc{box-sizing:border-box…}` where the job title should be. This Actor strips the style nodes before parsing, so every column holds real content.

South African salaries are written freely — `R62 000 – R70 000 CTC per month`, `R70-R50 k pm neg`, `Market Related`. The Actor keeps the original label, derives a sortable numeric floor that understands the `k` shorthand even when it sits on the second figure, and flags "Market Related" ads separately instead of inventing a number for them.

### Who is it for?

- **Recruitment agencies** tracking who is hiring across Gauteng, Western Cape and KZN.
- **Salary researchers** building South African pay benchmarks.
- **B2B sales teams** using hiring activity as a growth signal.
- **Job boards and aggregators** that need a South African feed.
- **Labour-market analysts** measuring formal-sector demand by role.

### Use cases

- Build a pay benchmark for developers or accountants across South African cities.
- List every company hiring in a discipline this week, with links to their PNet profile.
- Measure what share of ads disclose pay versus say "Market Related".
- Track posting volume by city, month over month.
- Feed a niche board with fresh South African listings.

### Why use this Actor?

- **Keyless** — nothing to sign up for.
- **16 structured fields**, parsed from stable `data-at` attributes.
- **Sortable salary** that handles `k` shorthand and CTC phrasing.
- **Market-related flag** instead of a fabricated figure.
- **Company profile link** for every employer that has one.
- **Description snippet** included, so rows are useful without opening each ad.

### What data can you extract?

| Field | Type | Description |
|---|---|---|
| `jobId` | string | PNet listing ID |
| `title` | string | Job title |
| `jobUrl` | string | Public ad page |
| `companyName` | string | Hiring company |
| `companyUrl` | string | Employer profile on PNet |
| `location` | string | City or region |
| `salaryLabel` | string | Salary exactly as advertised |
| `salaryFrom` | number | Numeric floor for sorting |
| `salaryMarketRelated` | boolean | Ad says "Market Related" |
| `currency` | string | ZAR when a figure is present |
| `workType` | string | Remote or hybrid note, when shown |
| `postedLabel` | string | Posting recency as displayed |
| `snippet` | string | First part of the ad description |
| `country` | string | South Africa |
| `source` | string | Always `pnet` |
| `scrapedAt` | string | Run timestamp (ISO 8601) |

#### Example output

```json
{
  "jobId": "4235035",
  "title": "Specialist: Developer (Permanent)",
  "jobUrl": "https://www.pnet.co.za/jobs--Specialist-Developer-Permanent-Edenvale-MSP-Staffing-Pty-Ltd--4235035-inline.html",
  "companyName": "MSP Staffing Pty Ltd",
  "location": "Edenvale",
  "salaryLabel": "R62 000 – R70 000 CTC per month",
  "salaryFrom": 62000,
  "salaryMarketRelated": false,
  "currency": "ZAR",
  "postedLabel": "2 days ago",
  "country": "South Africa",
  "source": "pnet"
}
```

### How to use it

1. Enter a keyword, or leave it empty to walk the full listing.
2. Optionally filter by location.
3. Switch on **Only ads with a salary figure** when building a benchmark.
4. Set **Maximum results** and run, then export JSON, CSV or Excel.

### Input example

```json
{
  "query": "accountant",
  "location": "Cape Town",
  "withSalaryOnly": true,
  "maxResults": 1000
}
```

### Notes and limits

- Roughly **2 in 5** ads publish a salary; many say "Market Related". Those rows keep `salaryLabel` but leave `salaryFrom` as `null`, with `salaryMarketRelated` set to `true`.
- Recruitment agencies post a large share of South African ads, so `companyName` is often the agency rather than the end employer — that is how the ad is published.
- PNet renders 25 cards per page; the Actor stops when a page returns noticeably fewer, meaning the listing is exhausted.
- `snippet` is the opening of the description, capped for size. Open `jobUrl` for the full text.
- You are responsible for how you use employer data.

### FAQ

**Do I need a PNet account?**
No. Listings are public and this Actor needs nothing from you.

**Why is the salary missing on many rows?**
Because the ad says "Market Related". The flag tells you which, rather than the Actor guessing a number.

**Does it handle "R70-R50 k pm"?**
Yes. The `k` multiplier is read from the whole label, so that becomes 70 000 rather than 70.

**Is the company the real employer?**
Sometimes it is an agency; PNet publishes whichever posted the ad and this Actor reports it faithfully.

**How am I charged?**
Pay per result — you pay for the vacancies delivered.

# Actor input Schema

## `query` (type: `string`):

Free-text search across PNet, e.g. "developer", "accountant" or "driver". Leave empty to walk the full listing.

## `location` (type: `string`):

Optional location filter, e.g. "Johannesburg", "Cape Town" or "Durban".

## `withSalaryOnly` (type: `boolean`):

Many South African ads say "Market Related" instead of a number. Switch this on to keep only ads with a real figure.

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

Stop after this many ads. PNet renders 25 cards per page and the Actor walks pages until the target is met.

## `proxyConfiguration` (type: `object`):

PNet serves plain HTML; the default datacenter proxy is enough.

## Actor input object example

```json
{
  "query": "developer",
  "withSalaryOnly": false,
  "maxResults": 500,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `jobId` (type: `string`):

No description

## `title` (type: `string`):

No description

## `jobUrl` (type: `string`):

No description

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

No description

## `companyUrl` (type: `string`):

No description

## `location` (type: `string`):

No description

## `salaryLabel` (type: `string`):

No description

## `salaryFrom` (type: `string`):

No description

## `salaryMarketRelated` (type: `string`):

No description

## `currency` (type: `string`):

No description

## `workType` (type: `string`):

No description

## `postedLabel` (type: `string`):

No description

## `snippet` (type: `string`):

No description

## `country` (type: `string`):

No description

## `source` (type: `string`):

No description

## `scrapedAt` (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 = {
    "query": "developer",
    "location": "",
    "withSalaryOnly": false,
    "maxResults": 500,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("logiover/pnet-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 = {
    "query": "developer",
    "location": "",
    "withSalaryOnly": False,
    "maxResults": 500,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("logiover/pnet-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 '{
  "query": "developer",
  "location": "",
  "withSalaryOnly": false,
  "maxResults": 500,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call logiover/pnet-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,logiover/pnet-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/0grS2OAGUALxE7iTa/builds/OG31B4TM5RaiB7Dqi/openapi.json
