# Bayt Jobs Scraper | Middle East Jobs, Salaries & Companies (`automatic/bayt-jobs-scraper`) Actor

Track Bayt job openings across six Gulf countries. Export employers, published salaries and optional full job descriptions by keyword or job link. Schedule a feed of new vacancies.

- **URL**: https://apify.com/automatic/bayt-jobs-scraper.md
- **Developed by:** [Philip Kirkbride](https://apify.com/automatic) (community)
- **Categories:** Jobs
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.48 / 1,000 jobs

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
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

## Bayt Jobs Scraper

Build a feed of Bayt job openings across six Gulf countries. Search by keyword
and country, collect public job descriptions, employers and published salaries,
or schedule a feed of newly found jobs for recruiting and market research.

Run the prefilled example to get up to 10 Python job listings from Bayt in the
United Arab Emirates. The same sample runs when you submit an empty input.

### Input

Search several countries or job titles in one run.

```json
{
  "searches": [
    {"keyword": "software engineer", "country": "AE"},
    {"keyword": "accountant", "country": "SA"}
  ],
  "maxItems": 50,
  "includeDetails": true
}
```

- **Country** uses `AE`, `SA`, `QA`, `KW`, `OM`, or `BH` for the UAE, Saudi
  Arabia, Qatar, Kuwait, Oman, or Bahrain.
- **Job URLs** in `jobUrls` return individual Bayt jobs with full details. You can
  combine them with searches.
- **Maximum jobs** in `maxItems` defaults to 10 and accepts up to 10,000 across
  all inputs. If you select several searches, use a limit that leaves room for
  each one.
- **Include details** adds each listing's public job page. It defaults to off.

### What it returns

Every row includes `source: "bayt"`, the job ID and URL, job title, country and
the company and location when visible. Search listings can include a summary
and the board's displayed listing date. Details add the published date,
description, employment type, salary where disclosed and other visible job
attributes. Missing values are null. `listingDate` is Bayt's job activity
timestamp. `postedDate` is the publication date reported by the job page.

Export the dataset as JSON, CSV or Excel. Open the run summary in `OUTPUT`
to see per-search progress, `skippedSearches`, and `failedSearches`. If a
search fails and the run saves jobs, `OUTPUT.status` is `partial`.

Example fields from a captured job.

```json
{
  "source": "bayt",
  "jobId": "5510699",
  "title": "Senior Backend Engineer",
  "company": "Michael Page",
  "country": "AE",
  "postedDate": "2026-11-17",
  "url": "https://www.bayt.com/en/uae/jobs/senior-backend-engineer-5510699/"
}
```

### Schedule new jobs

Set `monitorMode` to `new`, give the schedule a `monitorName`, and run the
same search set on a schedule. The first run returns matching jobs, subject to
your limit. Later runs return jobs that monitor has yet to deliver within its
history window, with `isNew` and `firstSeenAt` fields.

### Pricing

**$0.69 per 1,000 jobs** ($0.62 Bronze, $0.55 Silver, $0.48 Gold and above). There is no start fee, so a search that finds nothing costs nothing, and a monitor run only pays for new jobs.

Set a maximum charge on the run to cap spending; the run stops cleanly at the cap and keeps the jobs it already saved.

### Limits

Listing counts depend on the country, keyword and pages Bayt exposes. The
monitor retains up to 75,000 recently seen jobs per search set for 90 days.
Schedule one run at a time for a given monitor. Full details take longer than
listings.

# Actor input Schema

## `searches` (type: `array`):

Each Bayt search takes a keyword and a country code (AE, SA, QA, KW, OM or BH).

## `jobUrls` (type: `array`):

Public Bayt job posting links in the six supported countries. Each link returns the job detail.

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

Maximum unique job rows across all searches and URLs.

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

Include the public description, posted date, and salary where listed. Job URLs always return details.

## `monitorMode` (type: `string`):

New mode saves only jobs the named monitor has not delivered recently.

## `monitorName` (type: `string`):

Choose a stable name and reuse it for the same set of searches and job URLs.

## Actor input object example

```json
{
  "searches": [
    {
      "keyword": "python",
      "country": "AE"
    }
  ],
  "maxItems": 10
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `summary` (type: `string`):

No description

# 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 = {
    "searches": [
        {
            "keyword": "python",
            "country": "AE"
        }
    ],
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("automatic/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 = {
    "searches": [{
            "keyword": "python",
            "country": "AE",
        }],
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("automatic/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 '{
  "searches": [
    {
      "keyword": "python",
      "country": "AE"
    }
  ],
  "maxItems": 10
}' |
apify call automatic/bayt-jobs-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,automatic/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/5avEFjEQMnU4cUudB/builds/eFnLghn7PGmJbOuF3/openapi.json
