# Bayt Jobs Scraper (`neuro-scraper/bayt-jobs-scraper`) Actor

Bayt Jobs Scraper SD - Bayt Jobs Scraper is a job data tool that extracts bayt.com jobs in UAE, Saudi Arabia, Egypt and MENA: title, company, salary, career level, job role, industry, skills, degree, experience, description and apply link. No login.

- **URL**: https://apify.com/neuro-scraper/bayt-jobs-scraper.md
- **Developed by:** [Neuro Scraper](https://apify.com/neuro-scraper) (community)
- **Categories:** Jobs, Lead generation, Automation
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.49 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

./README.md

# Actor input Schema

## `queries` (type: `array`):

One Bayt search per line, e.g. "python", "accountant", "sales manager". Leave empty to list every job of the country / city below.

## `country` (type: `string`):

Bayt country to search. "International" = all countries. The list is Bayt's own (the run checks it against the page).

## `location` (type: `string`):

Optional city inside the country, e.g. "Dubai", "Riyadh", "Cairo" - or country/city as Bayt writes it, e.g. "uae/abu-dhabi" (then the country above is ignored).

## `startUrls` (type: `array`):

Bayt job search URLs (e.g. https://www.bayt.com/en/uae/jobs/python-jobs-in-dubai/ - filters in the URL are kept) or single job URLs (e.g. https://www.bayt.com/en/uae/jobs/senior-backend-engineer-5484629/).

## `datePosted` (type: `string`):

Bayt's "Date posted" filter (read from the page's own menu).

## `sortBy` (type: `string`):

Bayt's sort order.

## `careerLevel` (type: `string`):

Bayt's career-level filter. Bayt lists only levels that have jobs for the search; a level it does not list gives 0 jobs (the log says so).

## `employmentType` (type: `string`):

Bayt's employment-type filter.

## `industry` (type: `string`):

Bayt industry name or id as in its filter menu, e.g. "Accounting", "Management Consulting", "Airlines" or "79".

## `gender` (type: `string`):

Bayt's gender-requirement filter (what the employer asked for).

## `companyType` (type: `string`):

Bayt's company-type filter.

## `remoteOnly` (type: `boolean`):

Bayt's "Work from home jobs" switch.

## `easyApplyOnly` (type: `boolean`):

Bayt's "Easy Apply only" switch.

## `nationalsOnly` (type: `boolean`):

Bayt's "<Country> Nationals Only" switch (jobs reserved for citizens of the searched country).

## `fewerApplicants` (type: `boolean`):

Bayt's "Jobs with fewer applicants" switch.

## `searchMinSalary` (type: `integer`):

Keep only jobs whose published maximum salary is at least this many US dollars per month (Bayt's own USD figure from the job page). Bayt has no salary filter, so this is applied by the Actor and jobs without a salary are left out. 0 = off.

## `language` (type: `string`):

Bayt site language (labels and AI-translated texts).

## `includeDetails` (type: `boolean`):

Read each job page for employment type, job role, industry, skills, degree, years of experience, nationality, full description, USD salary, dates and the apply link (one extra request per job).

## `maxItems` (type: `integer`):

Stop after this many jobs in total (all searches together). Bayt shows 30 jobs per page and up to about 10,000 per search.

## `maxPages` (type: `integer`):

Stop each search after this many result pages (30 jobs each). 0 = no page limit.

## `maxConcurrency` (type: `integer`):

How many job pages are read at the same time (each reader is its own visitor with its own proxy session).

## `proxyConfiguration` (type: `object`):

Residential proxy is the default. Bayt answered from every country tried.

## Actor input object example

```json
{
  "queries": [
    "python"
  ],
  "country": "uae",
  "datePosted": "any",
  "sortBy": "relevance",
  "careerLevel": "any",
  "employmentType": "any",
  "gender": "any",
  "companyType": "any",
  "remoteOnly": false,
  "easyApplyOnly": false,
  "nationalsOnly": false,
  "fewerApplicants": false,
  "searchMinSalary": 0,
  "language": "en",
  "includeDetails": true,
  "maxItems": 40,
  "maxPages": 0,
  "maxConcurrency": 3,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "queries": [
        "python"
    ],
    "country": "uae",
    "maxItems": 40,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("neuro-scraper/bayt-jobs-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "queries": ["python"],
    "country": "uae",
    "maxItems": 40,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("neuro-scraper/bayt-jobs-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "queries": [
    "python"
  ],
  "country": "uae",
  "maxItems": 40,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call neuro-scraper/bayt-jobs-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,neuro-scraper/bayt-jobs-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/lahLkbpxnL0UP2sDh/builds/CyalvL98St3oMJ1z9/openapi.json
