{
  "openapi": "3.0.1",
  "info": {
    "title": "UK School Jobs & Hiring Schools – Teaching Vacancies (DfE)",
    "description": "Every live job on the DfE's Teaching Vacancies service for England's schools: teacher, TA, support and leadership roles with school URN, salary, closing date and postcode. Filter by keyword, region or postcode, or list schools hiring now. No API key.",
    "version": "1.0",
    "x-build-id": "km6sjKQlcQBDJso2n"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/ukdatakit~uk-teaching-vacancies/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-ukdatakit-uk-teaching-vacancies",
        "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/ukdatakit~uk-teaching-vacancies/runs": {
      "post": {
        "operationId": "runs-sync-ukdatakit-uk-teaching-vacancies",
        "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/ukdatakit~uk-teaching-vacancies/run-sync": {
      "post": {
        "operationId": "run-sync-ukdatakit-uk-teaching-vacancies",
        "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": {
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Match any of these words in the job title or school name, e.g. \"maths\", \"SENCO\", \"teaching assistant\". Leave empty for all jobs.",
            "items": {
              "type": "string"
            }
          },
          "searchInDescription": {
            "title": "Also search the job description",
            "type": "boolean",
            "description": "Match keywords in the full advert text as well as the title.",
            "default": false
          },
          "regions": {
            "title": "Regions",
            "type": "array",
            "description": "Only jobs in these English regions.",
            "items": {
              "type": "string",
              "enum": [
                "East Midlands",
                "East of England",
                "London",
                "North East",
                "North West",
                "South East",
                "South West",
                "West Midlands",
                "Yorkshire and the Humber"
              ]
            }
          },
          "towns": {
            "title": "Towns or cities",
            "type": "array",
            "description": "Only jobs whose town contains one of these, e.g. \"Leeds\".",
            "items": {
              "type": "string"
            }
          },
          "postcodePrefixes": {
            "title": "Postcode prefixes",
            "type": "array",
            "description": "Only jobs whose school postcode starts with one of these, e.g. \"M\", \"LS6\", \"BS8 1\".",
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "title": "Job categories",
            "type": "array",
            "description": "Only these Teaching Vacancies categories.",
            "items": {
              "type": "string",
              "enum": [
                "teacher",
                "teaching_assistant",
                "higher_level_teaching_assistant",
                "education_support",
                "sendco",
                "headteacher",
                "deputy_headteacher",
                "assistant_headteacher",
                "head_of_department_or_curriculum",
                "head_of_year_or_phase",
                "other_leadership",
                "leadership_and_management",
                "administration_hr_data_and_finance",
                "catering_cleaning_and_site_management",
                "it_support",
                "pastoral_health_and_welfare",
                "marketing_and_communications",
                "other_support"
              ],
              "enumTitles": [
                "Teacher",
                "Teaching assistant",
                "HLTA",
                "Education support",
                "SENCO",
                "Headteacher",
                "Deputy headteacher",
                "Assistant headteacher",
                "Head of department or curriculum",
                "Head of year or phase",
                "Other leadership",
                "Leadership and management",
                "Admin, HR, data and finance",
                "Catering, cleaning and site management",
                "IT support",
                "Pastoral, health and welfare",
                "Marketing and communications",
                "Other support"
              ]
            }
          },
          "employmentTypes": {
            "title": "Working pattern",
            "type": "array",
            "description": "Only full-time, part-time or temporary roles.",
            "items": {
              "type": "string",
              "enum": [
                "FULL_TIME",
                "PART_TIME",
                "TEMPORARY"
              ],
              "enumTitles": [
                "Full time",
                "Part time",
                "Temporary / fixed term"
              ]
            }
          },
          "postedWithinDays": {
            "title": "Posted in the last N days",
            "minimum": 0,
            "maximum": 365,
            "type": "integer",
            "description": "Only jobs posted in the last N days. Leave empty for every live job."
          },
          "closingWithinDays": {
            "title": "Closing in the next N days",
            "minimum": 0,
            "maximum": 365,
            "type": "integer",
            "description": "Only jobs whose closing date is within the next N days."
          },
          "minSalary": {
            "title": "Minimum salary (£ a year)",
            "minimum": 0,
            "type": "integer",
            "description": "Only jobs whose advertised top salary is at least this much. Jobs that don't state a salary are dropped when this is set."
          },
          "outputType": {
            "title": "Output",
            "enum": [
              "jobs",
              "schools"
            ],
            "type": "string",
            "description": "One row per job, or one row per school that is hiring (with its open roles and closing dates). The school list scans every matching job, so it ignores the max-results stop for jobs.",
            "default": "jobs"
          },
          "includeDescription": {
            "title": "Include the full job description",
            "type": "boolean",
            "description": "Adds the advert text (HTML stripped) to each job.",
            "default": false
          },
          "onlyNewJobs": {
            "title": "Only jobs not seen in earlier runs",
            "type": "boolean",
            "description": "Remembers jobs between runs (per watchlist name) so a scheduled run returns only new vacancies. The first run returns everything that matches and saves a baseline.",
            "default": false
          },
          "watchlistName": {
            "title": "Watchlist name (only-new mode)",
            "type": "string",
            "description": "Use a different name for each saved search you schedule.",
            "default": "default"
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Stop after this many rows.",
            "default": 100
          },
          "maxPages": {
            "title": "Max API pages",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Safety cap. Each page holds 100 jobs; about 55 pages cover every live job.",
            "default": 100
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}