{
  "openapi": "3.0.1",
  "info": {
    "title": "BrighterMonday Scraper",
    "description": "Scrape live job listings from BrighterMonday.co.ke, Kenya's largest job board. Search by keyword, location, industry, and experience level, or fetch full job details (description, salary, deadline) from listing URLs.",
    "version": "1.0",
    "x-build-id": "KqOH4w4vIhfr3ca5I"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~brightermonday-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-brightermonday-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/crawlerbros~brightermonday-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-brightermonday-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/crawlerbros~brightermonday-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-brightermonday-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",
              "byUrls"
            ],
            "type": "string",
            "description": "What to fetch.",
            "default": "search"
          },
          "searchQuery": {
            "title": "Search query",
            "type": "string",
            "description": "Free-text keyword search (mode=search). Leave empty to browse all current listings.",
            "default": "accountant"
          },
          "location": {
            "title": "Location",
            "enum": [
              "kenya",
              "eldoret",
              "kisumu",
              "mombasa",
              "nairobi",
              "nakuru",
              "thika",
              "trans-nzoia",
              "rest-kenya",
              "outside-kenya",
              "remote"
            ],
            "type": "string",
            "description": "Filter to a BrighterMonday location region (mode=search)."
          },
          "experienceLevel": {
            "title": "Experience level",
            "enum": [
              "no-experience",
              "graduate-trainee",
              "entry-level",
              "mid-level",
              "senior-level",
              "executive-level"
            ],
            "type": "string",
            "description": "Filter to a specific experience level (mode=search)."
          },
          "industry": {
            "title": "Industry",
            "enum": [
              "agriculture-fishing-forestry",
              "construction",
              "banking-finance-insurance",
              "education",
              "energy-utilities",
              "government",
              "healthcare",
              "hospitality-hotel",
              "recruitment",
              "it-telecoms",
              "law-compliance",
              "shipping-logistics",
              "manufacturing-warehousing",
              "advertising-media-communications",
              "mining-energy-metals",
              "ngo-npo-charity",
              "retail-fashion-fmcg",
              "enforcement-security",
              "real-estate",
              "tourism-travel",
              "automotive-aviation",
              "entertainment-events-sport"
            ],
            "type": "string",
            "description": "Filter to a specific industry (mode=search)."
          },
          "jobFunction": {
            "title": "Job category / function",
            "enum": [
              "accounting-auditing-finance",
              "admin-office",
              "creative-design",
              "building-architecture",
              "consulting-strategy",
              "customer-service-support",
              "engineering-technology",
              "farming-agriculture",
              "food-services-catering",
              "hospitality-leisure",
              "software-data",
              "legal-services",
              "marketing-communications",
              "medical-pharmaceutical",
              "product-project-management",
              "estate-agent-property-management",
              "quality-control-assurance",
              "human-resources",
              "management-business-development",
              "community-social-services",
              "sales",
              "supply-chain-procurement",
              "research-teaching-training",
              "trades-services",
              "driver-transport-services",
              "health-safety"
            ],
            "type": "string",
            "description": "Filter to a specific job function/category (mode=search), e.g. Sales, Software & Data, Human Resources."
          },
          "employmentType": {
            "title": "Employment type",
            "enum": [
              "fullTime",
              "partTime",
              "contract",
              "internship",
              "temporary",
              "volunteer"
            ],
            "type": "string",
            "description": "Filter results to a specific employment type (applied client-side, mode=search)."
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "popular"
            ],
            "type": "string",
            "description": "Result ordering (mode=search).",
            "default": "relevance"
          },
          "minSalary": {
            "title": "Min salary",
            "minimum": 0,
            "maximum": 1000000000,
            "type": "integer",
            "description": "Drop jobs whose disclosed salary is below this (local currency units, e.g. KES). Jobs with undisclosed salary always pass through."
          },
          "maxSalary": {
            "title": "Max salary",
            "minimum": 0,
            "maximum": 1000000000,
            "type": "integer",
            "description": "Drop jobs whose disclosed salary is above this (local currency units, e.g. KES). Jobs with undisclosed salary always pass through."
          },
          "containsKeyword": {
            "title": "Must contain keyword",
            "type": "string",
            "description": "Case-insensitive substring filter applied to title, description, and company name."
          },
          "listingUrls": {
            "title": "Listing URLs (mode=byUrls)",
            "type": "array",
            "description": "Direct BrighterMonday listing URLs to fetch full details for, e.g. `https://www.brightermonday.co.ke/listings/sales-and-marketing-representative-ernmpj`.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "includeFullDescription": {
            "title": "Include full job description",
            "type": "boolean",
            "description": "Fetch each listing's detail page for full description/salary/deadline (mode=search). Slower but much richer output.",
            "default": true
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Hard cap on emitted records.",
            "default": 30
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}