# Saakin Scraper (`dadhalfdev/saakin-scraper`) Actor

Scrape Qatar property listings from saakin.qa. Use filters or paste a Saakin URL — the URL wins when set. Returns price (QAR), beds, area, location, and WhatsApp.

- **URL**: https://apify.com/dadhalfdev/saakin-scraper.md
- **Developed by:** [Marco Rodrigues](https://apify.com/dadhalfdev) (community)
- **Categories:**
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 results

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## 🇶🇦 Saakin Scraper

Want [Saakin.qa](https://saakin.qa/search?purpose=rent) Qatar property listings in a spreadsheet? This scraper makes it easy.

Use **structured filters** (purpose, type, location, furnishings, beds, price) — structured filters work better for AI agents — **or** paste an **`input_url`** from Saakin once you've already filtered in the browser. When `input_url` is set it overrides the filters below.

Saakin currently lists about **14,000 rentals** and thousands of sale ads across Doha, Lusail, The Pearl, and the rest of Qatar. This actor returns up to 2000 rows per run.

### 💡 Perfect for...

- **Agents and relocators:** Export Qatar rent or sale ads with WhatsApp and asking price in QAR.
- **Dashboards:** Track Lusail, The Pearl, or Doha inventory without clicking through Saakin.
- **Market research:** Slice by type (apartments, villas, offices), furnishings, or bedrooms.
- **Data analysts:** Export structured listing rows with public Saakin URLs.
- **🤖 AI Agents:** Power Claude, Cursor, Codex, the Hermes Agent, and OpenClaw workflows with live Saakin results.
- **📚 RAG Systems:** Feed titles, locations, and prices into retrieval pipelines.
- **🔗 AI Workflows:** Plug into LangChain, AutoGPT, CrewAI, and similar stacks.

### ✨ Why you'll love this scraper

- 🔗 **Input URL or Filters:** Paste a Saakin search or category URL (`input_url`) if you already filtered in the browser, or use structured filters (better for AI agents). `input_url` always wins when set.
- 🎯 **Website-Matched Filters:** Same purpose, type, furnishings, beds, baths, price, area, and sort as saakin.qa.
- 🌐 **Qatar directory:** Titles, QAR prices, beds/baths, sqm, location, photos, and WhatsApp.

### 📦 What's inside the data?

Every row includes all of these fields:

- **Core:** `id`, `url`, `title`, `purpose`, `property_type`, `slug`, `reference`
- **Price:** `price`, `currency`, `price_period`
- **Specs:** `location`, `bedrooms`, `bathrooms`, `area_sqm`, `is_featured`, `listed_ago`
- **Media / contact:** `image_url`, `image_urls`, `phone`, `whatsapp_url`

### 🚀 Quick start

**Option A — Input URL**

1. Open [Saakin search](https://saakin.qa/search?purpose=rent), apply filters, copy the URL — e.g. `https://saakin.qa/rent/doha/apartments-for-rent`.
2. Paste it into `input_url`.
3. Set `max_results` and click **Start**.

**Option B — Structured filters (better for AI agents)**

1. Leave `input_url` empty.
2. Optionally pick Rent/Sale, type, location, furnishings, and sort.
3. Set `max_results` (up to 2000) and click **Start**.

***

#### Tech details for developers 🧑‍💻

**Input Example (filters):**

```json
{
  "purpose": "rent",
  "property_type": "1",
  "location": "doha",
  "furnishings": "1",
  "bedrooms": "2",
  "sort": "newest",
  "max_results": 100
}
```

**Input Example (URL override):**

```json
{
  "input_url": "https://saakin.qa/search?purpose=rent&property_type=1&sort_by=low_price",
  "max_results": 50
}
```

**Output Example:**

```json
{
  "id": "160355",
  "url": "https://saakin.qa/rent/apartment-for-rent-lusail-lusail-city-seef-lusail-seef-lusail-tower-1/160355",
  "title": "SPACIOUS AND MODERN 1 BEDROOM APARTMENT IN LUSAIL - Apartments in Seef Lusail Tower 1",
  "purpose": "rent",
  "property_type": "Apartments",
  "price": 5499,
  "currency": "QAR",
  "price_period": "month",
  "location": "Lusail City Seef Lusail Seef Lusail Tower 1",
  "bedrooms": 1,
  "bathrooms": 2,
  "area_sqm": 79,
  "is_featured": true,
  "listed_ago": "16 minutes ago",
  "image_url": "https://d1playybtvr40h.cloudfront.net/473/n96Dz47MYEigTjpWaeT6sYP2PYvcLtUk.jpg",
  "image_urls": ["https://d1playybtvr40h.cloudfront.net/473/n96Dz47MYEigTjpWaeT6sYP2PYvcLtUk.jpg"],
  "phone": "+97466547997",
  "whatsapp_url": "https://api.whatsapp.com/send?phone=+97466547997&text=...",
  "reference": "SAAKIN-HLR07226.1",
  "slug": "apartment-for-rent-lusail-lusail-city-seef-lusail-seef-lusail-tower-1"
}
```

**Output fields:**

| Field | Description |
|-------|-------------|
| `id` | Saakin numeric listing id. |
| `url` | Public listing page on saakin.qa. |
| `title` | Listing headline. |
| `purpose` | `rent` or `sale`. |
| `property_type` | Type label from the card, e.g. Apartments. |
| `price` | Asking price as a number. |
| `currency` | Always `QAR`. |
| `price_period` | Rent period when shown, usually `month`. |
| `location` | Area string from the card. |
| `bedrooms` | Bedroom count. |
| `bathrooms` | Bathroom count. |
| `area_sqm` | Floor area in square metres. |
| `is_featured` | Whether Saakin marked the ad Featured. |
| `listed_ago` | Relative listed time, e.g. `16 minutes ago`. |
| `image_url` | First photo. |
| `image_urls` | Photo URLs from the card slider. |
| `phone` | WhatsApp / phone digits when published. |
| `whatsapp_url` | WhatsApp enquire link. |
| `reference` | Agency reference from the WhatsApp message. |
| `slug` | URL slug for the listing. |

### 📋 Input reference (detailed)

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `input_url` | string | No | — | Paste a Saakin search or `/rent/` / `/buy/` category URL; overrides filters when set. |
| `purpose` | string enum | No | `rent` | `rent` or `sale`. |
| `property_type` | string enum | No | all | Saakin type id: `1` Apartments, `2` Villas, `13` Offices, `26` Studio Apartments, `4` Warehouses, `29` Compound Villas, `34` Shops, `25` Townhouses, `36` Labor Camps, `30` Penthouses, `31` Hotel Apartments, `7` Retails, `32` Duplexes, `35` Showrooms, `16` Whole Buildings, `33` Bulk Rent Units, `43` Land, `37` Staff Accommodations, `14` Commercial Villas, `23` Commercial Floor, `40` Chalet, `27` Commercial Land, `46` Bulk Sale Units. |
| `location` | string enum | No | all | `doha`, `lusail`, `the-pearl`, `al-wakra`, `al-khor`, or all Qatar. |
| `furnishings` | string enum | No | all | `1` Furnished, `0` Unfurnished, `2` Partly furnished. |
| `bedrooms` | string enum | No | any | `0` (studio) through `6`. |
| `bathrooms` | string enum | No | any | `1` through `5`. |
| `min_price` | integer | No | — | Minimum price in QAR. |
| `max_price` | integer | No | — | Maximum price in QAR. |
| `min_area` | integer | No | — | Minimum area in sqm. |
| `max_area` | integer | No | — | Maximum area in sqm. |
| `sort` | string enum | No | `newest` | `featured`, `newest`, `low_price`, `high_price`, `beds_least`, `beds_most`. |
| `max_results` | integer | No | `50` | Maximum rows (`1`–`2000`). |

#### Notes on filters

- Prefer exact enum strings from the Apify input dropdowns (same labels as Saakin).
- `input_url` always wins over filters when provided.
- `www.saakin.qa` and `saakin.qa` URLs are both accepted.
- Default purpose is **rent**, matching the live homepage search.

# Actor input Schema

## `input_url` (type: `string`):

Paste a Saakin search or category URL (e.g. https://saakin.qa/search?purpose=rent or https://saakin.qa/rent/doha/apartments-for-rent). Overrides every filter when set.

## `purpose` (type: `string`):

Same Rent / Sale switch as on saakin.qa. Ignored when input\_url is set.

## `property_type` (type: `string`):

Same Type dropdown as on saakin.qa search. Ignored when input\_url is set.

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

Same popular-area idea as Saakin (Doha, Lusail, The Pearl, Al Wakra, Al Khor). Ignored when input\_url is set.

## `furnishings` (type: `string`):

Same furnishings filter as on saakin.qa. Ignored when input\_url is set.

## `bedrooms` (type: `string`):

Minimum bedroom count, same idea as the Saakin bedrooms control. Ignored when input\_url is set.

## `bathrooms` (type: `string`):

Minimum bathroom count. Ignored when input\_url is set.

## `min_price` (type: `integer`):

Minimum asking price in Qatari riyal. Ignored when input\_url is set.

## `max_price` (type: `integer`):

Maximum asking price in Qatari riyal. Ignored when input\_url is set.

## `min_area` (type: `integer`):

Minimum floor area in square metres. Ignored when input\_url is set.

## `max_area` (type: `integer`):

Maximum floor area in square metres. Ignored when input\_url is set.

## `sort` (type: `string`):

Same sort dropdown as on saakin.qa (Featured, Newest, Price, Beds).

## `max_results` (type: `integer`):

How many rows to return (1–2000). Saakin rent search currently has about 14,000 listings.

## Actor input object example

```json
{
  "purpose": "rent",
  "property_type": "",
  "location": "",
  "furnishings": "",
  "bedrooms": "",
  "bathrooms": "",
  "sort": "newest",
  "max_results": 50
}
```

# Actor output Schema

## `overview` (type: `string`):

Table view of scraped properties using the dataset 'overview' view.

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

All scraped listings from the default dataset without view transformation.

# 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("dadhalfdev/saakin-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("dadhalfdev/saakin-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 '{}' |
apify call dadhalfdev/saakin-scraper --silent --output-dataset

```

## MCP server setup

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