{
  "openapi": "3.0.1",
  "info": {
    "title": "StepStone Jobs Scraper (Search / Details / Contacts)",
    "description": "Scrape StepStone jobs by keyword, location, search URL, or job URL. HTTP-only, no browser. Includes pagination, full job details, salary/work model fields, company data, and public email/phone contact extraction.",
    "version": "0.1",
    "x-build-id": "0JuQVH9Lfqde9h8sw"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/trakk~stepstone-jobs-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-trakk-stepstone-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/trakk~stepstone-jobs-scraper/runs": {
      "post": {
        "operationId": "runs-sync-trakk-stepstone-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/trakk~stepstone-jobs-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-trakk-stepstone-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",
        "properties": {
          "keywords": {
            "title": "🔍 Job keyword(s)",
            "type": "array",
            "description": "One or more job searches, for example software developer, data engineer, product manager.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "location": {
            "title": "📍 Location",
            "type": "string",
            "description": "City or region slug, for example berlin, munich, deutschland. Leave empty for all locations.",
            "default": "berlin"
          },
          "maxItems": {
            "title": "💯 Number of jobs to extract",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum number of jobs to save across the whole run.",
            "default": 5
          },
          "mode": {
            "title": "🧭 Input type",
            "enum": [
              "AUTO",
              "SEARCH",
              "URLS",
              "DETAILS"
            ],
            "type": "string",
            "description": "AUTO detects whether you provided keyword searches or StepStone URLs.",
            "default": "AUTO"
          },
          "country": {
            "title": "🌍 StepStone country",
            "enum": [
              "DE",
              "AT",
              "FR",
              "DK"
            ],
            "type": "string",
            "description": "StepStone country domain for generated keyword searches.",
            "default": "DE"
          },
          "includeDetails": {
            "title": "📄 Include full job details",
            "type": "boolean",
            "description": "Fetch each job detail page and enrich the row with full description and JSON-LD fields when available.",
            "default": false
          },
          "includeContacts": {
            "title": "📞 Extract public contacts",
            "type": "boolean",
            "description": "Extract public emails and phone numbers from job detail text. Automatically requires detail pages.",
            "default": false
          },
          "startUrls": {
            "title": "🔗 StepStone URL(s)",
            "type": "array",
            "description": "StepStone search URLs, work URLs, or direct job URLs. AUTO mode detects how to use them.",
            "default": [],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "postedWithin": {
            "title": "🕒 Posted within",
            "enum": [
              "all",
              "1d",
              "3d",
              "7d",
              "14d"
            ],
            "type": "string",
            "description": "Filter by posting age when StepStone accepts the age facet.",
            "default": "14d"
          },
          "remoteOnly": {
            "title": "🏠 Remote only",
            "type": "boolean",
            "description": "Keep only jobs marked by StepStone as remote-friendly when that field is available.",
            "default": false
          },
          "salaryOnly": {
            "title": "💰 Salary only",
            "type": "boolean",
            "description": "Keep only jobs where salary text or structured salary data is available.",
            "default": false
          },
          "excludeRecommended": {
            "title": "Skip recommended padding",
            "type": "boolean",
            "description": "Drop recommended jobs that StepStone may add when a filtered page has too few exact matches.",
            "default": true
          },
          "maxPagesPerSearch": {
            "title": "Max pages per search",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Hard cap on pagination depth for each search URL or keyword.",
            "default": 1
          },
          "outputMode": {
            "title": "📦 Output style",
            "enum": [
              "compact",
              "full"
            ],
            "type": "string",
            "description": "Compact returns clean normalized fields. Full keeps more StepStone native fields.",
            "default": "compact"
          },
          "rawOutput": {
            "title": "Include raw payload",
            "type": "boolean",
            "description": "Attach the raw StepStone job object under _raw for debugging or custom pipelines.",
            "default": false
          },
          "debugLog": {
            "title": "Debug log",
            "type": "boolean",
            "description": "Save a small HTML/API debug sample to the key-value store when parsing fails. Keep off for normal runs.",
            "default": false
          },
          "maxConcurrency": {
            "title": "⚙️ Max concurrency",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "How many HTTP requests may run in parallel.",
            "default": 8
          },
          "maxRetries": {
            "title": "Max retries",
            "minimum": 0,
            "maximum": 30,
            "type": "integer",
            "description": "Retries for HTTP 403, 408, 425, 429, 5xx and parse failures.",
            "default": 6
          },
          "maxProxyRetries": {
            "title": "Max proxy retries",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Dedicated proxy / transport retry budget per request.",
            "default": 6
          },
          "requestDelayMs": {
            "title": "Request delay",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Optional delay before each request. Keep 0 for fastest runs.",
            "default": 0
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify Proxy configuration. Residential Germany is recommended because StepStone is geo-sensitive.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "DE"
            }
          },
          "keyword": {
            "title": "Legacy single keyword",
            "type": "string",
            "description": "Hidden compatibility field for old tasks that used one keyword string.",
            "default": ""
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}