{
  "openapi": "3.0.1",
  "info": {
    "title": "JobStreet Singapore Scraper — Jobs, Salaries & Leads",
    "description": "Scrape JobStreet Singapore (sg.jobstreet.com). Get salary ranges, work type & arrangement (on-site/hybrid/remote), classification, company, full job descriptions and recruiter contact — turning postings into hiring-intent leads. Monitor mode emits only new or changed jobs. No login, no API key.",
    "version": "0.1",
    "x-build-id": "kuMiGOy28n5IpSIuz"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapesage~jobstreet-singapore-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapesage-jobstreet-singapore-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/scrapesage~jobstreet-singapore-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapesage-jobstreet-singapore-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/scrapesage~jobstreet-singapore-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapesage-jobstreet-singapore-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": {
          "searchTerms": {
            "title": "Search terms",
            "type": "array",
            "description": "Keywords to search on JobStreet Singapore, e.g. <code>data engineer</code>, <code>nurse</code>, <code>accountant</code>. Each term is searched separately. Leave empty to scrape <b>all</b> live Singapore jobs (narrow with the filters and limits below).",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "Paste JobStreet Singapore job URLs (<code>https://sg.jobstreet.com/job/12345678</code>) to scrape specific postings, or search-result URLs to reuse their keyword. Used in addition to the search terms above.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "classifications": {
            "title": "Classification IDs",
            "type": "array",
            "description": "Optional JobStreet classification IDs to filter by (combined with every search term). Common IDs: <code>6281</code> Information & Communication Technology, <code>1209</code> Engineering, <code>1203</code> Accounting, <code>1204</code> Administration & Office Support, <code>1216</code> Sales, <code>1223</code> Marketing & Communications, <code>1210</code> Banking & Financial Services, <code>1220</code> Healthcare & Medical, <code>6304</code> Manufacturing/Transport/Logistics, <code>6317</code> Human Resources & Recruitment, <code>1211</code> Construction, <code>6092</code> Education & Training.",
            "items": {
              "type": "string"
            }
          },
          "workTypes": {
            "title": "Work types",
            "type": "array",
            "description": "Optional. Keep only jobs of these work types. Labels: <code>Full time</code>, <code>Part time</code>, <code>Contract/Temp</code> (or just <code>Contract</code>), <code>Casual/Vacation</code>. Matching is loose, so <code>Contract</code> also matches <code>Contract/Temp</code>.",
            "items": {
              "type": "string"
            }
          },
          "salaryMin": {
            "title": "Minimum monthly salary (SGD)",
            "minimum": 0,
            "type": "integer",
            "description": "Only keep jobs whose published monthly salary is at least this amount (SGD). Jobs that don't publish a salary are kept unless 'Only jobs with a salary' is on."
          },
          "onlyWithSalary": {
            "title": "Only jobs with a published salary",
            "type": "boolean",
            "description": "Drop postings that don't show a salary. About 40–45% of JobStreet Singapore jobs publish a salary range — turn this on for clean salary-benchmarking datasets.",
            "default": false
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "ListedDate",
              "KeywordRelevance"
            ],
            "type": "string",
            "description": "Result ordering. <code>Newest first</code> is best for monitoring fresh postings; <code>Most relevant</code> ranks by keyword match.",
            "default": "ListedDate"
          },
          "postedWithinDays": {
            "title": "Posted within last N days",
            "minimum": 0,
            "type": "integer",
            "description": "Only include jobs listed within the last N days (0 = no date limit). Because results are sorted newest-first, this also stops pagination early for fast, cheap incremental runs.",
            "default": 0
          },
          "includeJobDetails": {
            "title": "Fetch full job details",
            "type": "boolean",
            "description": "Fetch each job's detail (via JobStreet's GraphQL API) for the <b>full job description</b>, the job summary, exact salary, employer verification badge, posting status, expiry date, and the <b>recruiter phone number</b> when published (great for lead generation). Adds one request per job. Turn off for a faster, cheaper listing-only run.",
            "default": true
          },
          "maxItems": {
            "title": "Max jobs",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of jobs to scrape across all search terms and URLs (0 = no limit).",
            "default": 0
          },
          "maxItemsPerSearch": {
            "title": "Max jobs per search term",
            "minimum": 0,
            "type": "integer",
            "description": "Cap the number of jobs scraped for each individual search term / classification (0 = no limit).",
            "default": 0
          },
          "monitorMode": {
            "title": "Monitor mode — only new & changed jobs",
            "type": "boolean",
            "description": "Output only jobs that are <b>new</b> or have <b>changed</b> (e.g. a salary update or a relist) since the last run for the same input. Each row is tagged with <code>monitorStatus</code> (<code>new</code>, <code>salary_change</code>, <code>updated</code>) and, for salary changes, <code>previousSalaryLabel</code>. The first run emits everything and seeds the state. Pairs perfectly with Apify Schedules — see the README.",
            "default": false
          },
          "dedupStoreName": {
            "title": "Monitor state store name",
            "type": "string",
            "description": "Named key-value store that holds the 'seen jobs' state for monitor mode. Use a distinct name per independent monitor (e.g. per client or per saved search) so their states don't mix.",
            "default": "jobstreet-sg-state"
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Maximum number of API requests made in parallel.",
            "default": 10
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Proxy settings. JobStreet's public API has no aggressive anti-bot, so the default Apify Proxy is more than enough; no residential proxy is required.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}