# Pnet Scraper 💰 $0.95/1K — South Africa Job Listings (`blackfalcondata/pnet-scraper`) Actor

Scrape pnet.co.za - South Africa's leading StepStone job portal. Extracts salary ranges, geo coordinates, and employment type per listing. New matches can be pushed to a webhook or chat channel. Incremental mode detects new and changed listings across runs.

- **URL**: https://apify.com/blackfalcondata/pnet-scraper.md
- **Developed by:** [Black Falcon Data](https://apify.com/blackfalcondata) (community)
- **Categories:** Jobs, Lead generation, Automation
- **Stats:** 34 total users, 6 monthly users, 100.0% runs succeeded, 3 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $0.95 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#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

### What does Pnet Scraper do?

Pnet Scraper extracts structured job data from [pnet.co.za](https://pnet.co.za) — including salary data, contact details (email, apply URL), company metadata, full descriptions, and location data. It supports keyword search, location filters, and controllable result limits, so you can run the same query consistently over time. The actor also offers detail enrichment (full descriptions, company metadata, and contact information) where the source provides them.

**New to Apify?** [Sign up free](https://console.apify.com/sign-up?fpr=1h3gvi) and use the included $5 monthly platform credit to test this actor.

### Key features

- **🔔 Notifications:** Telegram, Slack, Discord, WhatsApp Cloud API, generic webhook — out of the box. Pair with incremental + `notifyOnlyChanges` for daily "new Pnet jobs" pings to your hiring channel.
- **📋 Detail enrichment:** two-stage scraping: first collect listings, then enrich each with the full description + detail-page fields. Pnet's detail pages are occasionally rate-limited from datacenter IPs, so the actor uses a tiered fetch — direct first, with an enhanced fallback path. Most runs (~95% of listings) get the full detail payload; the remaining ~5% fall back to the SERP snippet for that listing's `description` field, with all other structured fields still populated.
- **💰 Structured salary:** salary parsed into structured `salaryMin` / `salaryMax` / `salaryCurrency` / period — no string parsing on your side. Includes `salaryHidden` flag when the source filtered against a bracket but the listing itself doesn't disclose.
- **📧 Email + phone extraction:** every record carries `extractedEmails[]` and `extractedPhones[]` regex-pulled from the description — direct-outreach lists with no extra processing step.
- **🔗 URL + social-profile extraction:** every record carries `extractedUrls[]` and structured `socialProfiles { linkedin, twitter, github, … }` parsed from the description — useful when employers drop their careers page or recruiter LinkedIn in-line.
- **📦 Compact mode:** AI-agent and MCP-friendly compact payloads with core fields only — pipe straight into your ATS, salary-benchmarking tool, or LLM context without parsing extras.
- **✂️ Description truncation:** cap description length with `descriptionMaxLength` to control LLM prompt cost and dataset size — set 0 for full descriptions, or any char-limit to trim.
- **♻️ Incremental mode:** recurring runs emit only NEW / UPDATED / REAPPEARED records — UNCHANGED and EXPIRED are opt-in. First run builds the baseline; subsequent runs emit and charge only for the diff. Pair with notifications for daily "new jobs" alerts to your hiring team. Saves 80–95% on daily monitoring.
- **📤 Export anywhere:** Download the dataset as JSON, CSV, or Excel from the Apify Console, or stream live via the Apify API and integrations (Make, Zapier, Google Sheets, n8n, …).
- **🔌 MCP connectors:** export your results into Notion via Apify's MCP connectors — a clean run-summary page, no glue code. Opt-in via the App connector field; deterministic field-mapping, no AI. Built on Apify's connector framework, so more destinations open up as their catalog grows.

### What data can you extract from pnet.co.za?

Each result includes Core job fields (`jobId`, `pnetId`, `harmonisedId`, `title`, `location`, `city`, `latitude`, and `longitude`, and more), detail fields when enrichment is enabled (`description` and `descriptionHtml`), contact and apply information (`contactEmail`, `contactPhone`, and `applyUrl`), and company metadata (`company`, `companyLogo`, `companyUrl`, and `companyEmployeeRange`). In standard mode, all fields are always present — unavailable data points are returned as `null`, never omitted. In compact mode, only core fields are returned.

Enable detail enrichment in the input to get richer fields such as full descriptions, company metadata, and contact information where the source provides them.

### Input

The main inputs are a search keyword, an optional location filter, and a result limit. Additional filters and options are available in the input schema.

Key parameters:

- **`query`** — Job search keywords (e.g. 'software developer', 'accountant', 'nurse').
- **`location`** — City or area slug (e.g. 'johannesburg', 'cape-town', 'durban'). Used in URL path.
- **`contractType`** — Filter by contract type.
- **`remoteWork`** — Filter by remote work availability.
- **`experienceLevel`** — Filter by experience level.
- **`jobAge`** — Only show jobs posted within this period.
- **`sort`** — Sort order for results.
- **`maxResults`** — Maximum total results (0 = unlimited). (default: `25`)
- **`includeDetails`** — Fetch full job descriptions and metadata from detail pages. Slower but provides complete data including geo coordinates, employment type, and full HTML descriptions. (default: `false`)
- **`descriptionMaxLength`** — Truncate description to N characters. 0 = no truncation. (default: `0`)
- **`descriptionFormat`** — Output description as plain text or HTML. (default: `"text"`)
- **`compact`** — Core fields only (for AI-agent/MCP workflows). (default: `false`)
- ...and 23 more parameters

### Input examples

**Basic search** — Keyword-driven search with a result cap.

→ Full payload per result — all standard fields populated where the source provides them.

```json
{
  "query": "software developer",
  "maxResults": 50
}
```

**Filtered search** — Narrow results with advanced filters — only matching jobs are returned.

→ Same field set as basic search; fewer, more relevant rows.

```json
{
  "query": "software developer",
  "contractType": "permanent",
  "experienceLevel": "no-experience",
  "maxResults": 100
}
```

**Incremental tracking** — Only emit jobs that changed since the previous run with this `stateKey`.

→ First run builds the baseline state. Subsequent runs emit only records that are new or whose tracked content changed. Set `emitUnchanged: true` to include unchanged records as well.

```json
{
  "query": "software developer",
  "maxResults": 200,
  "incrementalMode": true,
  "stateKey": "software-developer-tracker"
}
```

**Compact filtered output** — Combine filters with compact mode for a lightweight AI-agent or MCP data source.

→ Core fields only — ideal for piping into LLMs or downstream tools without token overhead.

```json
{
  "query": "software developer",
  "contractType": "permanent",
  "experienceLevel": "no-experience",
  "maxResults": 50,
  "compact": true
}
```

### Output

Each run produces a dataset of structured job records. Results can be downloaded as JSON, CSV, or Excel from the Dataset tab in Apify Console.

### Example job record

```json
{
  "jobId": "4c665700f809db666c6ec82e464a945f51ae3ff95a09091cb7bac3b038531b4e",
  "pnetId": 4137723,
  "harmonisedId": "f6b01038-c001-4546-88bc-6b99f9a3f094",
  "title": "Software Developer",
  "company": "Helm Operations",
  "location": "Remote, South Africa",
  "city": "Victoria",
  "description": "Introduction\nAt Helm Operations, we build the software that keeps the world’s maritime operations moving. From tugboats in Vancouver Harbour to offshore service vessels in the North Sea, our customers...",
  "descriptionHtml": "<h4>Introduction</h4>\n<p>At Helm Operations, we build the software that keeps the world’s maritime operations moving. From tugboats in Vancouver Harbour to offshore service vessels in the North Sea, o...",
  "employmentType": "FULL_TIME",
  "contractType": "Permanent",
  "workType": "Full Time",
  "industry": "IT, IT-Software Development",
  "workFromHome": "On-site",
  "isSponsored": false,
  "isRepost": false,
  "salaryText": "500 ZAR",
  "salaryCurrency": "ZAR",
  "postedAt": "2026-04-10T21:06:18+02:00",
  "validThrough": "2026-05-10T19:06:18.11Z",
  "applyUrl": "https://www.pnet.co.za/jobs--Software-Developer-Remote-South-Africa-Helm-Operations--4137723-inline.html",
  "canonicalUrl": "https://www.pnet.co.za/jobs--Software-Developer-Remote-South-Africa-Helm-Operations--4137723-inline.html",
  "portalUrl": "https://www.pnet.co.za/",
  "companyUrl": "https://www.pnet.co.za/cmp/en/helm-operations-77002/jobs",
  "contactEmail": "sasha.reid@helmoperations.com",
  "fetchedAt": "2026-04-11T22:10:55.343Z",
  "sourceDomain": "pnet.co.za",
  "changeType": "new"
}
```

### Incremental fields

When incremental mode is on, each record also carries:

- `changeType` — one of `NEW`, `UPDATED`, `UNCHANGED`, `REAPPEARED`, `EXPIRED`. Default output covers `NEW` / `UPDATED` / `REAPPEARED`; set `emitUnchanged: true` or `emitExpired: true` to opt into the others.
- `isRepost`, `repostOfId`, `repostDetectedAt` — populated when a new listing matches the tracked content of a previously expired one. Set `skipReposts: true` to drop detected reposts from the output.

### How to scrape pnet.co.za

1. Go to [Pnet Scraper](https://apify.com/blackfalcondata/pnet-scraper?fpr=1h3gvi) in Apify Console.
2. Enter a search keyword and optional location filter.
3. Set `maxResults` to control how many results you need.
4. Enable `includeDetails` if you need full descriptions, contact info, company data.
5. Click **Start** and wait for the run to finish.
6. Export the dataset as JSON, CSV, or Excel.

### Use cases

- Extract job data from pnet.co.za for market research and competitive analysis.
- Track salary trends across regions and categories over time.
- Monitor new and changed jobs on scheduled runs without processing the full dataset every time.
- Build outreach lists using contact details and apply URLs from listings.
- Research company hiring patterns, employer profiles, and industry distribution.
- Use structured location data for regional analysis, mapping, and geo-targeting.
- Feed structured data into AI agents, MCP tools, and automated pipelines using compact mode.
- Export clean, structured data to dashboards, spreadsheets, or data warehouses.

### How much does it cost to scrape pnet.co.za?

Pnet Scraper uses [pay-per-event](https://docs.apify.com/platform/actors/paid-actors/pay-per-event) pricing. You pay a small fee when the run starts and then for each result that is actually produced.

- **Run start:** $0.01 per run
- **Per result:** $0.00095 per job record

Example costs:

- 10 results: **$0.019**
- 25 results: **$0.034**
- 100 results: **$0.1**
- 200 results: **$0.2**
- 500 results: **$0.48**

> **Platform usage is billed on top of these prices.** The figures above are Apify event fees only. Compute units and proxy traffic are billed separately by Apify at your actual consumption, and for proxy- or browser-heavy workloads they can exceed the event fees. What you actually pay depends on your own input — how many results you request, whether detail enrichment is on, the run memory you choose, and your proxy settings — so it cannot be stated as a fixed figure here. Every run reports its exact platform usage on the run detail page.
>
> The **Actor Start** event is charged once per GB of run memory (minimum one), so a run configured with 2 GB is charged two start events rather than one.

#### Example: recurring monitoring savings

These examples compare full re-scrapes with incremental runs at different churn rates. Churn is the share of jobs that are new or whose tracked content changed since the previous run. Actual churn depends on your query breadth, source activity, and polling frequency — the scenarios below are examples, not predictions.

Example setup: 100 jobs per run, daily polling (30 runs/month). Costs scale linearly with the number of jobs.

| Churn rate | Full re-scrape run cost | Incremental run cost | Savings vs full re-scrape | Monthly cost after baseline |
|---|---:|---:|---:|---:|
| 5% — stable niche query | $0.10 | $0.01 | $0.09 (86%) | $0.44 |
| 15% — moderate broad query | $0.10 | $0.02 | $0.08 (77%) | $0.73 |
| 30% — high-volume aggregator | $0.10 | $0.04 | $0.07 (63%) | $1.16 |

Full re-scrape monthly cost at the same cadence: $3.15. First month with incremental costs $0.53 / $0.81 / $1.22 for the 5% / 15% / 30% scenarios because the first run builds baseline state at full cost before incremental savings apply.

Platform usage (see the note above) also applies to these figures. Incremental runs consume less of it on result processing, though the fixed per-run overhead stays the same.

### FAQ

#### How many results can I get from pnet.co.za?

The number of results depends on the search query and available jobs on pnet.co.za. Use the `maxResults` parameter to control how many results are returned per run.

#### Does Pnet Scraper support recurring monitoring?

Yes. Enable incremental mode to only receive new or changed jobs on subsequent runs. This is ideal for scheduled monitoring where you want to track changes over time without re-processing the full dataset.

#### Can I integrate Pnet Scraper with other apps?

Yes. Pnet Scraper works with Apify's [integrations](https://apify.com/integrations?fpr=1h3gvi) to connect with tools like Zapier, Make, Google Sheets, Slack, and more. You can also use webhooks to trigger actions when a run completes.

#### Can I use Pnet Scraper with the Apify API?

Yes. You can start runs, manage inputs, and retrieve results programmatically through the [Apify API](https://docs.apify.com/api/v2). Client libraries are available for JavaScript, Python, and other languages.

#### Can I use Pnet Scraper through an MCP Server?

Yes. Apify provides an [MCP Server](https://apify.com/apify/actors-mcp-server?fpr=1h3gvi) that lets AI assistants and agents call this actor directly. Use compact mode, `descriptionMaxLength`, a single `descriptionFormat`, and `excludeEmptyFields` to keep payloads manageable for LLM context windows.

#### Is it legal to scrape pnet.co.za?

This actor extracts publicly available data from pnet.co.za. Web scraping of public information is generally considered legal, but you should always review the target site's terms of service and ensure your use case complies with applicable laws and regulations, including GDPR where relevant.

#### Your feedback

If you have questions, need a feature, or found a bug, please [open an issue](https://apify.com/blackfalcondata/pnet-scraper/issues?fpr=1h3gvi) on the actor's page in Apify Console. Your feedback helps us improve.

### You might also like

- [Actiris Job Scraper \[Just 💰$1.5\] — Brussels Public Jobs](https://apify.com/blackfalcondata/actiris-scraper?fpr=1h3gvi) — 💰 $1.5 per 1,000 jobs. Scrape actiris.brussels — the official Brussels public employment service.
- [AMS Austria Job Scraper — Public Employment Service Jobs](https://apify.com/blackfalcondata/ams-austria-job-scraper?fpr=1h3gvi) — Scrape jobs.ams.at — Austria's official AMS public employment portal (branded alle jobs) with live.
- [APEC.fr Scraper - French Executive Jobs](https://apify.com/blackfalcondata/apec-scraper?fpr=1h3gvi) — 💰 $0.8 per 1,000 jobs, platform usage included. Scrape apec.fr French executive listings — every.
- [Arbeitsagentur Job Scraper \[💰$0.45\] — German Federal Jobs](https://apify.com/blackfalcondata/arbeitsagentur-jobs-feed?fpr=1h3gvi) — 💰 from $0.45 per 1,000 jobs. Scrape arbeitsagentur.de — Germany's official public employment.
- [Arbetsförmedlingen Job Scraper \[Just 💰$3\] — Sweden Public](https://apify.com/blackfalcondata/arbetsformedlingen-scraper?fpr=1h3gvi) — 💰 $3 per 1,000 jobs. Scrape arbetsformedlingen.se (Platsbanken) — Sweden's official employment.
- [Bayt Scraper — MENA Jobs with Salary & Skills](https://apify.com/blackfalcondata/bayt-scraper?fpr=1h3gvi) — Scrape bayt.com — the leading Middle East job board across UAE · Saudi Arabia · Qatar · Egypt & 9.
- [BestJobs.eu Scraper \[Just 💰$1.5\] — Romania Job Board](https://apify.com/blackfalcondata/bestjobs-eu-scraper?fpr=1h3gvi) — 💰 $1.5 per 1,000 jobs. Scrape bestjobs.eu — a leading Romanian job board — export salary ranges ·.
- [Bumeran Scraper \[Just 💰$1\] — LATAM Jobs (7 Countries)](https://apify.com/blackfalcondata/bumeran-scraper?fpr=1h3gvi) — 💰 $1 per 1,000 jobs. Scrape Bumeran Group across LATAM — Argentina · Chile · Ecuador · Mexico ·.

### Getting started with Apify

New to Apify? [Create a free account with $5 credit](https://console.apify.com/sign-up?fpr=1h3gvi) — no credit card required.

1. Sign up — $5 platform credit included
2. Open this actor and configure your input
3. Click **Start** — export results as JSON, CSV, or Excel

Need more later? [See Apify pricing](https://apify.com/pricing?fpr=1h3gvi).

### Disclaimer

This actor accesses only publicly available data on pnet.co.za. You are responsible for how you use the extracted data — in particular any personal information such as names, phone numbers, or email addresses — and for complying with Pnet's terms of use, applicable data-protection law (including the GDPR where it applies), and the anti-spam rules of your jurisdiction.

This actor is not affiliated with, endorsed by, or connected to Pnet.

### Search keywords

pnet scraper, pnet api, apify pnet, pnet data extraction, pnet.co.za scraper, pnet.co.za data, pnet.co.za api, job listings scraper, recruitment data, hiring data, job board scraper.

# Actor input Schema

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

Job search keywords (e.g. 'software developer', 'accountant', 'nurse').

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

City or area slug (e.g. 'johannesburg', 'cape-town', 'durban'). Used in URL path.

## `contractType` (type: `string`):

Filter by contract type.

## `remoteWork` (type: `string`):

Filter by remote work availability.

## `experienceLevel` (type: `string`):

Filter by experience level.

## `jobAge` (type: `string`):

Only show jobs posted within this period.

## `sort` (type: `string`):

Sort order for results.

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

Maximum total results (0 = unlimited).

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

Fetch full job descriptions and metadata from detail pages. Slower but provides complete data including geo coordinates, employment type, and full HTML descriptions.

## `descriptionMaxLength` (type: `integer`):

Truncate description to N characters. 0 = no truncation.

## `descriptionFormat` (type: `string`):

Output description as plain text or HTML.

## `compact` (type: `boolean`):

Core fields only (for AI-agent/MCP workflows).

## `incrementalMode` (type: `boolean`):

Only output new/changed jobs compared to previous run.

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

Stable identifier for tracked universe. Different stateKeys maintain separate tracking.

## `telegramToken` (type: `string`):

Telegram bot token from @BotFather. Required for Telegram notifications.

## `telegramChatId` (type: `string`):

Telegram chat or channel ID where alerts are sent (e.g. "-100123456789" for a private group, or "@yourchannel").

## `discordWebhookUrl` (type: `string`):

Discord incoming webhook URL. Get one from Server Settings → Integrations → Webhooks.

## `slackWebhookUrl` (type: `string`):

Slack incoming webhook URL. Create at api.slack.com/messaging/webhooks.

## `whatsappPhoneNumberId` (type: `string`):

WhatsApp Business phone number ID from Meta Business Manager (NOT the phone number itself — the numeric ID shown next to your business number). Free service-conversation messages within 24 hours of last user-initiated contact.

## `whatsappAccessToken` (type: `string`):

Meta Cloud API access token with `whatsapp_business_messaging` scope. Get a permanent token from a system user in Meta Business Manager.

## `whatsappTo` (type: `string`):

Recipient phone in E.164 format (e.g. +27821234567). Recipient must have messaged your business number within the last 24 hours — outside that window, free-form text is rejected by Meta.

## `webhookUrl` (type: `string`):

Generic webhook URL that receives a JSON POST with the full job payload + run metadata. Universal escape hatch for n8n / Make / Zapier / your own backend.

## `webhookHeaders` (type: `object`):

Optional headers (e.g. {"Authorization": "Bearer xyz"}) sent with the webhook POST.

## `notificationLimit` (type: `integer`):

Maximum number of jobs included in each notification message (1–20). Excess jobs are still in the dataset; notifications get a summary line.

## `notifyOnlyChanges` (type: `boolean`):

When Incremental Mode is on, only send notifications for new / updated jobs. Has no effect outside incremental mode.

## `excludeEmptyFields` (type: `boolean`):

Drop null, empty-string, and empty-array fields from each record before push. Smaller payloads for AI agents and dashboards.

## `appConnector` (type: `string`):

Optional. Pick a connected app under Settings → API & Integrations to receive your results. Notion is supported today (a run-summary page); other MCP connectors are best-effort as Apify expands its catalog.

## `mcpIssueTeam` (type: `string`):

Only when the connected app is an issue tracker: the team (name or ID) the summary issue is created under, if that app requires one.

## `startUrls` (type: `array`):

Paste a pnet.co.za search URL copied from your browser (e.g. https://www.pnet.co.za/jobs/developer/in-durban). It is used exactly as given, so any filters in it are kept — only paging is handled for you. When set, this is the search: the keyword and the filter fields are not applied on top. One search URL per run; single job pages are not supported.

## `emitUnchanged` (type: `boolean`):

When incremental mode is on, also emit listings whose content has not changed since the last run.

## `emitExpired` (type: `boolean`):

When incremental mode is on, also emit listings that were seen before but are no longer found.

## `skipReposts` (type: `boolean`):

In incremental mode, skip listings that appear to be reposts of a previously-seen expired listing with matching details.

## `lat` (type: `number`):

GPS latitude of a search centre. Pair with lon and radiusKm to keep only listings within range. Requires Include Full Details — coordinates are only available on the detail page.

## `lon` (type: `number`):

GPS longitude. Pair with lat.

## `radiusKm` (type: `integer`):

Search radius in kilometres around lat/lon. Listings without coordinates are always kept (not dropped).

## Actor input object example

```json
{
  "query": "software developer",
  "maxResults": 5,
  "includeDetails": false,
  "descriptionMaxLength": 0,
  "descriptionFormat": "text",
  "compact": false,
  "incrementalMode": false,
  "notificationLimit": 5,
  "notifyOnlyChanges": false,
  "excludeEmptyFields": false,
  "emitUnchanged": false,
  "emitExpired": false,
  "skipReposts": false
}
```

# Actor output Schema

## `results` (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": "software developer",
    "maxResults": 5,
    "excludeEmptyFields": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("blackfalcondata/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": "software developer",
    "maxResults": 5,
    "excludeEmptyFields": False,
}

# Run the Actor and wait for it to finish
run = client.actor("blackfalcondata/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": "software developer",
  "maxResults": 5,
  "excludeEmptyFields": false
}' |
apify call blackfalcondata/pnet-scraper --silent --output-dataset

```

## MCP server setup

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