{
  "openapi": "3.0.1",
  "info": {
    "title": "Karir.com Scraper",
    "description": "Search Indonesian job listings on Karir.com by keyword and pull full job details (requirements, responsibilities, salary range, company info) -- no account or API key needed.",
    "version": "0.0",
    "x-build-id": "P9A70JIxkpBAVNiW4"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/zucchini_gopher_m2v~karir-com-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-zucchini_gopher_m2v-karir-com-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/zucchini_gopher_m2v~karir-com-scraper/runs": {
      "post": {
        "operationId": "runs-sync-zucchini_gopher_m2v-karir-com-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/zucchini_gopher_m2v~karir-com-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-zucchini_gopher_m2v-karir-com-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": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "detail"
            ],
            "type": "string",
            "description": "\"search\" runs a keyword job search and (by default) hydrates each result into a full job record. \"detail\" fetches full detail for specific opportunity ID(s)/URL(s) directly.",
            "default": "search"
          },
          "keyword": {
            "title": "Keyword",
            "type": "string",
            "description": "\"search\" mode -- searches job titles (e.g. \"marketing\", \"sales\", \"programmer\"). Leave empty to list all currently active opportunities."
          },
          "sortOrder": {
            "title": "Sort order",
            "enum": [
              "newest",
              "priority",
              "popular",
              "highest_salary"
            ],
            "type": "string",
            "description": "\"search\" mode -- order to return results in.",
            "default": "newest"
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "\"search\" mode -- maximum number of job listings to return. Pagination is followed automatically (20 results/page) until this cap or the end of the result set.",
            "default": 50
          },
          "fetchFullDetails": {
            "title": "Fetch full details for each result",
            "type": "boolean",
            "description": "\"search\" mode -- when on (default), each search result is hydrated into a full job record (requirements, responsibilities, salary, company info) with one extra request per job. Turn off for faster/cheaper runs that only need the compact search-result fields (title, company, location, salary range, posted date).",
            "default": true
          },
          "minSalary": {
            "title": "Minimum salary (IDR)",
            "type": "integer",
            "description": "\"search\" mode -- optional advanced filter, passed through to the API as-is."
          },
          "maxSalary": {
            "title": "Maximum salary (IDR)",
            "type": "integer",
            "description": "\"search\" mode -- optional advanced filter, passed through to the API as-is."
          },
          "level": {
            "title": "Job level",
            "type": "string",
            "description": "\"search\" mode -- optional advanced filter, passed through to the API as-is (as shown in karir.com's own filter UI, e.g. a job-level label)."
          },
          "workplace": {
            "title": "Workplace type",
            "type": "string",
            "description": "\"search\" mode -- optional advanced filter (e.g. remote/on-site), passed through to the API as-is."
          },
          "locationIds": {
            "title": "Location IDs",
            "type": "array",
            "description": "\"search\" mode -- optional advanced filter: numeric location IDs from karir.com's own filter UI. Not name-resolved by this actor (see README's Known limits)."
          },
          "jobFunctionIds": {
            "title": "Job function IDs",
            "type": "array",
            "description": "\"search\" mode -- optional advanced filter: numeric job-function IDs from karir.com's own filter UI."
          },
          "industryIds": {
            "title": "Industry IDs",
            "type": "array",
            "description": "\"search\" mode -- optional advanced filter: numeric industry IDs from karir.com's own filter UI."
          },
          "degreeIds": {
            "title": "Degree IDs",
            "type": "array",
            "description": "\"search\" mode -- optional advanced filter: numeric degree IDs from karir.com's own filter UI."
          },
          "companyIds": {
            "title": "Company IDs",
            "type": "array",
            "description": "\"search\" mode -- optional advanced filter: numeric company IDs (see a company's karir.com/companies/<id> URL)."
          },
          "opportunityId": {
            "title": "Opportunity ID or URL",
            "type": "string",
            "description": "\"detail\" mode -- a single job's numeric ID or the full karir.com/opportunities/<id> URL."
          },
          "opportunityIds": {
            "title": "Opportunity IDs or URLs",
            "type": "array",
            "description": "\"detail\" mode only -- multiple job IDs/URLs to fetch full detail for in one run.",
            "items": {
              "type": "string"
            }
          },
          "maxConcurrency": {
            "title": "Max concurrent workers",
            "minimum": 1,
            "maximum": 16,
            "type": "integer",
            "description": "How many detail requests to run in parallel (used in \"search\" mode when hydrating results, and in \"detail\" mode across multiple IDs).",
            "default": 4
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify Proxy configuration. Residential is on by default.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}