{
  "openapi": "3.0.1",
  "info": {
    "title": "UK Public Sector Jobs Feed: NHS Jobs + Teaching Vacancies",
    "description": "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.",
    "version": "1.1",
    "x-build-id": "RKr6N3KbhStyWfxzt"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/rivetfinch~uk-jobs-feed/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-rivetfinch-uk-jobs-feed",
        "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/rivetfinch~uk-jobs-feed/runs": {
      "post": {
        "operationId": "runs-sync-rivetfinch-uk-jobs-feed",
        "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/rivetfinch~uk-jobs-feed/run-sync": {
      "post": {
        "operationId": "run-sync-rivetfinch-uk-jobs-feed",
        "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": {
          "sources": {
            "title": "Sources",
            "type": "array",
            "description": "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.",
            "items": {
              "type": "string",
              "enum": [
                "teachingVacancies",
                "nhsJobs"
              ],
              "enumTitles": [
                "Teaching Vacancies (England, DfE)",
                "NHS Jobs (England and Wales, NHSBSA)"
              ]
            },
            "default": [
              "teachingVacancies"
            ]
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "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.",
            "items": {
              "type": "string"
            }
          },
          "keywordsIn": {
            "title": "Match keywords in",
            "enum": [
              "title",
              "titleAndDescription"
            ],
            "type": "string",
            "description": "Where keywords are searched. NHS Jobs gives only the first lines of each advert's introduction as its description.",
            "default": "title"
          },
          "excludeKeywords": {
            "title": "Exclude keywords",
            "type": "array",
            "description": "Drop jobs whose title contains any of these words, e.g. cover, supply.",
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "title": "Role categories",
            "type": "array",
            "description": "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.",
            "items": {
              "type": "string",
              "enum": [
                "teacher",
                "teaching_assistant",
                "higher_level_teaching_assistant",
                "headteacher",
                "deputy_headteacher",
                "assistant_headteacher",
                "head_of_department_or_curriculum",
                "head_of_year_or_phase",
                "sendco",
                "other_leadership",
                "leadership_and_management",
                "education_support",
                "student_support_learning_and_progress",
                "pastoral_health_and_welfare",
                "administration_hr_data_and_finance",
                "business_support_administration_and_corporate_services",
                "it_support",
                "marketing_and_communications",
                "catering_cleaning_and_site_management",
                "apprenticeships_and_commercial_services",
                "other_support",
                "clinical_services",
                "prof_scientific_and_technical",
                "administrative_and_clerical",
                "allied_health_prof",
                "estates_and_ancillary",
                "healthcare_scientists",
                "medical_and_dental",
                "nursing_and_midwifery_regd",
                "students"
              ],
              "enumTitles": [
                "Teacher",
                "Teaching assistant",
                "Higher level teaching assistant",
                "Headteacher",
                "Deputy headteacher",
                "Assistant headteacher",
                "Head of department or curriculum",
                "Head of year or phase",
                "SENCO",
                "Other leadership",
                "Leadership and management",
                "Education support",
                "Student support, learning and progress",
                "Pastoral, health and welfare",
                "Administration, HR, data and finance",
                "Business support and corporate services",
                "IT support",
                "Marketing and communications",
                "Catering, cleaning and site management",
                "Apprenticeships and commercial services",
                "Other support",
                "NHS: Additional clinical services",
                "NHS: Additional professional, scientific and technical",
                "NHS: Administrative and clerical",
                "NHS: Allied health professionals",
                "NHS: Estates and ancillary",
                "NHS: Healthcare scientists",
                "NHS: Medical and dental",
                "NHS: Nursing and midwifery registered",
                "NHS: Students"
              ]
            }
          },
          "nhsPayBands": {
            "title": "NHS pay bands",
            "type": "array",
            "description": "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.",
            "items": {
              "type": "string",
              "enum": [
                "BAND_2",
                "BAND_3",
                "BAND_4",
                "BAND_5",
                "BAND_6",
                "BAND_7",
                "BAND_8A",
                "BAND_8B",
                "BAND_8C",
                "BAND_8D",
                "BAND_9",
                "SPECIALTY_DOCTOR",
                "FOUNDATION_DOCTOR",
                "CONSULTANT",
                "SPECIALTY_REGISTRAR",
                "DOCTOR_OTHER",
                "SPECIALIST",
                "VERY_SENIOR_MANAGER"
              ],
              "enumTitles": [
                "Band 2",
                "Band 3",
                "Band 4",
                "Band 5",
                "Band 6",
                "Band 7",
                "Band 8a",
                "Band 8b",
                "Band 8c",
                "Band 8d",
                "Band 9",
                "Specialty doctor",
                "Foundation doctor",
                "Consultant",
                "Specialty registrar",
                "Doctor (other grade)",
                "Specialist",
                "Very senior manager"
              ]
            }
          },
          "nhsPayBandLookup": {
            "title": "Look up NHS pay bands",
            "type": "boolean",
            "description": "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.",
            "default": true
          },
          "regions": {
            "title": "Regions",
            "type": "array",
            "description": "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.",
            "items": {
              "type": "string",
              "enum": [
                "London",
                "South East",
                "South West",
                "East of England",
                "East Midlands",
                "West Midlands",
                "Yorkshire and the Humber",
                "North West",
                "North East"
              ]
            }
          },
          "locations": {
            "title": "Towns or areas",
            "type": "array",
            "description": "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.",
            "items": {
              "type": "string"
            }
          },
          "postcodePrefixes": {
            "title": "Postcode prefixes",
            "type": "array",
            "description": "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.",
            "items": {
              "type": "string"
            }
          },
          "employmentTypes": {
            "title": "Working patterns",
            "type": "array",
            "description": "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.",
            "items": {
              "type": "string",
              "enum": [
                "full_time",
                "part_time",
                "temporary"
              ],
              "enumTitles": [
                "Full time",
                "Part time",
                "Temporary / fixed term"
              ]
            }
          },
          "requireSalary": {
            "title": "Only jobs with pay figures",
            "type": "boolean",
            "description": "Keep only jobs whose pay text has readable figures (pay scales alone such as MPS1-UPS3 have none).",
            "default": false
          },
          "minYearlySalary": {
            "title": "Minimum yearly pay (GBP)",
            "minimum": 0,
            "type": "integer",
            "description": "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": {
            "title": "Posted since",
            "type": "string",
            "description": "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": {
            "title": "Maximum jobs",
            "minimum": 0,
            "type": "integer",
            "description": "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.",
            "default": 0
          },
          "completeListing": {
            "title": "Fill gaps in the official paging",
            "type": "boolean",
            "description": "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.",
            "default": true
          },
          "monitorMode": {
            "title": "Monitor mode",
            "enum": [
              "off",
              "new"
            ],
            "type": "string",
            "description": "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.",
            "default": "off"
          },
          "stateName": {
            "title": "Monitor state name",
            "type": "string",
            "description": "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": {
            "title": "Description format",
            "enum": [
              "markdown",
              "text",
              "html",
              "all",
              "none"
            ],
            "type": "string",
            "description": "How to return the job description.",
            "default": "markdown"
          },
          "redactPersonalData": {
            "title": "Remove staff emails and phone numbers",
            "type": "boolean",
            "description": "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.",
            "default": true
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}