# Totaljobs Jobs Scraper (`thenetaji/totaljobs-jobs-scraper`) Actor

Search Totaljobs, CWJobs or Caterer.com by keyword and location, filter by posting age and office or remote work, and export each UK job with company, salary, location and dates.

- **URL**: https://apify.com/thenetaji/totaljobs-jobs-scraper.md
- **Developed by:** [The Netaji](https://apify.com/thenetaji) (community)
- **Categories:** Jobs, 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 $0.85 / 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.
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

## Totaljobs Jobs Scraper

The Actor searches Totaljobs, CWJobs or Caterer.com, the StepStone group's job boards in the United Kingdom, by keyword and location and saves each matching job as one dataset row with its title, company, location, postcode, salary, work mode, snippet, posting and expiry dates, and the way the job matched the search. Results arrive in relevance order by default, and the posting-age and office or remote filters narrow a search the same way they do on the boards themselves.

```json
{
  "board": "totaljobs",
  "query": "data analyst",
  "location": "London",
  "postedWithinDays": "3",
  "workMode": "remote",
  "sort": "relevance",
  "maxItems": 100
}
```

### Accepted input

- `board` selects the site: `totaljobs` for Totaljobs (the default), `cwjobs` for CWJobs, the IT and technology board, or `caterer` for Caterer.com, the hospitality and catering board.
- `query` is required: a job title, skill or keyword such as `data analyst`, `devops engineer` or `head chef`.
- `location` is optional and takes a town or city as the board spells it, for example `London`, `Manchester` or `Leeds`.
- `postedWithinDays` accepts `any`, `1`, `3`, `7` or `14`; the default is `any`.
- `workMode` accepts `any`, `office` or `remote`; the default is `any`.
- `sort` accepts `relevance` (the default) or `date` (newest first).
- `enrichJobDescription` adds each saved job's full posting to its row; it is off by default. See [Full postings](#full-postings).
- `page` is the first result page to read; it defaults to `1` and cannot exceed `4`.
- `maxItems` bounds the number of saved rows; it defaults to `100`, and `0` removes the bound.

### Response fields

Each row carries `job_id`, `title`, `url`, `company` (`name`, `id`, `url`, `logo_url`), `job_location`, `postal_code`, `salary` (`label`, `min`, `max`, `currency`, `period`, `estimated`), `work_mode`, `description_snippet`, `posted_at`, `expires_at`, `match_type`, `is_sponsored`, `is_top_job`, `skills` and `labels`. Every row also records the `site`, `query`, `location` and `page` it was collected under, together with the board's own `total` and `total_breakdown` for the search and the `search_url`.

A posting without pay information returns `salary` as null. Where `estimated` is `true`, the figure is the board's own salary estimate for the role, not a figure the employer published.

### Full postings

A search row carries what the board's search card shows. With `enrichJobDescription` on, the Actor also reads each saved job's own posting and adds `description_html`, `sections` (the posting's headed sections), `contract_type`, `work_type`, `employment_type`, `industry`, `locations` (each place with city, region, postcode, country and coordinates), `valid_through`, `direct_apply` and `is_offline`, and it fills `salary` where the search card showed none. Each posting is a further request, so a run takes longer, and each posting read is billed as a separate event. A posting the board no longer serves keeps its search row unchanged and is not billed; one it still serves but marks offline is added with `is_offline` set to `true`.

### Behaviour on large searches

Totaljobs, CWJobs and Caterer.com serve at most 4 pages of 25 jobs for one search, so a single search yields at most 100 jobs even when `total` reports thousands. The run ends cleanly at that point and keeps the rows collected. Splitting a broad search by `location` or `postedWithinDays` reaches further into the same pool. A job that appears on two consecutive pages is saved once.

### Notes on the results

**Why is relevance the default instead of newest first?**
In date order the boards match a search loosely. On Totaljobs, 25 of the first 25 "data analyst" jobs carried the term in the title in relevance order; in date order 7 of 25 did.

**Why is `total` larger than the number of jobs that match the term?**
The boards count nearby and related jobs in their total, not only exact matches. `total_breakdown` splits the figure into `exact`, `nearby`, `related` and `recommended`, and each row's `match_type` states which kind of match that job is. Keeping only rows whose `match_type` is `exact` removes the nearby and related matches.

**Why are there no more than 100 rows when `maxItems` is higher?**
The 4-page ceiling applies to every search on these boards, whatever `maxItems` is set to. Several narrower searches, for example one per city or one per posting-age window, collect more of a large result set than one broad search does.

### Related Actors

The [StepStone Jobs Scraper](https://apify.com/thenetaji/stepstone-jobs-scraper) runs the same search on StepStone Germany, Austria and Belgium.

# Actor input Schema

## `board` (type: `string`):

Which board to search: Totaljobs for jobs of every kind, CWJobs for IT and technology, or Caterer.com for hospitality and catering.

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

The job title, skill or keyword to search for.

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

A town, city or postcode area as the board spells it, such as London or Manchester. Left empty, the search runs without a location.

## `postedWithinDays` (type: `string`):

Keep jobs published within this many days.

## `workMode` (type: `string`):

Keep jobs that the board marks as office-based or remote.

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

Relevance keeps to jobs that match the search. Newest first matches the search more loosely: on Totaljobs, 7 of the first 25 "data analyst" jobs had the term in the title, against 25 of 25 by relevance.

## `enrichJobDescription` (type: `boolean`):

Reads each saved job's own posting and adds what a search card does not carry: the complete description and its sections, the contract type, working hours and employment type, the industry, every location with its postcode and coordinates, the closing date and whether the application is made on the board.

It costs one further request per job, so a run is slower with it on, and it is billed per posting read.

## `page` (type: `integer`):

Which result page to start from. Totaljobs, CWJobs and Caterer.com serve up to 4 pages of 25 jobs for one search.

## `maxItems` (type: `integer`):

Maximum number of rows to save. Set 0 for no limit.

## Actor input object example

```json
{
  "board": "totaljobs",
  "query": "data analyst",
  "location": "London",
  "postedWithinDays": "any",
  "workMode": "any",
  "sort": "relevance",
  "enrichJobDescription": false,
  "page": 1,
  "maxItems": 20
}
```

# Actor output Schema

## `dataset` (type: `string`):

All records scraped by this run

# 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": "data analyst",
    "location": "London",
    "page": 1,
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("thenetaji/totaljobs-jobs-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": "data analyst",
    "location": "London",
    "page": 1,
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("thenetaji/totaljobs-jobs-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": "data analyst",
  "location": "London",
  "page": 1,
  "maxItems": 20
}' |
apify call thenetaji/totaljobs-jobs-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,thenetaji/totaljobs-jobs-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/4RbVZgDWEBUOOh81v/builds/AgyoMahKKY8A2ZRz2/openapi.json
