{
  "openapi": "3.0.1",
  "info": {
    "title": "Glints Jobs Scraper — Indonesia, Singapore & SEA",
    "description": "Scrape live Glints job listings across Indonesia, Singapore, Malaysia, Vietnam, and Taiwan. Extract salaries, skills, work arrangements, company profiles, and full descriptions in JSON, CSV, or AI/RAG format from $2/1k.",
    "version": "2.0",
    "x-build-id": "fWiimcYhfCjMgdCfl"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/forlex~glints-indonesia-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-forlex-glints-indonesia-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/forlex~glints-indonesia-scraper/runs": {
      "post": {
        "operationId": "runs-sync-forlex-glints-indonesia-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/forlex~glints-indonesia-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-forlex-glints-indonesia-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",
            "type": "string",
            "description": "Primary job title or keyword to search (e.g., 'software engineer', 'data analyst', 'product manager')."
          },
          "keywordList": {
            "title": "📋 Additional Keywords",
            "type": "array",
            "description": "Optional list of multiple job keywords to search in one run.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "🌏 Countries (SEA)",
            "type": "array",
            "description": "Glints markets to search: ID (Indonesia), SG (Singapore), MY (Malaysia), VN (Vietnam), TW (Taiwan).",
            "items": {
              "type": "string",
              "enum": [
                "ID",
                "SG",
                "MY",
                "VN",
                "TW"
              ],
              "enumTitles": [
                "Indonesia (ID)",
                "Singapore (SG)",
                "Malaysia (MY)",
                "Vietnam (VN)",
                "Taiwan (TW)"
              ]
            },
            "default": [
              "ID"
            ]
          },
          "startUrls": {
            "title": "🔗 Direct Glints URLs (Optional)",
            "type": "array",
            "description": "Direct Glints search explore URLs or individual job listing URLs.",
            "default": [],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "maxResults": {
            "title": "📦 Max Results",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Maximum number of unique job listings to extract across selected countries.",
            "default": 20
          },
          "location": {
            "title": "📍 City / Location Filter",
            "type": "string",
            "description": "Optional city/region substring filter (e.g., 'Jakarta', 'Singapore', 'Bandung', 'Taipei')."
          },
          "jobType": {
            "title": "💼 Job Type",
            "enum": [
              "all",
              "full-time",
              "part-time",
              "internship",
              "contract",
              "freelance"
            ],
            "type": "string",
            "description": "Filter by employment type.",
            "default": "all"
          },
          "workArrangement": {
            "title": "🏠 Work Arrangement",
            "enum": [
              "all",
              "on-site",
              "hybrid",
              "remote"
            ],
            "type": "string",
            "description": "Filter by On-site, Hybrid, or Remote.",
            "default": "all"
          },
          "salaryMin": {
            "title": "💸 Minimum Monthly Salary",
            "minimum": 0,
            "type": "integer",
            "description": "Filter jobs whose max/min monthly salary meets this threshold (in the job's local currency)."
          },
          "datePosted": {
            "title": "🕒 Date Posted",
            "enum": [
              "all",
              "last-24h",
              "last-week",
              "last-month"
            ],
            "type": "string",
            "description": "Filter by how recently the job was created or updated.",
            "default": "all"
          },
          "companySize": {
            "title": "🏢 Company Size",
            "enum": [
              "all",
              "1-10",
              "11-50",
              "51-200",
              "201-500",
              "501-1000",
              "1000+"
            ],
            "type": "string",
            "description": "Filter by employer headcount bracket.",
            "default": "all"
          },
          "includeDescription": {
            "title": "📄 Include Full Job Description",
            "type": "boolean",
            "description": "Fetch full job description text & HTML from each job page (triggers optional job-description-detail PPE event).",
            "default": false
          },
          "outputMode": {
            "title": "🤖 Output Format",
            "enum": [
              "jobs",
              "rag"
            ],
            "type": "string",
            "description": "Standard structured job rows or AI/RAG Markdown documents.",
            "default": "jobs"
          },
          "sessionCookie": {
            "title": "🍪 Optional Glints Cookie",
            "type": "string",
            "description": "Optional logged-in Glints Cookie header to unlock deep pagination beyond 100+ results per query."
          },
          "maxConcurrency": {
            "title": "⚡ Parallel Detail Requests",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Concurrency when fetching full job descriptions (1-10).",
            "default": 5
          },
          "proxyConfiguration": {
            "title": "🛡️ Proxy Configuration",
            "type": "object",
            "description": "Optional proxy configuration. Public SSR + GraphQL endpoints work directly without proxies.",
            "default": {
              "useApifyProxy": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}