{
  "openapi": "3.0.1",
  "info": {
    "title": "SmartRecruiters Jobs Scraper",
    "description": "Pull every active SmartRecruiters job from any company in one run — titles, geocoded locations, departments, functions, employment types, custom HR fields, full descriptions, apply URLs. Multi-company batching, server-side country/city/keyword filters, optional description enrichment.",
    "version": "0.1",
    "x-build-id": "CJDayqVyl6OvACd7o"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/schnellscrapers~smartrecruiters-jobs-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-schnellscrapers-smartrecruiters-jobs-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/schnellscrapers~smartrecruiters-jobs-scraper/runs": {
      "post": {
        "operationId": "runs-sync-schnellscrapers-smartrecruiters-jobs-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/schnellscrapers~smartrecruiters-jobs-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-schnellscrapers-smartrecruiters-jobs-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",
        "required": [
          "companies"
        ],
        "properties": {
          "companies": {
            "title": "SmartRecruiters companies",
            "type": "array",
            "description": "Companies to pull jobs from. Paste the company slug (e.g. `BoschGroup`, `Visa`, `Sodexo`, `Continental`, `Wayfair`) or any SmartRecruiters URL — `https://jobs.smartrecruiters.com/BoschGroup`, `https://careers.smartrecruiters.com/BoschGroup`. The slug is the case-sensitive path segment after the host.",
            "items": {
              "type": "string"
            }
          },
          "keyword": {
            "title": "Keyword (server-side)",
            "type": "string",
            "description": "Search keyword applied at the SmartRecruiters API (e.g. `engineer`, `nurse`). The API runs a relevance search across title and description, so this is the cheapest way to narrow large companies before billing. Combine with the client-side title/description filters below for further refinement."
          },
          "country": {
            "title": "Country (server-side)",
            "type": "string",
            "description": "ISO 3166-1 alpha-2 country code, lowercase (e.g. `us`, `de`, `fr`, `in`, `gb`). Applied at the SmartRecruiters API — much cheaper than pulling everything and filtering client-side."
          },
          "region": {
            "title": "Region (server-side)",
            "type": "string",
            "description": "Region or state name as SmartRecruiters reports it (e.g. `California`, `Bavaria`). Server-side phrase match — case-sensitive on the SR side."
          },
          "city": {
            "title": "City (server-side)",
            "type": "string",
            "description": "City name (e.g. `Berlin`, `Austin`). Server-side phrase match. For broader geographic filters, use `region` or `country` instead."
          },
          "recentlyPublished": {
            "title": "Recently published only",
            "type": "boolean",
            "description": "Ask SmartRecruiters to return only recently-published jobs (per SR's own freshness threshold). For finer date control use the `postedAfter` client-side filter below.",
            "default": false
          },
          "titleFilter": {
            "title": "Title includes",
            "type": "array",
            "description": "Case-insensitive substring match against the job title. A record is kept if any term matches (e.g. `engineer`, `designer`).",
            "items": {
              "type": "string"
            }
          },
          "titleExcludeFilter": {
            "title": "Title excludes",
            "type": "array",
            "description": "Drop jobs whose title contains any of these substrings (e.g. `senior`, `manager`, `intern`).",
            "items": {
              "type": "string"
            }
          },
          "departmentFilter": {
            "title": "Department includes",
            "type": "array",
            "description": "Substring match against the SmartRecruiters `department.label` (e.g. `engineering`, `finance`, `r&d`). Companies define their own department taxonomy — inspect a few records to learn the labels.",
            "items": {
              "type": "string"
            }
          },
          "functionFilter": {
            "title": "Function includes",
            "type": "array",
            "description": "Substring match against the SmartRecruiters `function.label` (e.g. `information technology`, `sales`, `human resources`). Function is a standardised top-level SR taxonomy — more portable across employers than department.",
            "items": {
              "type": "string"
            }
          },
          "industryFilter": {
            "title": "Industry includes",
            "type": "array",
            "description": "Substring match against `industry.label` (e.g. `automotive`, `food and beverages`, `information technology and services`). Useful for multi-brand employers where one slug spans several industries.",
            "items": {
              "type": "string"
            }
          },
          "experienceLevels": {
            "title": "Experience levels",
            "type": "array",
            "description": "Keep only jobs whose seniority matches. Matched against `experienceLevel.label`. Common SR values: Internship, Entry-Level, Associate, Mid-Senior Level, Director, Executive, Not Applicable.",
            "items": {
              "type": "string"
            }
          },
          "employmentTypes": {
            "title": "Employment types",
            "type": "array",
            "description": "Keep only jobs whose contract type matches. Matched against `typeOfEmployment.label`. Common SR values: Full-time, Part-time, Contract, Temporary, Internship, Other.",
            "items": {
              "type": "string"
            }
          },
          "customFieldFilter": {
            "title": "Custom field match",
            "type": "array",
            "description": "Filter by employer-specific custom fields. Each entry needs a `field` (the field label, e.g. `Working hours`, `Brand`, `Contract type`) and an optional `value` (substring match against the value label). A record passes only if every entry matches.",
            "default": []
          },
          "postedAfter": {
            "title": "Only jobs released after",
            "type": "string",
            "description": "ISO 8601 date or timestamp (e.g. `2026-05-01` or `2026-05-01T00:00:00Z`). Drops jobs whose `releasedDate` is older. Leave blank to keep every active job."
          },
          "remoteOnly": {
            "title": "Remote only",
            "type": "boolean",
            "description": "Keep only jobs where SmartRecruiters has flagged `location.remote = true`. Note: some employers mark hybrid roles as remote — review a sample before relying on this filter.",
            "default": false
          },
          "descriptionContains": {
            "title": "Description contains",
            "type": "array",
            "description": "Substring match against the job description body (e.g. `python`, `kubernetes`, `visa sponsorship`). Auto-enables `includeDescription` (which adds one detail fetch per shortlisted job).",
            "items": {
              "type": "string"
            }
          },
          "includeDescription": {
            "title": "Include full job description",
            "type": "boolean",
            "description": "Costs one extra HTTP request per emitted job. Fetches the SmartRecruiters detail endpoint for each shortlisted job and populates `descriptionSections`, `descriptionHtml`, `postingUrl`, `applyUrl`, and `referralUrl`. Leave off if you only need titles, locations, and metadata.",
            "default": false
          },
          "parseDescription": {
            "title": "Also produce plain-text description",
            "type": "boolean",
            "description": "When `includeDescription` is on, also output `descriptionText` with HTML stripped and entities decoded. Useful for downstream search, embeddings, or LLM ingestion.",
            "default": false
          },
          "maxItems": {
            "title": "Maximum records (total)",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Hard cap on total records emitted across all companies. Useful for cost-bounded test runs. Leave at 0 to emit every matching job.",
            "default": 0
          },
          "maxItemsPerCompany": {
            "title": "Maximum records per company",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Per-company cap on emitted records. Useful when a single large employer (Bosch has 4,000+ open postings) would dominate a multi-company run. Leave at 0 to emit every matching job from each company.",
            "default": 0
          },
          "dryRun": {
            "title": "Dry run",
            "type": "boolean",
            "description": "Fetch and parse the companies but do not write to the dataset. Use to preview without spending credits.",
            "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}