# NHS Jobs Scraper - UK Healthcare Hiring Data (`benthepythondev/nhs-jobs-scraper`) Actor

Scrape NHS Jobs listings: title, NHS trust, location, salary, posted date, closing date, contract type, working pattern and URL.

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

## Pricing

from $3.00 / 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 a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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 - UK Healthcare Hiring Data

Scrape job listings from **NHS Jobs** in one run. Get job titles, NHS trusts and employers, locations, salaries, posted dates, closing dates, contract types, working patterns and direct job URLs from public NHS Jobs search results. Export the results to JSON, CSV or Excel, schedule recurring runs, call the actor through the Apify API, or connect the dataset to Google Sheets, Airtable, Clay, HubSpot, Make, Zapier or n8n.

### 🔎 What is the NHS Jobs Scraper?

NHS Jobs is the main public job board for healthcare roles across England and the wider UK healthcare system. It covers nurses, doctors, healthcare assistants, administrators, therapists, pharmacists, mental health roles, IT roles, finance roles, operational leadership and many more NHS and healthcare vacancies.

This actor converts public NHS Jobs search-result pages into clean structured data. It uses direct HTTP requests and parses the server-rendered cards already available in the page, so it does not require a browser, login, API key or paid unblocker. That makes it practical for scheduled monitoring, recruitment workflows, public-sector hiring research and healthcare labour-market analysis.

#### What data does it extract?

- **Job title** - role name from the NHS Jobs search result.
- **Organization** - NHS trust, GP practice, healthcare provider or employer.
- **Location** - location and postcode text when shown.
- **Salary** - salary range and period when listed.
- **Date posted** - publication date shown on NHS Jobs.
- **Closing date** - application closing date.
- **Contract type** - permanent, fixed term, bank, honorary or other contract type.
- **Working pattern** - full time, part time, flexible working and related patterns.
- **Direct job URL** - stable NHS Jobs job advert URL.
- **Stable ID** - NHS job advert reference extracted from the URL.

### ⬇️ Input

| Field | Type | Description |
| --- | --- | --- |
| `searchUrls` | array | NHS Jobs search-result URLs to scrape. |
| `keyword` | string | Optional keyword used to build an NHS Jobs search URL. |
| `location` | string | Optional location used with keyword search. |
| `maxResults` | integer | Maximum jobs to return. |

#### Example input

