# Haraj Scraper - Saudi Arabia Classifieds (حراج) (`normdata/haraj-scraper`) Actor

Scrape Haraj (haraj.com.sa), Saudi Arabia's biggest classifieds site: cars, real estate, devices, animals and 1,300 categories. Price in SAR, region, city, district, map point, full text, phone numbers from the ad, car specs, seller and photos. Car filters, no proxy needed.

- **URL**: https://apify.com/normdata/haraj-scraper.md
- **Developed by:** [Norm Data](https://apify.com/normdata) (community)
- **Categories:** E-commerce, Real estate, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.20 / 1,000 ads

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

![Norm Data](https://raw.githubusercontent.com/FabriAV/normdata/refs/heads/main/assets/banner_norm2.png)

## 🇸🇦 Haraj Scraper - Saudi Arabia Classifieds (حراج)

Extract ads from **Haraj (haraj.com.sa)**, Saudi Arabia's biggest classifieds site, in all **21 main categories and 1,300 tags**: cars (brands, models, years, parts, trucks), real estate, devices and phones, furniture, animals, jobs, services and more. For each ad you get the **title, price in SAR, category in English, region, city, district, map point, the seller's full text, Saudi mobile numbers written in the ad, car specs (year, mileage, fuel, gearbox, condition, sale or lease transfer, finance bank, 4x4), REGA licence numbers for property ads, votes, comments, all photos, seller name, id and page, and the post and update dates**. It collects **1,000 ads in a few seconds**, with **no proxy needed**, and can run on a schedule to send you **only new ads**.

> 👉 **Try it now:** press **Start**. The ready-made input gives you 10 ads in a few seconds.<br>
> 💰 **$0.0122 per ad** on the Free plan (10 ads per run), from $0.0113 on paid plans. [See pricing](#-pricing)

### ✨ Why this scraper?

> - **Very fast**<br>
>   1,000 ads in a few seconds.
>
> - **More than one search's 2,500 ads**<br>
>   By splitting the search for you.
>
> - **Car filters and car specs**<br>
>   In clean English values, not raw codes.
>
> - **Leads in the same row**<br>
>   Phone numbers from the text, seller page, REGA numbers.
>
> - **Clean, typed data**<br>
>   Prices as numbers in SAR (no fake price when the seller gave none), map points as numbers, English category and place names, dates in UTC, full-size photos.
>
> - **Nothing to set up**<br>
>   No login, no cookies and no proxy to pay for.
>
> - **Apify platform**<br>
>   Schedule runs, get only new ads, export to Excel or CSV, use the API, or connect Google Sheets, Zapier and Make.

### ⚖️ How it compares

Based on each Actor's public input options and description (November 2026).

| Capability | This actor | [zen-studio](https://apify.com/zen-studio/haraj-scraper) | [getascraper](https://apify.com/getascraper/haraj-scraper) |
|---|:--:|:--:|:--:|
| Categories | **21 main + 198 sub in the list, any tag typed** | 21 main | one tag, typed |
| Several categories, keywords, places, sellers in one run | **yes** | no | no |
| Region or city | **yes, many** | one | one |
| Price filter | **yes** | no | no |
| Car filters (fuel, gearbox, condition, deal, 4x4, year, mileage) | **yes** | no | no |
| Video only, hide showrooms, posted in the last N days | **yes** | no | keyword searches only |
| Past the 2,500-ad limit of one search | **yes (auto split)** | not listed | not listed |
| Phone numbers from the ad text | **yes** | not listed | not listed |
| Map point, English names, REGA numbers | **yes** | not listed | not listed |
| Only new ads on a schedule | **yes** | no | no |
| Proxy | **not needed** | your proxy settings | datacenter proxy by default |

### 🚀 How to scrape Haraj

1. Create a free Apify account.
2. Pick the filters you need, or keep the ready-made input.
3. Click **Start**.
4. Download the ads as Excel, CSV or JSON from the **Output** tab.

### 💰 Pricing

#### How much does it cost to scrape Haraj?

You pay a one-time **$0.0037** per run, plus a price for each ad saved:

| Charged for | Free | Bronze | Silver | Gold+ |
| --- | --- | --- | --- | --- |
| **Ad**: One Haraj ad: title, price in SAR, category, region, city, district, map point, full text, phone numbers from the text, car specs, seller and all photos. | 0.0122 | 0.0113 | 0.0106 | 0.0102 |

Example: 1,000 ads cost about **$11.3** on Bronze. No proxy or compute costs on top.

### 📦 What data you get

| Field | Description |
| --- | --- |
| `imageUrl` | Main photo, full size. |
| `id` | Haraj ad number. |
| `title` | Ad title, as the seller wrote it (mostly Arabic). |
| `price`, `currency` | Price in Saudi riyals and the currency (null when the seller wrote none, as on most Haraj ads). |
| `category`, `subcategory` | Main category and first sub-category in English (Cars › Toyota, Real Estate › Apartments for rent...). |
| `region`, `city`, `neighborhood` | Region, city (in English) and district (in Arabic) of the ad. |
| `latitude`, `longitude` | Map point of the ad, from the site's location code (precise to a few hundred meters). |
| `seller`, `sellerId` | Seller username and Haraj user id. |
| `description` | The seller's full text, line breaks kept. |
| `photosCount` | Number of photos. |
| `commentCount`, `upvotes`, `downvotes` | Comments and the up and down votes on the ad. |
| `carYear`, `carMileageThousandKm`, `carFuel`, `carGearbox`, `carCondition`, `carDeal`, `carFinanceBank` | Cars only: model year, mileage in thousand km (as the seller entered it), fuel, gearbox, condition, sale or lease transfer, and the finance bank of a transfer. |
| `regaAdvertiserNumber`, `regaLicenseNumber` | Real estate only: the advertiser number and ad licence number from the Real Estate General Authority (REGA). |
| `hasVideo` | The ad has a video. |
| `commentsEnabled` | Comments are open on the ad. |
| `carFourWheelDrive` | Cars only: four-wheel drive. |
| `tags` | The site's tags of the ad, in Arabic (category › brand › model › model and year...). |
| `phones` | Saudi mobile numbers written in the ad text, as +9665XXXXXXXX (the site hides the contact button behind a login). |
| `specs` | Structured options some ads have, like iPhone model, storage and color. |
| `images` | All photos, full size. |
| `url` | Ad page on Haraj. |
| `sellerUrl` | Seller's page on Haraj. |
| `postedAt`, `updatedAt` | When the ad was first posted, and when it was last updated or renewed. |
| `scrapedAt` | When this row was saved. |

#### Example row (trimmed)

```json
{
  "imageUrl": "https://img4cdn.haraj.com.sa/userfiles30/2026-11-08/900x675-1_-GO__MTc5NDE2MzAwMTk1OTY2NDg5NzU1NA.jpg",
  "id": "192272286",
  "title": "كامري 2013 نظيفة",
  "price": 40000,
  "currency": "SAR",
  "category": "Cars",
  "subcategory": "Toyota",
  "region": "Riyadh",
  "city": "Riyadh",
  "neighborhood": "القادسية",
  "latitude": 24.80988,
  "longitude": 46.81824,
  "seller": "أبو مشاري 9084",
  "sellerId": "4498975",
  "description": "كامري 2013 ثالث مستخدم من الوكالة.\nالمكينة / وكالة شرط.\nالقير / موظب توظيب نظييف وشرط ما يشتكي من شيء نهائياً.\nالبودي / رش قطعة وحدة فقط الكبوت خارجي على نظافة من راعيها الأول ...",
  "photosCount": 1,
  "commentCount": 0,
  "upvotes": 1,
  "downvotes": 0,
  "carYear": 2013,
  "carMileageThousandKm": 317,
  "carFuel": "Petrol",
  "carGearbox": "Automatic",
  "carCondition": "Used",
  "carDeal": "Sale",
  "hasVideo": false,
  "commentsEnabled": true,
  "carFourWheelDrive": false,
  "tags": ["حراج السيارات", "تويوتا", "كامري"],
  "phones": ["+966557252012"],
  "images": ["https://img4cdn.haraj.com.sa/userfiles30/2026-11-08/900x675-1_-GO__MTc5NDE2MzAwMTk1OTY2NDg5NzU1NA.jpg"],
  "url": "https://haraj.com.sa/11192272286/كامري_2013_نظيفة/",
  "sellerUrl": "https://haraj.com.sa/users/%D8%A3%D8%A8%D9%88%20%D9%85%D8%B4%D8%A7%D8%B1%D9%8A%209084",
  "postedAt": "2026-11-08T18:47:02.000Z",
  "updatedAt": "2026-11-08T18:47:02.000Z",
  "scrapedAt": "2026-11-08T19:14:08.837Z"
}
```

### ⚙️ Input

| Section | What it's for |
| --- | --- |
| **Maximum results** | Always first, caps the whole run. Empty means no limit. |
| **What to scrape** | Categories, tags (Arabic), keywords, regions and cities and sellers. |
| **Filters** | Minimum price (SAR), maximum price (SAR), only ads with a price, only ads with photos, only ads with video, posted in the last N days and hide showrooms. |
| **Car filters** | Fuel, gearbox, condition, deal, 4x4 only, year from, year to, minimum mileage (thousand km) and maximum mileage (thousand km). |
| **Monitoring** | Only new ads and monitor name. |
| **Links** | Links instead of the fields above. Filters are ignored with links. |

#### Input examples

**Used Toyota cars in Riyadh, automatic, 2018 or newer, under 150 thousand km, with a price:**

```json
{
  "categories": ["تويوتا"],
  "regions": ["الرياض"],
  "carGearbox": "AUTO",
  "carMinYear": 2018,
  "carMaxMileage": 150,
  "onlyWithPrice": true,
  "maxItems": 500
}
```

**Apartments for rent in Jeddah posted in the last 3 days:**

```json
{
  "tags": ["شقق للايجار"],
  "regions": ["جده"],
  "postedWithinDays": 3,
  "maxItems": 1000
}
```

**iPhone 15 ads between 1,500 and 3,000 SAR:**

```json
{
  "searchTerms": ["ايفون 15"],
  "minPrice": 1500,
  "maxPrice": 3000,
  "maxItems": 300
}
```

**Lease transfer (تنازل) cars, every day (schedule this run):**

```json
{
  "carDeal": "WAIVER",
  "onlyNew": true,
  "monitorName": "transfers-daily",
  "maxItems": 2000
}
```

**Links (filters are ignored):**

```json
{
  "startUrls": [
    { "url": "https://haraj.com.sa/tags/حراج العقار" },
    { "url": "https://haraj.com.sa/search/كامري" }
  ],
  "maxItems": 200
}
```

### 🔗 Related scrapers

> - [Clasipar Scraper](https://apify.com/normdata/clasipar-scraper): Paraguay Classifieds, Phones & Emails.
> - [Tap.az Scraper](https://apify.com/normdata/tap-az-scraper): Azerbaijan Classifieds.
> - [ikman.lk Scraper](https://apify.com/normdata/ikman-scraper): Sri Lanka Ads: Cars, Property, Phones.
> - [Kleinanzeigen Scraper](https://apify.com/normdata/kleinanzeigen-scraper)

### ❓ FAQ and troubleshooting

#### Is there a Haraj API? Do I need an API key?

> Haraj has no public data API for this. This Actor works as a Haraj API alternative: it reads the public pages and gives you clean JSON, CSV or Excel, with no API key, no login and no code to maintain. You can also call it from your own code with the Apify API, or from an AI agent through MCP:
> `claude mcp add --transport http apify "https://mcp.apify.com?tools=normdata/haraj-scraper"`

#### Why do I get only 10 ads?

> On the Apify free plan each run saves up to 10 results, so you can try it before paying. Any paid plan removes the limit.

#### What are the tags?

> Haraj files each ad under a chain of tags, like "حراج السيارات › تويوتا › كامري › كامري 2020". Any of them works in the Tags field.

#### What is a lease transfer (تنازل)?

> A seller hands over a financed car and its remaining payments. The finance bank is in `carFinanceBank`.

#### Can I get only new ads every day?

> Yes. Turn on "Only new ads", give the run a monitor name and schedule it.

#### Fewer ads than expected

> Haraj shows only the newest 50 pages of each search. The scraper splits big searches by sub-category, region and city, but a narrow search (one city, one deep tag) still stops at the site's newest 2,500 ads. The log says so.

#### Most prices are empty

> Most Haraj sellers write no price. Use "Only ads with a price" or a price range to keep only priced ads.

#### Is this an official Haraj tool?

> No. It is independent and not affiliated with Haraj. It reads only data Haraj publishes on its public pages, at a moderate pace. Use the data in line with Haraj's terms and the laws that apply to you.

### 📧 Contact

Need a scraper for a different site, or found something wrong with this one? norm.data.scrapers@gmail.com

# Actor input Schema

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

Stop after this many ads in total. Leave empty for no limit. The Apify Free plan is always capped at 10.

## `categories` (type: `array`):

Haraj categories and their first level, like car brands or property types (219; type to search, in English or Arabic).

## `tags` (type: `array`):

Any Haraj tag, written as on the site, for deeper levels: a car model ("كامري"), a model and year ("كامري 2020"), a property type in a city ("شقق للايجار في الرياض").

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

Words to search, like "كامري", "ايفون 15" or "iphone". With categories or tags, each keyword runs inside each of them.

## `regions` (type: `array`):

Where the ad is (100). Pick a region for all its cities, or a single city.

## `sellers` (type: `array`):

Haraj usernames (as in haraj.com.sa/users/<name>): all their ads.

## `minPrice` (type: `integer`):

Only ads with a price from this amount. Ads without a price are skipped.

## `maxPrice` (type: `integer`):

Only ads with a price up to this amount. Ads without a price are skipped.

## `onlyWithPrice` (type: `boolean`):

Skip ads where the seller wrote no price (most Haraj ads have none).

## `onlyWithImages` (type: `boolean`):

Skip ads without photos.

## `onlyWithVideo` (type: `boolean`):

Only ads that have a video.

## `postedWithinDays` (type: `integer`):

Only ads first posted this many days ago or less.

## `hideShowrooms` (type: `boolean`):

Skip ads from car showrooms and dealers, as the site's own option does.

## `carFuel` (type: `string`):

Engine type.

## `carGearbox` (type: `string`):

Automatic or manual.

## `carCondition` (type: `string`):

New, used or damaged.

## `carDeal` (type: `string`):

Sale, or lease transfer (تنازل: taking over a car loan).

## `carFourWheelDrive` (type: `boolean`):

Only cars marked as four-wheel drive.

## `carMinYear` (type: `integer`):

Only cars of this model year or later.

## `carMaxYear` (type: `integer`):

Only cars of this model year or earlier.

## `carMinMileage` (type: `integer`):

Only cars with at least this many thousand kilometers (as the seller entered it).

## `carMaxMileage` (type: `integer`):

Only cars with at most this many thousand kilometers (as the seller entered it).

## `onlyNew` (type: `boolean`):

Skip ads saved by earlier runs with the same monitor name.

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

Runs with the same name share their history. Use a different name for each schedule.

## `startUrls` (type: `array`):

Haraj ad pages (https://haraj.com.sa/11192266811/...), category pages (https://haraj.com.sa/tags/حراج السيارات), city pages (/city/الرياض), seller pages (/users/<name>) or search pages (/search/كامري).

## Actor input object example

```json
{
  "maxItems": 10,
  "categories": [
    "تويوتا"
  ],
  "regions": [
    "الرياض"
  ]
}
```

# Actor output Schema

## `results` (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 = {
    "maxItems": 10,
    "categories": [
        "تويوتا"
    ],
    "regions": [
        "الرياض"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("normdata/haraj-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 = {
    "maxItems": 10,
    "categories": ["تويوتا"],
    "regions": ["الرياض"],
}

# Run the Actor and wait for it to finish
run = client.actor("normdata/haraj-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 '{
  "maxItems": 10,
  "categories": [
    "تويوتا"
  ],
  "regions": [
    "الرياض"
  ]
}' |
apify call normdata/haraj-scraper --silent --output-dataset

```

## MCP server setup

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