# Syarah Cars Scraper (Saudi Arabia) (`scraper_guru/syarah-cars-scraper`) Actor

Scrape new and used car listings from syarah.com, Saudi Arabia: make, model, trim, year, price in SAR incl. VAT, discount, monthly installment and mileage. Filter by brand, model or condition.

- **URL**: https://apify.com/scraper_guru/syarah-cars-scraper.md
- **Developed by:** [LIAICHI MUSTAPHA](https://apify.com/scraper_guru) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 car listings

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

## Syarah Cars Scraper (Saudi Arabia)

Scrape new and used car listings from syarah.com, one of Saudi Arabia's online car retailers. You get make, model, trim, model year, price in SAR (VAT included), discount, monthly installment and mileage, in clean typed fields ready for a spreadsheet or a pricing model.

Filter by brand, model and condition (new or used), or paste any syarah.com listing page. The Actor reads the public listing pages only, with no login and no browser.

### Features

- ✅ **New and used cars in one format:** `condition` is `new` or `used`, so you can compare the same model and trim new against used.
- ✅ **Clean car fields:** `make`, `model`, `trim`, `year`, `price` (number, SAR incl. VAT), `mileageKm` (number).
- ✅ **Discounts and financing:** `priceBeforeDiscount`, `discount`, `monthlyInstallment` and the offer labels shown on the card.
- ✅ **Simple filters:** brand, model, condition, or only discounted cars. Cars that don't match are skipped and not charged.
- ✅ **No duplicates:** a car that shows up in two of your searches is returned once.
- ✅ **No personal data:** Syarah sells its own stock, so there are no seller names or phone numbers.

### Use cases

- **Depreciation analysis:** how much of its new price a Camry, Accent or Land Cruiser loses after 1, 2 or 3 years.
- **Dealers and importers:** track Syarah's stock, prices and discounts for the models you sell.
- **Car valuation and lending:** feed a pricing model with fresh retail prices.
- **Market research:** brand mix, discount levels and installment offers in the Saudi used-car market.

### Input

| Field | Type | Description |
|---|---|---|
| `brand` | text | Brand as in the syarah.com address: `toyota`, `hyundai`, `kia`, `nissan`, `mercedes-benz`... Empty = all brands. |
| `model` | text | Model of that brand: `camry`, `land-cruiser`, `accent`, `sportage`... Needs `brand`. |
| `condition` | select | `all` (default), `used` or `new`. |
| `onlyDiscounted` | true/false | Keep only cars that show a price before discount. |
| `searchUrls` | list of URLs | Advanced: any page under `https://syarah.com/en/autos`. When set, brand and model are ignored. |
| `maxItems` | number | Stop after this many cars (default 200). |

Example input:

```json
{
  "brand": "toyota",
  "model": "camry",
  "condition": "used",
  "maxItems": 500
}
```

### Output

One row per car:

```json
{
  "listingId": "322507",
  "url": "https://syarah.com/en/cardetail/toyota-camry-used-322507",
  "title": "Toyota Camry LE HEV 2025",
  "make": "Toyota",
  "model": "Camry",
  "trim": "LE HEV",
  "makeSlug": "toyota",
  "modelSlug": "camry",
  "year": 2025,
  "condition": "used",
  "price": 99500,
  "priceBeforeDiscount": null,
  "discount": null,
  "currency": "SAR",
  "vatIncluded": true,
  "monthlyInstallment": 2126,
  "mileageKm": 125829,
  "lowMileage": false,
  "inspectedAndGuaranteed": true,
  "offers": ["Coupon 1,500 SAR OFF", "First Installment on Us"],
  "imageUrl": "https://cdn.syarah.com/photos-thumbs/online-v1/0x426/online/posts/322507/orignal-322507-1-1793510931.jpg?v=1",
  "searchUrl": "https://syarah.com/en/autos/toyota/camry",
  "page": 1,
  "source": "syarah.com",
  "scrapedAt": "2026-11-11T14:25:09.650Z"
}
```

| Field | Meaning |
|---|---|
| `listingId`, `url` | Syarah's car ID and page |
| `make`, `model`, `trim`, `year` | From the listing title and link |
| `condition` | `new` or `used` |
| `price`, `currency`, `vatIncluded` | Cash price in SAR, VAT included |
| `priceBeforeDiscount`, `discount` | Shown when the car is discounted |
| `monthlyInstallment` | Monthly installment shown on the card, when there is one |
| `mileageKm`, `lowMileage` | Odometer (used cars) and Syarah's "Low mileage" tag |
| `inspectedAndGuaranteed` | The card shows Syarah's inspection and guarantee badge |
| `offers` | Offer labels on the card, such as coupons |
| `imageUrl` | Main photo |
| `searchUrl`, `page`, `source`, `scrapedAt` | Where and when the car was read |

A `SUMMARY` record in the run's key-value store lists, for each search, the pages read, cars returned and why it stopped.

### FAQ

**How many cars are on Syarah?**
About 4,000 in November 2026, of which roughly 3,100 used and 850 new. Toyota alone has over 600.

**How fast is it?**
One listing page (16 cars) every 2 seconds or so, on purpose. All of Syarah takes about 10 minutes.

**Are these private-sale prices?**
No. Syarah sells its own inspected cars, so these are a retailer's prices, VAT included, often with a discount. Private sellers may ask less.

**Why is the trim useful?**
New and used cars of the same model are often different versions. Comparing the same `make`, `model` and `trim` gives a fair new-versus-used price.

**Can I use Syarah's filter pages?**
No. The site's robots.txt disallows them, so the Actor only reads `/en/autos` pages (all cars, a brand, or a brand and model) and does the condition and discount filtering itself.

**Is this allowed?**
The Actor reads public listing pages that syarah.com's robots.txt allows, at a slow rate, without logging in, and does not use the site's API. Its terms of use have no clause against automated access. You are responsible for using the data in line with the laws that apply to you.

# Actor input Schema

## `brand` (type: `string`):

Only this brand, as in the syarah.com address: toyota, hyundai, kia, nissan, mercedes-benz... Leave empty for all brands.

## `model` (type: `string`):

Only this model of the brand above: camry, land-cruiser, accent, sportage... Needs Brand.

## `condition` (type: `string`):

New cars, used cars or both. Cars that don't match are skipped and not charged.

## `onlyDiscounted` (type: `boolean`):

Keep only cars that show a price before discount.

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

Any syarah.com listing page under https://syarah.com/en/autos, for example https://syarah.com/en/autos/hyundai/tucson. When set, Brand and Model are ignored. Filter pages (/en/filters) are not supported.

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

Stop after this many cars. A page has 16 cars and takes about 2.5 seconds.

## Actor input object example

```json
{
  "brand": "toyota",
  "condition": "all",
  "onlyDiscounted": false,
  "maxItems": 200
}
```

# Actor output Schema

## `listings` (type: `string`):

No description

## `summary` (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 = {
    "brand": "toyota"
};

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

# Run the Actor and wait for it to finish
run = client.actor("scraper_guru/syarah-cars-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 '{
  "brand": "toyota"
}' |
apify call scraper_guru/syarah-cars-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scraper_guru/syarah-cars-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/jhlJ95nQuFVqmki7W/builds/6Tz7NByXgN9WzkHK9/openapi.json
