# UK Public Sector Jobs Feed: NHS Jobs + Teaching Vacancies (`rivetfinch/uk-jobs-feed`) Actor

Teaching Vacancies + NHS Jobs in one feed, $0.50 per 1,000 jobs: every live school and NHS job in one clean schema, with employer, postcode, parsed pay, NHS pay band and staff group, and closing date. A new-jobs-only monitor adds free closed-job rows.

- **URL**: https://apify.com/rivetfinch/uk-jobs-feed.md
- **Developed by:** [Rivetfinch](https://apify.com/rivetfinch) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 1,000 jobs

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/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

## UK Public Sector Jobs Feed: NHS Jobs + Teaching Vacancies

Teaching Vacancies + NHS Jobs in one feed: every live job on **Teaching Vacancies**, the Department for Education's free service for state school, academy and college jobs in England, and on **NHS Jobs**, the NHS Business Services Authority's job service for the NHS in England and Wales. Both come out in one clean schema. Each row is one job. A school job:

```json
{
  "id": "teachingvacancies:ks2-class-teacher-st-mary-s-primary-school",
  "source": "teachingvacancies",
  "sourceJobId": "ks2-class-teacher-st-mary-s-primary-school",
  "title": "KS2 Class Teacher",
  "employer": "St Mary's Primary School",
  "employerId": "126397",
  "employerWebsite": "http://www.stmarys.example.sch.uk/",
  "category": "teacher",
  "employmentType": "full_time",
  "employmentTypes": ["full_time", "part_time"],
  "workplaceType": null,
  "location": "Reading, RG30 2BB",
  "streetAddress": "61 Bath Road",
  "locality": "Reading",
  "region": "South East",
  "postcode": "RG30 2BB",
  "countryCode": "GB",
  "salaryText": "£34,069.00 - £52,835.00 Annually (FTE)",
  "salaryMin": 34069,
  "salaryMax": 52835,
  "salaryCurrency": "GBP",
  "salaryPeriod": "year",
  "salaryBasis": "fte",
  "salaryYearlyMin": 34069,
  "salaryYearlyMax": 52835,
  "postedAt": "2026-11-21T00:00:00Z",
  "closesAt": "2026-12-08T23:59:00Z",
  "url": "https://teaching-vacancies.service.gov.uk/jobs/ks2-class-teacher-st-mary-s-primary-school",
  "descriptionMarkdown": "We are looking for an enthusiastic KS2 teacher ... For a visit, contact the school office on [phone removed] or email office@stmarys.example.sch.uk.",
  "descriptionText": null,
  "descriptionHtml": null,
  "changeType": null,
  "firstSeenAt": null,
  "scrapedAt": "2026-11-23T10:15:00Z",
  "license": "Contains public sector information licensed under the Open Government Licence v3.0. Source: Teaching Vacancies, Department for Education.",
  "contractType": null,
  "payBand": null,
  "staffGroup": null,
  "workingPatterns": null,
  "attribution": "Contains public sector information licensed under the Open Government Licence v3.0. Source: Teaching Vacancies, Department for Education."
}
```

An NHS job (the fields that differ; the others are as above or null):

```json
{
  "id": "nhsjobs:C9236-26-1604",
  "source": "nhsjobs",
  "sourceJobId": "C9236-26-1604",
  "title": "Staff Nurse",
  "employer": "Example NHS Foundation Trust",
  "category": "nursing_and_midwifery_regd",
  "employmentType": null,
  "employmentTypes": [],
  "location": "Leeds, LS9 7TF; Wakefield, WF1 4DG",
  "locality": "Leeds",
  "postcode": "LS9 7TF",
  "salaryText": "£32073.00 to £39043.00",
  "salaryMin": 32073,
  "salaryMax": 39043,
  "salaryPeriod": "year",
  "salaryYearlyMax": 39043,
  "postedAt": "2026-11-22T15:02:34Z",
  "closesAt": "2026-12-06T23:59:59Z",
  "url": "https://www.jobs.nhs.uk/candidate/jobadvert/C9236-26-1604",
  "descriptionMarkdown": "We are looking for a registered nurse to join our friendly ward team...",
  "license": null,
  "contractType": "Permanent",
  "payBand": "Band 5",
  "staffGroup": "Nursing and Midwifery Registered",
  "workingPatterns": null,
  "attribution": "Source: NHS Jobs (jobs.nhs.uk), NHS Business Services Authority."
}
```

(Values shortened for the examples.) For a school, `employerId` is its URN, so rows join straight onto the government's school records (Get Information about Schools).

### What you get

- **Two official services, one schema.** About 6,900 school jobs and 11,500 NHS jobs (counts of 22–23 Nov 2026), with the same fields for title, employer, place, pay, dates and link, so one table or one filter covers both.
- **Every live school job, not 88% of them.** The Teaching Vacancies API sorts only by posting date, so jobs posted on the same day shift between pages: a plain page-by-page read repeats about 1 job in 8 and silently skips about as many (we measured 6,909 listed, 6,086 seen in one pass on 22 Nov 2026). This Actor drops the repeats and fetches the skipped jobs one by one from the site's sitemap, so the dataset matches the live count.
- **Every live NHS job, with its staff group and pay band.** NHS Jobs' feed has neither field, only filters for them. The Actor reads NHS Jobs one staff group at a time, so every NHS row gets its `staffGroup` (and `category`) at no extra cost, and reads NHS Jobs' pay-band lists once per run so every job filed under a band gets `payBand` (Band 2 to 9, 8a to 8d, or a medical grade such as Consultant). A full read on 23 Nov 2026 got all 11,457 listed jobs, 6,469 of them with a band.
- **Pay you can filter on.** The pay line is kept as written and also read into min, max and period (year, month, hour), plus basis (`fte` or `actual`) for school jobs. Yearly figures are given only for yearly and monthly pay, because hourly jobs are often term-time, part-time or bank shifts.
- **Clean locations.** Town and postcode for every job; for schools also region, street address and URN. NHS jobs with several sites list them all in `location`.
- **Monitor mode for a daily feed.** Each run returns only jobs this monitor has not delivered before, plus a free row for each delivered job that has closed.
  - School jobs count as closed only when they have left the site's full job list (the sitemap, checked against the API's own count) and are past their closing date or confirmed gone.
  - NHS jobs: the first run of each day reads NHS Jobs in full. When it gets at least 95% of the jobs NHS Jobs says it has, delivered jobs missing from it are reported closed (past their closing date, or confirmed gone by their job reference). Other runs that day ask NHS Jobs only for jobs published since the last run.
  - A job missing for any other reason is checked again later. If a job list looks incomplete, no closings are reported that run.
