{
  "openapi": "3.0.1",
  "info": {
    "title": "TheHub Nordic Startup Jobs by Role & Keyword",
    "description": "Search TheHub.io startup job listings by keyword, or browse by job role, and get job title, company, salary range, equity, location, remote status and a direct apply link for each listing.",
    "version": "1.0",
    "x-build-id": "SXn9d1Cb5fdeN2dpo"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/vexaloom-labs~thehub-nordic-startup-jobs-by-role-and-keyword/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-vexaloom-labs-thehub-nordic-startup-jobs-by-role-and-keyword",
        "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/vexaloom-labs~thehub-nordic-startup-jobs-by-role-and-keyword/runs": {
      "post": {
        "operationId": "runs-sync-vexaloom-labs-thehub-nordic-startup-jobs-by-role-and-keyword",
        "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/vexaloom-labs~thehub-nordic-startup-jobs-by-role-and-keyword/run-sync": {
      "post": {
        "operationId": "run-sync-vexaloom-labs-thehub-nordic-startup-jobs-by-role-and-keyword",
        "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",
              "browseByRole",
              "browseByCountry",
              "allJobs",
              "scrapeUrls"
            ],
            "type": "string",
            "description": "searchJobs — keyword search. browseByRole — one TheHub job role. browseByCountry — one country or remote. allJobs — every active listing. scrapeUrls — job URLs/ids and saved /jobs? search URLs.",
            "default": "searchJobs"
          },
          "searchQuery": {
            "title": "Search keyword",
            "type": "string",
            "description": "Keyword or job title to search for (mode=searchJobs). Case-insensitive; matches titles, companies and descriptions.",
            "default": "developer"
          },
          "role": {
            "title": "Job role",
            "enum": [
              "analyst",
              "backenddeveloper",
              "businessdevelopment",
              "customerservice",
              "customersuccess",
              "cxo",
              "datascience",
              "design",
              "devops",
              "engineer",
              "finance",
              "frontenddeveloper",
              "fullstackdeveloper",
              "humanresources",
              "legal",
              "marketing",
              "mobiledevelopment",
              "operations",
              "other",
              "productmanagement",
              "projectmanagement",
              "qualityassurance",
              "sales",
              "uxuidesigner"
            ],
            "type": "string",
            "description": "TheHub role filter. Required for browseByRole; optional extra filter for searchJobs, browseByCountry and allJobs."
          },
          "jobRole": {
            "title": "Legacy job role",
            "type": "string",
            "description": "Legacy role value from older saved tasks. Use the job role dropdown instead."
          },
          "country": {
            "title": "Country",
            "enum": [
              "DK",
              "FI",
              "IS",
              "NI",
              "NO",
              "EU",
              "SE",
              "REMOTE"
            ],
            "type": "string",
            "description": "Country filter. Required for browseByCountry; optional extra filter for searchJobs, browseByRole and allJobs. Choose Remote for remote-only jobs."
          },
          "positionType": {
            "title": "Job type",
            "enum": [
              "5b8e46b3853f039706b6ea73",
              "62e28180d8cca695ee60c98e",
              "5b8e46b3853f039706b6ea72",
              "5b8e46b3853f039706b6ea74",
              "5b8e46b3853f039706b6ea70",
              "5b8e46b3853f039706b6ea71",
              "5b8e46b3853f039706b6ea75"
            ],
            "type": "string",
            "description": "Employment type filter."
          },
          "remoteOnly": {
            "title": "Remote only",
            "type": "boolean",
            "description": "Only return remote-eligible jobs. Overrides the country filter.",
            "default": false
          },
          "paidOnly": {
            "title": "Paid jobs only",
            "type": "boolean",
            "description": "Hide unpaid roles.",
            "default": false
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "mostPopular",
              "newJobs"
            ],
            "type": "string",
            "description": "Most popular uses the last seven days of views; New jobs uses the posting date.",
            "default": "mostPopular"
          },
          "maxItems": {
            "title": "Max jobs",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Hard cap on the number of jobs saved to the dataset.",
            "default": 3
          },
          "urls": {
            "title": "Job or search URLs",
            "type": "array",
            "description": "Used by mode=scrapeUrls. Accepts TheHub job URLs (https://thehub.io/jobs/<id>), bare job ids, and saved search URLs (https://thehub.io/jobs?search=...).",
            "items": {
              "type": "string"
            }
          },
          "compact": {
            "title": "Compact output",
            "type": "boolean",
            "description": "Omit long job descriptions and company description/perks/gallery/video fields to keep rows small.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}