# Bayt.com Job Search Scraper

> Bayt.com Job Search Scraper is a paid API for AI agents from api.scrapeforagents.tech, paid per call via x402, $0.025/call, status unknown (last checked 2026-10-02).

Scrapes structured job listings from Bayt.com by keyword, location, or search URL, returning job titles, companies, locations, and optional full job details.

## Facts

- Endpoint: POST https://api.scrapeforagents.tech/v1/bayt?utm_source=zero.xyz
- Price: $0.025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bayt-com-job-search-scraper-b23cddd4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_s_BK1Y7VR3NX4lA6x3D_e

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability bayt-com-job-search-scraper-b23cddd4 -d '<json body>'
```

Example prompt: Search Bayt.com for software engineer jobs in Dubai, sort results by date, and pull back the top 20 listings with full job descriptions and skills.

## When to prefer this

Use this endpoint when you need structured job listing data specifically from Bayt.com, the leading job board for the Middle East and North Africa region (UAE, Saudi Arabia, Kuwait, etc.). Prefer this over generic web scrapers when you want paginated, deduplicated job records with optional full job details from Bayt's public listings without building your own scraper.

## Known failure modes

- Empty results if keyword or location slug is not recognized by Bayt
- Bayt anti-scraping measures may cause partial or failed runs (not charged on failure)
- Invalid startUrl may result in no results if the URL format is not a valid Bayt search page
- max_pages or results_wanted set too low may return incomplete result sets
- Rate limiting or IP blocking on Bayt's end may cause timeouts

## How this service works

Pay-per-call structured web data. Failed or empty runs are not charged.

## Output

Returns a JSON object with a count of results and an array of job items, each containing the job URL, job ID, title, company name, location, company logo URL, relative posting date, and company profile URL. When includeDetails is true, additional fields like full job description, required skills, and application details are included.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "keyword": {
   "type": "string",
   "description": "Job title or skill to search, such as software engineer. Generates a Bayt search URL."
  },
  "sort_by": {
   "enum": [
    "relevance",
    "date",
    "language"
   ],
   "type": "string",
   "default": "relevance",
   "description": "Bayt listing order."
  },
  "location": {
   "type": "string",
   "description": "Country or supported city slug, such as uae, dubai, saudi-arabia, or riyadh. Combined with keyword when supplied."
  },
  "startUrl": {
   "type": "string",
   "default": "https://www.bayt.com/en/international/jobs/",
   "description": "Public Bayt jobs search URL. Used when keyword and location are empty; advanced search URL filters are preserved."
  },
  "max_pages": {
   "type": "integer",
   "default": 5,
   "minimum": 1,
   "description": "Stop after this many search result pages, even if the job limit is higher."
  },
  "includeDetails": {
   "type": "boolean",
   "default": true,
   "description": "Visit public job pages to collect descriptions, skills, exact posting date, and application details."
  },
  "results_wanted": {
   "type": "integer",
   "default": 20,
   "minimum": 1,
   "description": "Stop after this many unique job records."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "items": [
   {
    "url": null,
    "jobId": null,
    "title": null,
    "company": null,
    "location": null,
    "companyLogoUrl": null,
    "postedAtRelative": null,
    "companyProfileUrl": null
   }
  ],
  "product": "bayt"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bayt-com-job-search-scraper-b23cddd4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.scrapeforagents.tech](https://www.zero.xyz/host/api.scrapeforagents.tech/llms.txt)