- **Staff contact details removed by default.** Descriptions often name a staff member with their email and phone number. Personal emails and all phone numbers are replaced with `[email removed]` and `[phone removed]`; role mailboxes such as `office@` or `recruitment@` stay. NHS rows are always redacted, even with this switched off, and NHS advert pages, which name a contact person, are never read: NHS rows come from NHS Jobs' search API only.
- Descriptions as Markdown (default), plain text, the published HTML, or none.

### Input

| Field | What it does |
|---|---|
| Sources | Teaching Vacancies, NHS Jobs, or both. Left out: Teaching Vacancies only (as before NHS Jobs was added). |
| Keywords, Match keywords in, Exclude keywords | Keep or drop jobs by words in the title (or title and description). `teach` matches teacher and teaching; `"art"` in quotes matches the whole word only. |
| Role categories | School roles (teacher, teaching assistant, headteacher, SENCO and 17 more) and NHS staff groups (nursing and midwifery, medical and dental, allied health professionals and 6 more). Only school roles skips NHS Jobs; only NHS staff groups skips Teaching Vacancies. |
| NHS pay bands, Look up NHS pay bands | NHS jobs in these bands only (asked of NHS Jobs' own band filter). The lookup (on by default) gives every NHS row its band; off saves about 70 requests a full pull, and the band then comes only from the advert title. |
| Regions, Towns or areas, Postcode prefixes | Region of England (school jobs only: NHS Jobs gives no region, so setting Regions skips NHS Jobs); whole-word match on town, region, street or employer; postcode area (`RG`), outward code (`RG17`) or longer prefix (`RG17 0`). |
| Working patterns | Full time, part time, temporary. A job can offer several. For NHS jobs these are asked of NHS Jobs' filters (temporary = fixed-term, locum and secondment contracts). |
| Only jobs with pay figures, Minimum yearly pay (GBP) | Pay filters. Minimum yearly pay drops jobs without a yearly figure (hourly, negotiable and scale-only jobs). |
| Posted since | A date (`2026-11-01`) or relative (`7 days`). Recent-jobs runs are fast on both sources. |
| Maximum jobs | Stop after this many jobs (0 = all). With two sources the limit is shared equally in the order listed, and room one source leaves goes to the other (a source that reached its share reads on; rows already sent are never sent or charged twice). |
| Fill gaps in the official paging | Teaching Vacancies only. On by default. Off reads pages only: about 2 minutes, about 88% of school jobs. |
| Monitor mode, Monitor state name | New jobs only, with closed-job rows. Each saved task keeps its own memory. |
| Description format | Markdown, text, HTML, all, or none. |
| Remove staff emails and phone numbers | On by default. Off applies to school jobs only: NHS rows are always redacted. |

Examples:

```json
{"sources": ["nhsJobs"], "categories": ["nursing_and_midwifery_regd"], "nhsPayBands": ["BAND_5", "BAND_6"], "postcodePrefixes": ["LS", "BD"]}
```

```json
{"sources": ["teachingVacancies", "nhsJobs"], "keywords": ["administrator", "receptionist"], "monitorMode": "new"}
```

```json
{"keywords": ["maths"], "regions": ["London"], "postedSince": "7 days"}
```

### Pricing

Pay per job delivered: **$0.50 per 1,000 jobs** ($0.0005 per job). Closed-job rows in monitor mode are free. A full pull of all live jobs is about 6,900 school jobs and 11,500 NHS jobs. Set a maximum charge per run in the run options to cap spending; the run stops cleanly when it is reached and the SUMMARY record says so.

### How long a run takes

The Actor reads each service at one request per second, one request at a time, as a courtesy to public services.

- Recent jobs (`postedSince` a few days, or a keyword with a job limit): under a minute per source.
- Every live school job with gaps filled: about 15 minutes (the skipped jobs, about 800, are fetched one at a time).
- Every live NHS job: about 4.5 minutes (about 195 requests, 75 of them for the pay-band lookup).
- Monitor run, day to day: school jobs usually under a minute. NHS jobs: about 11 requests (15 seconds) when nothing is new, plus 18 for pay bands when something is; the first run of each day reads NHS Jobs in full (about 120 requests, under 3 minutes, plus 18 for the new jobs' bands). The first monitor run is a full pull, and so is the run after one that stopped early (job limit, charge limit or timeout).
- A run capped at up to 1,000 NHS jobs looks up the bands of the first staff group only (18 requests), and of all the other groups at once (about 18 more) if it reads on.

### Run summary

The key-value store record `SUMMARY` has one entry per source: pages read, duplicates dropped, skipped jobs fetched, jobs delivered and closed, the NHS pay-band lookup, each source's share of the job limit, any notes (for example "stopped at your job limit") and the attribution lines.

### Data sources and licence

- **Teaching Vacancies:** data comes from its API and sitemap, which the Department for Education publishes for reuse. Contains public sector information licensed under the Open Government Licence v3.0. Every school row carries this attribution in `license` and `attribution`; keep it with the data when you republish it. The source's terms add one condition: you must not charge candidates a fee or commission for contacting, interviewing or hiring them. This Actor charges you for data access only.
- **NHS Jobs:** data comes from NHS Jobs' public search API, which NHSBSA publishes for developers to embed results or "make use of the data in some other way". It states no licence, so NHS rows have `license` null. Every NHS row carries `attribution` ("Source: NHS Jobs (jobs.nhs.uk), NHS Business Services Authority.") and links to its advert on jobs.nhs.uk; keep both with the data when you show or republish it, and check NHS Jobs' own terms for your use.
- If NHS Jobs ever has to be switched off in this Actor, runs that ask for it still finish successfully: they read the other sources you chose, and a run that asked for NHS Jobs alone delivers 0 jobs (nothing is charged). The log and the SUMMARY record say so.

### Limits

- Teaching Vacancies covers schools, academies and colleges in England; independent schools appear only if they list there. NHS Jobs covers NHS employers in England and Wales and some health and care employers that use it.
- Pay figures come from the employer's own text. Pay scales without figures ("MPS1-UPS3") and "Negotiable" give no numbers; the text is always kept.
- About 5% of school jobs give no region; they are dropped when you filter by region. NHS jobs have no region: use postcode prefixes or towns.
- NHS Jobs' feed gives only the first lines of each advert's introduction (about 150 characters) as the description.
- About 44% of NHS jobs are filed under no pay band, so `payBand` is null for them unless the advert title names one.
- `workingPatterns` is filled only when you filter by working pattern, because NHS Jobs gives it only as a filter. `workplaceType` stays empty: neither source says whether a job is on site or remote.
- NHS Jobs moves an advert's posting date when it is updated and re-published; a monitor never re-sends a job it already delivered.

This Actor's code was written with the help of AI.

# Actor input Schema

## `sources` (type: `array`):

Job services to read. Teaching Vacancies (Department for Education): state schools, academies and colleges in England. NHS Jobs (NHS Business Services Authority): NHS and health jobs in England and Wales. Left out: Teaching Vacancies only.

## `keywords` (type: `array`):

Keep jobs whose title (or title and description, see below) contains any of these words. Words match from their start: teach matches teacher and teaching. Put a word in double quotes to match it whole. Empty keeps all.

## `keywordsIn` (type: `string`):

Where keywords are searched. NHS Jobs gives only the first lines of each advert's introduction as its description.

## `excludeKeywords` (type: `array`):

Drop jobs whose title contains any of these words, e.g. cover, supply.

## `categories` (type: `array`):

Keep only these role categories: school roles (Teaching Vacancies) and NHS staff groups (NHS Jobs). Choosing only school roles skips NHS Jobs, and choosing only NHS staff groups skips Teaching Vacancies. Empty keeps all.

## `nhsPayBands` (type: `array`):

NHS Jobs only: keep NHS jobs in these pay bands (Agenda for Change bands and medical grades, as NHS Jobs files them). About 44% of NHS jobs have no band and are dropped when this is set. Teaching Vacancies jobs are not affected.

## `nhsPayBandLookup` (type: `boolean`):

NHS Jobs' feed has no pay band field, only a band filter. On: the Actor reads its 18 band lists once per run so every NHS row gets payBand (about 70 extra requests, about 75 seconds on a full pull; seconds with Posted since or in monitor mode). Off: payBand only when the advert's title names the band.

## `regions` (type: `array`):

Keep only jobs in these regions of England. Jobs with no region given (about 5% of school jobs) are dropped when this is set. NHS Jobs gives no region, so setting this skips NHS Jobs: use Postcode prefixes or Towns for NHS jobs. Empty keeps all.

## `locations` (type: `array`):

Keep jobs whose town, region, street address or employer name contains any of these as a whole word, e.g. Leeds, Croydon. Case-insensitive. Empty keeps all.

## `postcodePrefixes` (type: `array`):

Keep jobs whose postcode starts with any of these. Letters only (RG) match the postcode area, an outward code (RG17, SW1A) matches exactly, and a longer prefix with a space (RG17 0) matches the start of the full postcode.

## `employmentTypes` (type: `array`):

Keep jobs that offer any of these patterns. A job can offer several (full time and part time). For NHS Jobs these are asked of its own filters: full time and part time from working pattern, temporary from fixed-term, locum and secondment contracts. Empty keeps all.

## `requireSalary` (type: `boolean`):

Keep only jobs whose pay text has readable figures (pay scales alone such as MPS1-UPS3 have none).

## `minYearlySalary` (type: `integer`):

Keep jobs whose yearly pay reaches at least this at the top of the range. Only yearly and monthly pay has a yearly figure, so hourly jobs and jobs without figures are dropped.

## `postedSince` (type: `string`):

Keep jobs published on or after this date: a date such as 2026-11-01, or relative such as 7 days. Reading stops at older pages (NHS Jobs: only newer jobs are asked for), so this also makes runs faster.

## `maxJobs` (type: `integer`):

Stop after delivering this many jobs. 0 means no limit. With several sources the limit is shared equally in the order listed, and room one source leaves goes to the others. Closed-job rows in monitor mode do not count.

## `completeListing` (type: `boolean`):

Teaching Vacancies only. Its API sorts only by posting date, so its pages repeat some jobs and skip others (about 1 in 8). On: skipped jobs are found in the site's sitemap and fetched one by one, so you get every live job (a full run takes about 15 minutes). Off: pages only, about 2 minutes, about 88% of jobs.

## `monitorMode` (type: `string`):

New jobs only: each run returns only jobs this monitor has not delivered before, plus a free row (changeType closed) for each delivered job that is no longer listed. Schedule the Actor daily to get a feed of new jobs. NHS Jobs closings are checked with one full read a day.

## `stateName` (type: `string`):

Name for this monitor's memory. Each saved task gets its own by default; give a new name to start fresh, or the same name to share one memory between tasks.

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

How to return the job description.

## `redactPersonalData` (type: `boolean`):

Descriptions often name staff with their email and phone. On (default): personal emails and all phone numbers are replaced with \[email removed] / \[phone removed]; school role mailboxes such as office@ or recruitment@ stay. Off: school job descriptions exactly as published; NHS Jobs rows are always redacted.

## Actor input object example

```json
{
  "sources": [
    "teachingVacancies",
    "nhsJobs"
  ],
  "keywords": [
    "maths",
    "nurse",
    "\"SENCO\""
  ],
  "keywordsIn": "title",
  "nhsPayBandLookup": true,
  "locations": [
    "Leeds",
    "Croydon"
  ],
  "postcodePrefixes": [
    "RG",
    "SW1A",
    "M14"
  ],
  "requireSalary": false,
  "maxJobs": 50,
  "completeListing": true,
  "monitorMode": "off",
  "descriptionFormat": "markdown",
  "redactPersonalData": true
}
```

# Actor output Schema

## `jobs` (type: `string`):

One item per job posting in one schema.

## `summary` (type: `string`):

JSON record: pages read, duplicates dropped, skipped jobs fetched, jobs delivered and closed, notes and the attribution line.

# 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 = {
    "sources": [
        "teachingVacancies",
        "nhsJobs"
    ],
    "keywords": [
        "assistant"
    ],
    "maxJobs": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("rivetfinch/uk-jobs-feed").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 = {
    "sources": [
        "teachingVacancies",
        "nhsJobs",
    ],
    "keywords": ["assistant"],
    "maxJobs": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("rivetfinch/uk-jobs-feed").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 '{
  "sources": [
    "teachingVacancies",
    "nhsJobs"
  ],
  "keywords": [
    "assistant"
  ],
  "maxJobs": 50
}' |
apify call rivetfinch/uk-jobs-feed --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rivetfinch/uk-jobs-feed"
        }
    }
}
```

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/Ln109j0V7bncXhUSM/builds/RKr6N3KbhStyWfxzt/openapi.json
