# Bayt Scraper - Gulf & Middle East Jobs from Bayt.com (`kalilfagundes.w/bayt-scraper`) Actor

\[Limited Launch Offer $1.25/1K] Scrape Bayt.com job listings for the UAE, Saudi Arabia, Qatar, Kuwait, Egypt and the rest of the Middle East: title, company, location, job level, date posted and job URL. No login.

- **URL**: https://apify.com/kalilfagundes.w/bayt-scraper.md
- **Developed by:** [Scrape With Me](https://apify.com/kalilfagundes.w) (community)
- **Categories:** Jobs, Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.06 / 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/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 Scraper - Gulf & Middle East Jobs from Bayt.com

Scrape **Bayt.com**, the largest job site of the Gulf and the Middle East, for any job title or keyword in **Dubai, Abu Dhabi, Riyadh, Jeddah, Doha, Kuwait, Cairo** and other cities. Every job comes back as one row: **title, company, company page and logo, location, job level, date posted and Bayt job URL**.

No login, no API keys.

### Why this one

- **Gulf jobs in one clean schema**, ready for Sheets, Excel or a database.
- **No login, no API key.**
- **Blocked searches are retried** on fresh IPs and then on residential IPs.

### Use cases

- Track hiring in the UAE and Saudi Arabia for a role every week.
- Build a lead list of Gulf companies that are hiring.
- Collect Middle East job postings for recruitment-agency research.

### Input example

```json
{
  "searchTerms": [
    "sales manager",
    "civil engineer"
  ],
  "locations": [
    "Riyadh",
    "Doha"
  ],
  "resultsPerSearch": 25,
  "maxItems": 50
}
```

### Output example

```json
{
  "id": "bayt-5488783",
  "site": "bayt",
  "title": "Senior Accountant General",
  "company": "ARABIAN ELECTRICIANS CO. LLC",
  "location": "Abu Dhabi, UAE",
  "datePosted": "2026-10-06",
  "isRemote": false,
  "jobLevel": "management",
  "jobUrl": "https://www.bayt.com/en/uae/jobs/senior-accountant-general-5488783/",
  "companyUrl": "https://www.bayt.com/en/company/arabian-electricians-co-llc-2320677/",
  "companyLogo": "https://secure.b8cdn.com/70x70/images/logo/77/2320677_logo_1790834788_n.png",
  "searchTerm": "accountant",
  "searchLocation": "Dubai",
  "scrapedAt": "2026-10-07T12:55:58Z"
}
```

### Run it on a schedule and connect it to your tools

**Schedule:** in Apify Console open *Schedules → Create*, pick this actor and your input, and set it to run
every Monday at 07:00 (your time zone) for a fresh dataset on a fixed day. Each run returns the full, current result set as a new dataset.

**Integrations** (Actor → *Integrations* tab, no code):

- **Google Sheets** — append every run's rows to a sheet.
- **Make, Zapier, n8n** — start the actor from a scenario/zap/workflow and use the rows in the next steps.
- **Webhook** — get a POST to your endpoint when a run succeeds, then download the dataset.
- **Slack / email** — notify your team when a scheduled run finishes.

**AI agents (MCP)** — Claude, ChatGPT, Cursor, VS Code or any MCP client can run it as a tool: add the Apify MCP
server `https://mcp.apify.com?actors=kalilfagundes.w/bayt-scraper` (sign in with your Apify account) and ask for the data in
plain language. The agent fills the input from the input schema and reads the dataset back.

**API** — call it from your code (`pip install apify-client` / `npm i apify-client`):

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("kalilfagundes.w/bayt-scraper").call(run_input={
    "searchTerms": [
        "sales manager",
        "civil engineer"
    ],
    "locations": [
        "Riyadh",
        "Doha"
    ],
    "resultsPerSearch": 25,
    "maxItems": 50
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

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

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('kalilfagundes.w/bayt-scraper').call({
  "searchTerms": [
    "sales manager",
    "civil engineer"
  ],
  "locations": [
    "Riyadh",
    "Doha"
  ],
  "resultsPerSearch": 25,
  "maxItems": 50
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

### Pricing

Pay per event, platform usage included - one `job` event per job saved (see the **Pricing** tab). `maxItems` and the run's maximum cost cap spending.

### Notes and limitations

- Bayt.com only. Descriptions and salaries are not on Bayt's search pages, so `description` and `salary*` are usually empty.
- Bayt shows a limited number of pages per search: split broad searches by city.
- Need several sites in one run and one format? Use [Indeed & LinkedIn Jobs Scraper - Glassdoor, Naukri, Bayt](https://apify.com/kalilfagundes.w/job-boards-scraper).

### Related actors

- [Indeed & LinkedIn Jobs Scraper - Glassdoor, Naukri, Bayt](https://apify.com/kalilfagundes.w/job-boards-scraper): all 6 sites of this family in one run and one format.
- [Indeed Scraper - Jobs, Salaries & Apply Links](https://apify.com/kalilfagundes.w/indeed-scraper)
- [LinkedIn Jobs Scraper - Job Posts, Salary & Apply URL](https://apify.com/kalilfagundes.w/linkedin-jobs-scraper)
- [Glassdoor Jobs Scraper - Salaries, Companies & Job Posts](https://apify.com/kalilfagundes.w/glassdoor-jobs-scraper)
- [Naukri Scraper - Naukri.com Jobs, Skills & Experience](https://apify.com/kalilfagundes.w/naukri-scraper)
- [BDJobs Scraper - Bangladesh Jobs from Bdjobs.com](https://apify.com/kalilfagundes.w/bdjobs-scraper)

### Feedback

If this actor saves you time, a quick rating on its Store page helps other people find it. Something not working? Open an issue in the **Issues** tab and it gets fixed fast.

# Actor input Schema

## `searchTerms` (type: `array`):

Job titles or keywords, one per line.

## `locations` (type: `array`):

City or country in the Middle East, one per line (e.g. "Dubai", "Riyadh", "Qatar"). Empty = all of Bayt.

## `resultsPerSearch` (type: `integer`):

Jobs to fetch per term, location and board.

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

Stop after this many jobs in the whole run. 0 = no limit.

## `hoursOld` (type: `integer`):

Only jobs posted in the last N hours (e.g. 24, 72).

## `jobType` (type: `string`):

Filter by job type.

## `isRemote` (type: `boolean`):

Only remote jobs.

## `descriptionFormat` (type: `string`):

Format of the job description text.

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

Apify Proxy is used by default. Use residential proxies for very large runs.

## Actor input object example

```json
{
  "searchTerms": [
    "accountant"
  ],
  "locations": [
    "Dubai"
  ],
  "resultsPerSearch": 10,
  "maxItems": 200,
  "jobType": "",
  "isRemote": false,
  "descriptionFormat": "markdown",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

No description

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

OUTPUT record: jobs found / new / saved per term, location and board, with errors.

# 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 = {
    "searchTerms": [
        "accountant"
    ],
    "locations": [
        "Dubai"
    ],
    "resultsPerSearch": 10,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("kalilfagundes.w/bayt-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 = {
    "searchTerms": ["accountant"],
    "locations": ["Dubai"],
    "resultsPerSearch": 10,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("kalilfagundes.w/bayt-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 '{
  "searchTerms": [
    "accountant"
  ],
  "locations": [
    "Dubai"
  ],
  "resultsPerSearch": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call kalilfagundes.w/bayt-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,kalilfagundes.w/bayt-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/tFMSPjc8TCRfaqdOg/builds/YmouFnJg1AR6eODv2/openapi.json