```json
{
  "searchUrls": ["https://www.jobs.nhs.uk/candidate/search/results?keyword=nurse&location=London"],
  "maxResults": 25
}
````

Keyword and location search:

```json
{
  "keyword": "pharmacist",
  "location": "Manchester",
  "maxResults": 20
}
```

### ⬆️ Output

Each dataset item is one NHS Jobs listing.

```json
{
  "id": "C9290-26-0725",
  "title": "Senior Staff Nurse/ Charge Nurse",
  "organization": "Imperial College Healthcare NHS Trust",
  "location": "London W2 1NY",
  "salary": "£47,951 to £56,863 a year",
  "date_posted": "2 July 2026",
  "closing_date": "16 July 2026",
  "contract_type": "Permanent",
  "working_pattern": "Full time",
  "job_url": "https://www.jobs.nhs.uk/candidate/jobadvert/C9290-26-0725?keyword=nurse&location=London",
  "source": "nhs_jobs"
}
```

### 💡 Use cases

- **Healthcare recruiting** - monitor NHS demand for nurses, doctors, pharmacists, therapists and support roles.
- **Public-sector labour research** - track vacancies, salary bands and closing dates by location and employer.
- **Staffing intelligence** - identify trusts and providers with repeated hiring needs.
- **Sales lead generation** - hiring activity can signal demand for staffing, training, payroll, compliance, healthcare software or local services.
- **Market monitoring** - build daily or weekly datasets of new NHS vacancies in target regions.
- **Automation** - send new roles to Sheets, Airtable, Slack, HubSpot, Clay, Make, Zapier or n8n.

### 🧭 How to use the data

Use `id` or `job_url` as the deduplication key. For monitoring, schedule the actor daily and compare new IDs against previous datasets. For research, group rows by `organization`, `location`, `salary`, `contract_type` or `working_pattern`. For sales workflows, enrich organizations that repeatedly post roles in specific departments or locations.

You can paste any NHS Jobs search URL after applying filters on the site. The actor also supports a simple `keyword` plus `location` input for common API-style runs. Keep `maxResults` small for frequent monitoring and increase it for one-time exports.

Pair this actor with other job actors such as Reed, StepStone, Totaljobs, Jobsite, Bayt, Naukri, Workable, Ashby and Recruitee to cover both public job boards and company career pages.

### ❓ FAQ

**Does this require an NHS Jobs account?** No. It reads public search results.

**Does it use a browser?** No. It uses direct HTTP requests and parses server-rendered cards.

**Can I scrape filtered NHS Jobs URLs?** Yes. Apply filters on NHS Jobs and paste the result URL into `searchUrls`.

**Can I search by keyword and location?** Yes. Use the `keyword` and `location` fields.

**Does it include salary?** Yes, when NHS Jobs shows salary on the search card.

**Does it include closing dates?** Yes. Closing dates are one of the core output fields.

**Does it scrape full detail pages?** This version focuses on search results for speed and reliability. Detail-page enrichment can be added later if needed.

**Is this useful for lead generation?** Yes. Healthcare hiring is a strong signal for staffing, training, HR tech, payroll, compliance and healthcare-service workflows.

**How often should I run it?** Daily is useful for vacancy monitoring. Weekly is enough for broad market research.

**How do I avoid duplicates?** Use `id` or `job_url` as your stable key.

**Is it legal to scrape NHS Jobs?** The actor collects publicly available job listing data. You are responsible for using the output lawfully and respecting privacy, employment, anti-spam and platform rules.

### 🔗 You might also like

- [Reed Jobs Scraper](https://apify.com/benthepythondev/reed-jobs-scraper)
- [StepStone Scraper](https://apify.com/benthepythondev/stepstone-scraper)
- [Bayt Jobs Scraper](https://apify.com/benthepythondev/bayt-jobs-scraper)
- [No Fluff Jobs Scraper](https://apify.com/benthepythondev/nofluffjobs-scraper)
- [Ashby Jobs Scraper](https://apify.com/benthepythondev/ashby-jobs-scraper)
- [Recruitee Jobs Scraper](https://apify.com/benthepythondev/recruitee-jobs-scraper)

**Keywords:** NHS Jobs scraper, NHS job board scraper, UK healthcare jobs scraper, scrape NHS Jobs, nurse jobs scraper, doctor jobs scraper, healthcare hiring data, NHS vacancy data, public sector jobs scraper, healthcare recruiting leads, job postings scraper, Apify jobs scraper.

# Actor input Schema

## `searchUrls` (type: `array`):

NHS Jobs search result URLs to scrape.

## `keyword` (type: `string`):

Optional keyword used to build an NHS Jobs search URL.

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

Optional location used with keyword search.

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

Maximum number of jobs to return.

## Actor input object example

```json
{
  "searchUrls": [
    "https://www.jobs.nhs.uk/candidate/search/results?keyword=nurse&location=London"
  ],
  "keyword": "nurse",
  "location": "London",
  "maxResults": 10
}
```

# 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 = {
    "searchUrls": [
        "https://www.jobs.nhs.uk/candidate/search/results?keyword=nurse&location=London"
    ],
    "keyword": "nurse",
    "location": "London",
    "maxResults": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("benthepythondev/nhs-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 = {
    "searchUrls": ["https://www.jobs.nhs.uk/candidate/search/results?keyword=nurse&location=London"],
    "keyword": "nurse",
    "location": "London",
    "maxResults": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("benthepythondev/nhs-jobs-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searchUrls": [
    "https://www.jobs.nhs.uk/candidate/search/results?keyword=nurse&location=London"
  ],
  "keyword": "nurse",
  "location": "London",
  "maxResults": 10
}' |
apify call benthepythondev/nhs-jobs-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=benthepythondev/nhs-jobs-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "NHS Jobs Scraper - UK Healthcare Hiring Data",
        "description": "Scrape NHS Jobs listings: title, NHS trust, location, salary, posted date, closing date, contract type, working pattern and URL.",
        "version": "1.0",
        "x-build-id": "APJLp1jNResgFBT1H"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/benthepythondev~nhs-jobs-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-benthepythondev-nhs-jobs-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/benthepythondev~nhs-jobs-scraper/runs": {
            "post": {
                "operationId": "runs-sync-benthepythondev-nhs-jobs-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/benthepythondev~nhs-jobs-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-benthepythondev-nhs-jobs-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "searchUrls": {
                        "title": "Search URLs",
                        "type": "array",
                        "description": "NHS Jobs search result URLs to scrape.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "keyword": {
                        "title": "Keyword",
                        "type": "string",
                        "description": "Optional keyword used to build an NHS Jobs search URL."
                    },
                    "location": {
                        "title": "Location",
                        "type": "string",
                        "description": "Optional location used with keyword search."
                    },
                    "maxResults": {
                        "title": "Max results",
                        "minimum": 1,
                        "maximum": 500,
                        "type": "integer",
                        "description": "Maximum number of jobs to return.",
                        "default": 50
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
