# Bayt Jobs Scraper 🌟 (`easyapi/bayt-jobs-scraper`)

🎯 Extract detailed job listings from Bayt.com with comprehensive information including job titles, companies, locations, and descriptions. Perfect for job market analysis, recruitment research, and tracking employment opportunities in the Middle East.

- **URL**: https://beta-securitybyobscurity.apify.com/easyapi/bayt-jobs-scraper.md
- **Developed by:** [EasyApi](https://beta-securitybyobscurity.apify.com/easyapi) (community)
- **Categories:** Jobs, Integrations, Other
- **Stats:** 65 total users, 9 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

$19.99/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period.
You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#rental-actors

# README

## Bayt Jobs Scraper 🌟

Extract detailed job listings from Bayt.com - the Middle East's #1 job site. This powerful scraper collects comprehensive job data including titles, companies, locations, descriptions, and more. Perfect for recruitment analysis, market research, and monitoring employment trends.

### Features ✨

- 🔍 Search-based scraping with support for multiple URLs
- 💼 Detailed job information including titles, companies, and locations
- 🏢 Company details with logos and profile links
- 📝 Comprehensive job descriptions and requirements
- ⏰ Job posting dates and career levels
- 💰 Salary information (when available)
- 🌍 Location-specific job details
- ⚡ High-performance scraping with proxy support
- 🔄 Automatic pagination handling
- 📊 Structured JSON output

### Output Data 📋

The actor provides detailed information for each job listing including:

- Job title and direct link
- Company name and logo
- Job location
- Detailed job description
- Posted date
- Salary (if available)
- Job type
- Career level
- And more!

### Use Cases 🎯

- Market research and analysis
- Recruitment and HR analytics
- Salary benchmarking
- Job market trend analysis
- Talent acquisition
- Career opportunity monitoring
- Employment data aggregation

#### Input Example

A full explanation of an input example in JSON.

```json
{   
    "searchUrls": [
        "https://www.bayt.com/en/international/jobs/ai-jobs/"
    ],
    "maxItems": 30
}
```

#### Output sample

The results will be wrapped into a dataset which you can always find in the **Storage** tab. Here's an excerpt from the data you'd get if you apply the input parameters above:

And here is the same data but in JSON. You can choose in which format to download your data: JSON, JSONL, Excel spreadsheet, HTML table, CSV, or XML.

```json
[
    {
        "searchUrl": "https://www.bayt.com/en/international/jobs/ai-jobs/",
        "jobTitle": "Head of Data Science & AI Products",
        "jobLink": "https://www.bayt.com/en/uae/jobs/head-of-data-science-ai-products-5282084/",
        "jobSalary": "",
        "jobType": "",
        "jobCareerLevel": "",
        "jobCompanyLogo": "https://secure.b8cdn.com/48x48/images/logo/92/1661592_logo_1567339898_n.png",
        "jobCompany": "Al Futtaim Group",
        "jobLocation": "Dubai · UAE",
        "jobDescription": "science, a deep understanding of AI technologies, and experience in ... scientists, machine learning engineers, and AI specialists.Foster a collaborative environment ...",
        "jobCreatedAt": "10 days ago"
    },
    ...
]
```

### Related Actors 🤝

- 🎯 [Indeed Jobs Scraper](https://apify.com/easyapi/indeed-jobs-scraper) - Extract detailed job listings from Indeed.com
- 🌟 [Naukri Jobs Scraper](https://apify.com/easyapi/naukri-jobs-scraper) - Comprehensive job data extraction from Naukri.com
- 🎯 [Dice.com Job Scraper](https://apify.com/easyapi/dice-com-job-scraper) - Extract tech job listings from Dice.com
- 💼 [Upwork Jobs Scraper](https://apify.com/easyapi/upwork-jobs-scraper) - Scrape detailed job listings from Upwork
- 🏥 [PracticeLink Job Scraper](https://apify.com/easyapi/practicelink-job-scraper) - Extract healthcare job listings
- 🌴 [Jungle Job Scraper](https://apify.com/easyapi/jungle-job-scraper) - Scrape jobs from Welcome to the Jungle
- 🔍 [FlexJobs Job Search Scraper](https://apify.com/easyapi/flexjobs-job-search-scraper) - Extract remote and flexible job opportunities
- 🎯 [Shine.com Jobs Scraper](https://apify.com/easyapi/shine-com-jobs-scraper) - Scrape job listings from Shine.com
- 🌟 [Naukrigulf Jobs Scraper](https://apify.com/easyapi/naukrigulf-jobs-scraper) - Extract jobs from Naukrigulf.com
- 🇪🇸 [InfoJobs Job Scraper](https://apify.com/easyapi/infojobs-job-scraper) - Scrape jobs from InfoJobs Spain
- 🎯 [TotalJobs Scraper](https://apify.com/easyapi/totaljobs-scraper) - Extract jobs from TotalJobs.com
- 🔍 [BuiltIn Jobs Scraper](https://apify.com/easyapi/builtin-jobs-scraper) - Scrape tech jobs from BuiltIn.com
- 🇳🇴 [Finn.no Jobs Scraper](https://apify.com/easyapi/finn-no-jobs-scraper) - Extract jobs from Norway's Finn.no
- 🌏 [JobStreet Job Scraper](https://apify.com/easyapi/jobstreet-job-scraper) - Scrape jobs across Asia-Pacific
- 🎯 [hh.ru Job Scraper](https://apify.com/easyapi/hh-ru-job-scraper) - Extract jobs from HeadHunter Russia

# Actor input Schema

## `searchUrls` (type: `array`):

List of Bayt.com search URLs to scrape

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

Maximum number of jobs to scrape

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

Select your proxy configuration

## Actor input object example

```json
{
  "searchUrls": [
    "https://www.bayt.com/en/international/jobs/ai-jobs/"
  ],
  "maxItems": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("easyapi/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 = {}

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

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

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

```

## CLI example

```bash
echo '{}' |
apify call easyapi/bayt-jobs-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=easyapi/bayt-jobs-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Bayt Jobs Scraper 🌟",
        "description": "🎯 Extract detailed job listings from Bayt.com with comprehensive information including job titles, companies, locations, and descriptions. Perfect for job market analysis, recruitment research, and tracking employment opportunities in the Middle East.",
        "version": "0.0",
        "x-build-id": "d3sz7iUHoeCg0L3XX"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/easyapi~bayt-jobs-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-easyapi-bayt-jobs-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/easyapi~bayt-jobs-scraper/runs": {
            "post": {
                "operationId": "runs-sync-easyapi-bayt-jobs-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/easyapi~bayt-jobs-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-easyapi-bayt-jobs-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": [
                    "searchUrls"
                ],
                "properties": {
                    "searchUrls": {
                        "title": "Search URLs",
                        "uniqueItems": true,
                        "type": "array",
                        "description": "List of Bayt.com search URLs to scrape",
                        "default": [
                            "https://www.bayt.com/en/international/jobs/ai-jobs/"
                        ],
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxItems": {
                        "title": "Maximum items",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Maximum number of jobs to scrape",
                        "default": 30
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Select your proxy configuration",
                        "default": {
                            "useApifyProxy": false
                        }
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
