# NHS Jobs Scraper($0.5) (`mrdoe/nhs-jobs-scraper-0-5`) Actor

Scrape NHS Jobs listings from jobs.nhs.uk with job titles, employers, locations, salaries, employment details, descriptions, requirements, and application URLs. Search and collect structured NHS job data for recruitment, research, lead generation, and job-market analysis.

- **URL**: https://apify.com/mrdoe/nhs-jobs-scraper-0-5.md
- **Developed by:** [MrDoe](https://apify.com/mrdoe) (community)
- **Categories:** Jobs, Lead generation, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.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/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

## NHS Jobs Scraper

### What does NHS Jobs Scraper do?

**NHS Jobs Scraper** extracts job listings from [NHS Jobs](https://www.jobs.nhs.uk), the official recruitment site for the UK's National Health Service - job title, employer, location, salary, contract type, working pattern, dates, reference number, and the full job description. Give it a search results page or a direct listing URL and it returns clean, structured data for every job it finds, ready to download or pipe into another system.

Because it runs on the Apify platform, you get API access, one-click scheduling (e.g. run daily to track new postings), integrations with Zapier/Make/n8n, automatic proxy rotation, and full run monitoring - none of which you get from a script running on your own machine.

### Why use NHS Jobs Scraper?

- **Vacancy aggregation** - feed NHS openings into a jobs board, careers site, or internal dashboard.
- **Trust and region tracking** - monitor new postings from specific NHS trusts or in specific regions.
- **Salary and contract analysis** - compare salary bands and contract types across healthcare roles.
- **Job alerts** - power notifications for specific job titles or locations by scheduling recurring runs.
- **Workforce research** - support recruitment and labour-market research in the UK healthcare sector.

### How to use NHS Jobs Scraper

1. [Sign up](https://apify.com/sign-up) for a free Apify account - includes free monthly usage credit.
2. Open the Actor and click **Try for free** (or **Start**).
3. Enter one or more **Start URLs** - NHS Jobs search result pages or direct job listing URLs.
4. Optionally set **Max items per start URL** and adjust **Proxy configuration**.
5. Click **Start** and wait for the run to finish, then open the **Dataset** tab to view, filter, and export the results.

### Input

| Field | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `startUrls` | array | Yes | `https://www.jobs.nhs.uk/candidate/search/results?keyword=&location=` | NHS Jobs search result pages or direct job listing URLs to start scraping from |
| `maxItems` | integer | No | `5` | Maximum number of job listings to scrape per start URL |
| `proxyConfiguration` | object | No | `{ "useApifyProxy": true }` | Proxy settings for the run |

**Supported URL types:**

- Search result pages, e.g. `https://www.jobs.nhs.uk/candidate/search/results?keyword=nurse&location=london`
- Direct job listing pages, e.g. `https://www.jobs.nhs.uk/candidate/jobadvert/<reference>`

See the **Input** tab for the full schema.

### Output

Each dataset item looks like this:

```json
{
    "title": "Staff Nurse - A&E",
    "url": "https://www.jobs.nhs.uk/candidate/jobadvert/M0042-26-0125?keyword=&location=&language=en",
    "companyName": "Torbay & South Devon NHS Foundation Trust",
    "location": "Newton Road, Torquay, TQ2 7AA",
    "salary": "£18.66 to £29.85 an hour",
    "contractType": "Bank",
    "workingPattern": "Full-time, Part-time, Flexible working",
    "datePosted": "05 September 2025",
    "closingDate": "The closing date is 05 September 2026",
    "jobReference": "M0042-26-0125",
    "description": "Job summary The Emergency Department at Torbay Hospital is looking for enthusiastic and committed Staff Nurses to join our team on a bank basis..."
}
```

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

#### Data table

| Field | Description |
| --- | --- |
| `title`, `url` | Job title and link to the listing |
| `companyName` | Hiring NHS trust or employer |
| `location` | Combined employer address (street, town, county, postcode) |
| `salary` | Salary or hourly rate as listed |
| `contractType`, `workingPattern` | Employment type and working pattern |
| `datePosted`, `closingDate` | When the job was posted and when applications close |
| `jobReference` | The NHS Jobs / Trac reference number |
| `description` | Full job description text |

### Cost estimation

Each job requires two lightweight HTTP requests (search result page + job detail page), no browser rendering - so this is one of the cheaper Actors to run. Use **Max items per start URL** to scope smaller, cheaper runs.

### Tips

- Narrow `startUrls` with NHS Jobs' own search filters (keyword, location, distance) to avoid scraping irrelevant listings.
- Use a separate entry in `startUrls` per trust or region if you want per-source control over `maxItems`.
- A proxy isn't strictly required for light use, but enabling Apify Proxy (on by default) is recommended for larger or repeated runs to reduce the chance of rate limiting.

### FAQ, disclaimers, and support

This Actor only collects publicly listed NHS Jobs data. It is not affiliated with or endorsed by NHS Jobs or the National Health Service. Respect the site's Terms of Service when using the scraped data. Found a bug or have a feature request? Use the Issues tab on this Actor's page.

# Actor input Schema

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

NHS Jobs search result pages or direct job listing URLs to start scraping from.

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

Maximum number of job listings to scrape per start URL.

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

Proxy settings for the run.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.jobs.nhs.uk/candidate/search/results?keyword=&location="
    }
  ],
  "maxItems": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `overview` (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 = {
    "startUrls": [
        {
            "url": "https://www.jobs.nhs.uk/candidate/search/results?keyword=&location="
        }
    ],
    "maxItems": 5,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("mrdoe/nhs-jobs-scraper-0-5").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 = {
    "startUrls": [{ "url": "https://www.jobs.nhs.uk/candidate/search/results?keyword=&location=" }],
    "maxItems": 5,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("mrdoe/nhs-jobs-scraper-0-5").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 '{
  "startUrls": [
    {
      "url": "https://www.jobs.nhs.uk/candidate/search/results?keyword=&location="
    }
  ],
  "maxItems": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call mrdoe/nhs-jobs-scraper-0-5 --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mrdoe/nhs-jobs-scraper-0-5"
        }
    }
}

```

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/Qr04sVazIQbqEUGpK/builds/PflrkUWqIF79VLBFE/openapi.json
