{
  "openapi": "3.0.1",
  "info": {
    "title": "Totaljobs Scraper - New UK Jobs & Salary Change Monitor",
    "description": "For recruiters, staffing agencies and job alerts: Totaljobs UK jobs with company, agency or direct, location, remote or on-site, contract type and posted date; salary as shown plus GBP amounts when readable. With monitor mode on, each run returns only new jobs, salary changes and removed jobs.",
    "version": "0.1",
    "x-build-id": "OfLsgOShrVTcjcYR2"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/neverempty~totaljobs-new-jobs-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-neverempty-totaljobs-new-jobs-monitor",
        "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/neverempty~totaljobs-new-jobs-monitor/runs": {
      "post": {
        "operationId": "runs-sync-neverempty-totaljobs-new-jobs-monitor",
        "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/neverempty~totaljobs-new-jobs-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-neverempty-totaljobs-new-jobs-monitor",
        "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": "Schedule it → get only new jobs, salary changes and removed jobs, with monitor mode on (below). Type what you would search on Totaljobs, for example nurse, data analyst, electrician; each keyword is searched in each location. All search fields empty = nurse jobs in the UK.",
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Locations",
            "type": "array",
            "description": "UK towns, cities, counties or postcode areas as you would type them on Totaljobs, for example London, Manchester, Kent, Leeds. Empty = the whole UK.",
            "items": {
              "type": "string"
            }
          },
          "workTypes": {
            "title": "Work type",
            "type": "array",
            "description": "Optional. Each work type is its own search, combined with the keywords and locations. Work from home covers the whole UK (the location is not applied to it). Empty = all work types.",
            "items": {
              "type": "string",
              "enum": [
                "permanent",
                "contract",
                "temporary",
                "part-time",
                "remote"
              ],
              "enumTitles": [
                "Permanent",
                "Contract",
                "Temporary",
                "Part time",
                "Work from home"
              ]
            }
          },
          "postedWithinDays": {
            "title": "Posted within",
            "enum": [
              "1",
              "3",
              "7",
              "14",
              "30"
            ],
            "type": "string",
            "description": "Optional. Return only jobs posted within this many days. Empty = any date."
          },
          "salaryMin": {
            "title": "Minimum salary (GBP)",
            "minimum": 1,
            "maximum": 10000000,
            "type": "integer",
            "description": "Optional. Return only jobs whose salary reads at or above this amount in pounds, for the period chosen below (for example 35000 per year, 250 per day, 18 per hour). Jobs with no readable salary are left out when this is set."
          },
          "salaryPeriod": {
            "title": "Salary period",
            "enum": [
              "year",
              "day",
              "hour"
            ],
            "type": "string",
            "description": "The period of the minimum salary. Empty = per year."
          },
          "searchUrls": {
            "title": "Totaljobs search URLs",
            "type": "array",
            "description": "Optional. Paste the address of a Totaljobs search results page, for example https://www.totaljobs.com/jobs/nurse/in-london. Each one is watched as its own search. Date and salary filters in the address are replaced by the fields above.",
            "items": {
              "type": "string"
            }
          },
          "maxResultsPerSearch": {
            "title": "Max jobs per search",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "How many jobs to return per search (1 to 2000), sorted newest first among the jobs read. Empty = 100. Above 100, a search with no work type is also read by each work type (up to about 600 jobs). In monitor mode: the most new jobs and changes per search per run; the rest come next run."
          },
          "includeJobDetails": {
            "title": "Add work arrangement and contract type",
            "type": "boolean",
            "description": "Open each returned job's page to add remote or on-site, permanent or contract, hours, town, postcode and closing date. Empty = yes. Turn it off for faster runs with the list fields only."
          },
          "includeEmployerType": {
            "title": "Add agency or direct employer",
            "type": "boolean",
            "description": "Add whether each company is a recruitment agency or a direct employer, as Totaljobs classes it. Empty = yes."
          },
          "monitorMode": {
            "title": "Monitor mode: only new jobs and changes",
            "type": "boolean",
            "description": "Schedule it → get only new jobs since the last run, jobs whose salary changed (with the previous salary) and jobs that were taken down. The first run returns the current jobs as the starting point."
          },
          "includeChanged": {
            "title": "Return salary changes",
            "type": "boolean",
            "description": "In monitor mode, return jobs you already received whose salary text changed, with the previous salary. Empty = yes."
          },
          "includeRemoved": {
            "title": "Return removed jobs",
            "type": "boolean",
            "description": "In monitor mode, return jobs you already received that are no longer listed (filled or taken down). Empty = yes."
          },
          "includeUnchanged": {
            "title": "Also return unchanged jobs",
            "type": "boolean",
            "description": "In monitor mode, also return jobs already received that did not change (each one is charged). Empty = no."
          },
          "watchName": {
            "title": "Watch name",
            "type": "string",
            "description": "Optional. Give each schedule its own name (letters, digits, dot, dash, underscore) so separate schedules keep separate memories. Empty = default."
          },
          "resetMonitoringState": {
            "title": "Start this watch again",
            "type": "boolean",
            "description": "Forget what this watch remembered, so this run is a first check again."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}