{
  "openapi": "3.0.1",
  "info": {
    "title": "🚀 Totaljobs Scraper · 5,000 Free Jobs/Month",
    "description": "Totaljobs Scraper gets you UK jobs ⚡ fast, 🎯 100% accurate and 🔍 ridiculously detailed — salaries, full ads, employers & ratings from totaljobs.com. 💰 $1 per 1,000 jobs, no start fee. Scrape your first 5,000 jobs free every month 🚀",
    "version": "0.0",
    "x-build-id": "1ESZm8cBVngk2lBgZ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/omkar-cloud~totaljobs-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-omkar-cloud-totaljobs-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/omkar-cloud~totaljobs-scraper/runs": {
      "post": {
        "operationId": "runs-sync-omkar-cloud-totaljobs-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/omkar-cloud~totaljobs-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-omkar-cloud-totaljobs-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": {
          "searchQueries": {
            "title": "🔍 Search keywords",
            "type": "array",
            "description": "Job titles, skills or employers to search Totaljobs for — one search per line, e.g. \"software engineer\" or \"nurse\". Leave empty and set a Location to get every job there.",
            "items": {
              "type": "string"
            }
          },
          "companies": {
            "title": "🏢 Employers",
            "type": "array",
            "description": "Scrape every live job of these employers: a name (\"tesco\"), a Totaljobs company ID (1226370) or a company link (https://www.totaljobs.com/jobs-at/tesco). The filters below apply too.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "🔗 Totaljobs links",
            "type": "array",
            "description": "Job links (scraped with full details), or search-result and company links from totaljobs.com (every job on the page, with the page's own filters). Tip: set every filter on totaljobs.com and paste the result link here.",
            "items": {
              "type": "string"
            }
          },
          "location": {
            "title": "📍 Location",
            "type": "string",
            "description": "Where to search, as typed in Totaljobs' \"Where\" box: \"London\", \"Manchester\", \"Leeds\", \"Scotland\"."
          },
          "radius": {
            "title": "📏 Radius (miles)",
            "minimum": 0,
            "maximum": 200,
            "type": "integer",
            "description": "Search radius around Location, in miles. Leave empty for Totaljobs' default of 10 miles."
          },
          "sortBy": {
            "title": "↕️ Sort by",
            "enum": [
              "relevance",
              "date"
            ],
            "type": "string",
            "description": "Totaljobs' own relevance ranking, or newest first.",
            "default": "relevance"
          },
          "postedWithin": {
            "title": "📅 Posted within",
            "enum": [
              "1_day",
              "3_days",
              "7_days",
              "14_days"
            ],
            "type": "string",
            "description": "Only jobs posted in this window. A few searches run on Totaljobs' newer search engine, which can't filter by date — those searches are skipped with a message; use Newest first instead."
          },
          "remote": {
            "title": "🏠 Work from home",
            "enum": [
              "full",
              "none"
            ],
            "type": "string",
            "description": "Only work-from-home jobs, or only office-based ones."
          },
          "jobType": {
            "title": "📝 Job type",
            "enum": [
              "permanent",
              "contract",
              "temporary",
              "part_time",
              "work_from_home"
            ],
            "type": "string",
            "description": "Type of contract or hours."
          },
          "salaryMin": {
            "title": "💷 Minimum salary (£ a year)",
            "minimum": 1,
            "type": "integer",
            "description": "Minimum yearly salary in GBP, e.g. 50000."
          },
          "maxResultsPerSearch": {
            "title": "🔢 Max jobs per search",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Stop each search, employer or link after this many jobs (Totaljobs serves up to 5,000 per search). Caps your cost: 1,000 jobs ≈ $1.",
            "default": 100
          },
          "scrapeJobDetails": {
            "title": "📄 Scrape full job details",
            "type": "boolean",
            "description": "Also fetch each job's full ad: every section, contract type, hybrid flag, coordinates, employer rating and similar jobs. $2 per 1,000 detailed jobs instead of $1.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}