{
  "openapi": "3.0.1",
  "info": {
    "title": "CV-Library UK Vacancy Finder by Industry & Location",
    "description": "Find live UK job vacancies on CV-Library by keyword and city, or by browsing an industry sector, with salary, company, location and a direct apply link.",
    "version": "1.0",
    "x-build-id": "2VyGhVi2FBSu14auU"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dataspryva~cv-library-uk-vacancy-finder-by-industry/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dataspryva-cv-library-uk-vacancy-finder-by-industry",
        "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/dataspryva~cv-library-uk-vacancy-finder-by-industry/runs": {
      "post": {
        "operationId": "runs-sync-dataspryva-cv-library-uk-vacancy-finder-by-industry",
        "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/dataspryva~cv-library-uk-vacancy-finder-by-industry/run-sync": {
      "post": {
        "operationId": "run-sync-dataspryva-cv-library-uk-vacancy-finder-by-industry",
        "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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "What to scrape",
            "enum": [
              "searchJobs",
              "searchByIndustry",
              "searchByUrl"
            ],
            "type": "string",
            "description": "Search by keyword and location, browse one industry sector, or scrape specific CV-Library URLs.",
            "default": "searchJobs"
          },
          "query": {
            "title": "Search keywords",
            "type": "string",
            "description": "Job title, skill or phrase for mode=searchJobs, for example 'software developer' or 'registered nurse'.",
            "default": "software developer"
          },
          "location": {
            "title": "UK location",
            "type": "string",
            "description": "Town, city, county or postcode, for example 'London', 'Manchester' or 'M1'. Leave blank for UK-wide results.",
            "default": "London"
          },
          "industry": {
            "title": "Industry sector",
            "enum": [
              "it",
              "engineering",
              "finance",
              "healthcare",
              "sales",
              "marketing",
              "hr",
              "legal",
              "construction",
              "education",
              "logistics",
              "hospitality",
              "admin",
              "manufacturing",
              "retail",
              "customer-service",
              "social-care",
              "accounting",
              "design",
              "media",
              "science",
              "pharmaceutical",
              "energy",
              "automotive",
              "property",
              "recruitment",
              "training",
              "public-sector",
              "charity",
              "leisure",
              "travel",
              "call-centre",
              "secretarial",
              "graduate",
              "apprenticeships"
            ],
            "type": "string",
            "description": "Sector to browse for mode=searchByIndustry. The location field still narrows it when set.",
            "default": "it"
          },
          "startUrls": {
            "title": "CV-Library URLs",
            "type": "array",
            "description": "For mode=searchByUrl: paste CV-Library search, industry or job URLs, for example 'https://www.cv-library.co.uk/software-developer-jobs-in-london'.",
            "items": {
              "type": "object"
            },
            "default": []
          },
          "jobType": {
            "title": "Job type",
            "enum": [
              "",
              "permanent",
              "contract",
              "temporary",
              "part-time",
              "full-time",
              "apprenticeship"
            ],
            "type": "string",
            "description": "Keep only one employment type. CV-Library does not allow filter query strings for anonymous clients, so the actor filters matches itself.",
            "default": ""
          },
          "remoteOnly": {
            "title": "Remote jobs only",
            "type": "boolean",
            "description": "Use CV-Library's remote search path and keep only remote or work-from-home listings.",
            "default": false
          },
          "postedWithinDays": {
            "title": "Posted within",
            "enum": [
              "0",
              "1",
              "3",
              "7",
              "14",
              "30"
            ],
            "type": "string",
            "description": "Keep jobs posted in this many days. 0 means any date.",
            "default": "0"
          },
          "salaryMin": {
            "title": "Minimum salary (GBP)",
            "minimum": 0,
            "maximum": 500000,
            "type": "integer",
            "description": "Annual salary floor in pounds. Hourly, daily and weekly pay is annualised before comparison. Listings without a parseable salary are excluded when either salary bound is set."
          },
          "salaryMax": {
            "title": "Maximum salary (GBP)",
            "minimum": 0,
            "maximum": 500000,
            "type": "integer",
            "description": "Annual salary ceiling in pounds. Applied to the annualised range."
          },
          "sortBy": {
            "title": "Sort results",
            "enum": [
              "relevance",
              "newest",
              "salaryHigh",
              "salaryLow"
            ],
            "type": "string",
            "description": "Sort the jobs collected for this run before they are saved.",
            "default": "relevance"
          },
          "includeDetails": {
            "title": "Fetch full job details",
            "type": "boolean",
            "description": "Open each job page for the full description and structured pay fields. Turn off for a faster listing-only run.",
            "default": true
          },
          "maxItems": {
            "title": "Maximum jobs",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Hard cap on saved job records.",
            "default": 50
          },
          "maxPages": {
            "title": "Maximum result pages",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Safety cap on result pages fetched per search. Raise it to reach deeper results; 20 jobs are shown per page.",
            "default": 50
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}