{
  "openapi": "3.0.1",
  "info": {
    "title": "MyCareersFuture Jobs Scraper",
    "description": "Scrape public Singapore MyCareersFuture.gov.sg jobs by keyword, UEN, filters, or job UUID/URL. Returns salary, company UEN, skills, and location. HTTP-only, no login, MCP-ready.",
    "version": "0.1",
    "x-build-id": "xI6byV2IUaPG3Jnnw"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/khadinakbar~mycareersfuture-jobs-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-khadinakbar-mycareersfuture-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/khadinakbar~mycareersfuture-jobs-scraper/runs": {
      "post": {
        "operationId": "runs-sync-khadinakbar-mycareersfuture-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/khadinakbar~mycareersfuture-jobs-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-khadinakbar-mycareersfuture-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": {
          "search": {
            "title": "Search keyword",
            "type": "string",
            "description": "Keyword matched against MyCareersFuture job titles, skills, and descriptions — for example 'software engineer' or 'registered nurse'. Leave empty when using only UEN, jobIds, startUrls, or taxonomy filters. Do not paste a full job URL here; use startUrls or jobIds instead."
          },
          "searchQueries": {
            "title": "Search keywords (batch)",
            "maxItems": 20,
            "type": "array",
            "description": "Optional list of keyword searches run one after another. Each query is paginated until maxItems is reached across the whole run. Prefer this for multi-niche batches; use search for a single keyword.",
            "items": {
              "type": "string"
            }
          },
          "companyUens": {
            "title": "Company UENs",
            "maxItems": 20,
            "type": "array",
            "description": "ACRA Unique Entity Numbers to list that employer's public MyCareersFuture postings, for example 201816453D. Returns only jobs where postedCompany.uen matches. Maximum 20 per run.",
            "items": {
              "type": "string"
            }
          },
          "jobIds": {
            "title": "Job UUIDs",
            "maxItems": 100,
            "type": "array",
            "description": "Exact 32-character MyCareersFuture job UUIDs to fetch as detail rows. Do not pass MCF-YYYY-###### posting numbers — those cannot be resolved via the public API. Copy the UUID from the job page URL.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Job start URLs",
            "type": "array",
            "description": "MyCareersFuture job page URLs containing a 32-character UUID, for example https://www.mycareersfuture.gov.sg/job/<uuid>. MCF-YYYY-###### URLs are rejected with INVALID_INPUT because the public API cannot resolve posting numbers.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "categories": {
            "title": "Job categories",
            "type": "array",
            "description": "Exact MyCareersFuture category labels, for example 'Information Technology' or 'Healthcare / Pharmaceutical'. Values must match the site enum exactly (HTTP 400 otherwise). Combine with search or use filters-only.",
            "items": {
              "type": "string"
            }
          },
          "employmentTypes": {
            "title": "Employment types",
            "type": "array",
            "description": "Exact employment-type labels such as 'Full Time', 'Part Time', 'Permanent', 'Contract', or 'Internship'. Must match MyCareersFuture enum strings.",
            "items": {
              "type": "string"
            }
          },
          "positionLevels": {
            "title": "Position levels",
            "type": "array",
            "description": "Exact seniority labels such as 'Fresh/entry level', 'Executive', 'Professional', 'Manager', or 'Senior Management'. Must match MyCareersFuture enum strings.",
            "items": {
              "type": "string"
            }
          },
          "salaryFrom": {
            "title": "Minimum salary (SGD)",
            "minimum": 0,
            "type": "integer",
            "description": "Lower bound for the advertised monthly SGD salary filter sent to the MyCareersFuture API. Leave empty for no minimum. This filters search results; it does not invent missing salaries."
          },
          "salaryTo": {
            "title": "Maximum salary (SGD)",
            "minimum": 0,
            "type": "integer",
            "description": "Upper bound for the advertised monthly SGD salary filter. Leave empty for no maximum. Combine with salaryFrom for a band."
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "new_posting_date",
              "min_monthly_salary"
            ],
            "type": "string",
            "description": "Search sort order passed to the MyCareersFuture API. Default new_posting_date is best for monitoring fresh openings. min_monthly_salary sorts by advertised minimum SGD salary. Only these two values are accepted by the live public API.",
            "default": "new_posting_date"
          },
          "maxItems": {
            "title": "Max jobs",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Hard cap on unique job rows charged and saved for the entire run (across all queries). Default 50 keeps quality tests cheap; raise for bulk harvests. Hitting the cap finishes as PARTIAL.",
            "default": 50
          },
          "fetchDetails": {
            "title": "Fetch detail for each search hit",
            "type": "boolean",
            "description": "When true, each search/UEN hit is re-fetched via GET /v2/jobs/{uuid}. Search payloads are already rich; enable only when you need the freshest detail payload. Increases request count.",
            "default": false
          },
          "includeScreeningQuestions": {
            "title": "Include screening questions",
            "type": "boolean",
            "description": "When true, detail payloads are fetched so screeningQuestions can be attached when MyCareersFuture exposes them. Extra detail call per job; leave false for lean search harvests.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}