# OpenSooq Listings — Arab Classifieds (`xtracto/opensooq-listings`) Actor

Classified listings from OpenSooq across 11 Arab country sites: cars, property, jobs, phones and more. Price, city, seller, specs and paid-placement status. HTTP-only, no login, no browser.

- **URL**: https://apify.com/xtracto/opensooq-listings.md
- **Developed by:** [Farhan Febrian Nauval](https://apify.com/xtracto) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 71.4% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.60 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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

## OpenSooq Listings Scraper

Extract classified listings from [OpenSooq](https://opensooq.com), the Arab world's largest classifieds network, across 11 country sites and 17 top-level categories: cars, property, jobs, phones, electronics, home, fashion, services and more.

### Why use this actor

- **No account, no login, no API key.** Point it at a category and run.
- **11 countries in one actor.** UAE, Saudi Arabia, Egypt, Kuwait, Oman, Iraq, Jordan, Bahrain, Libya, Yemen and Sudan, each priced in its own currency.
- **Prices as numbers.** `price` is a number and `priceCurrency` is kept separate, so rows from different countries sort and sum correctly.
- **Honest promotion flags.** `isPromoted` marks bought placement only; `isReposted` marks listings the seller re-listed. Market studies do not miscount reposts as advertising.
- **Seller and shop data.** Seller name, shop name, rating and rating count on every row.
- **Stable JSON output** for spreadsheets, databases and pipelines. Export to JSON, CSV or Excel, and schedule runs on Apify.

### How it works

1. Pick one or more category paths, such as `cars/cars-for-sale` or `property/property-for-sale`. A full OpenSooq URL works too.
2. Choose the country site, the label language and the sort order.
3. The actor pages through the category, 30 listings per page, until it reaches your limit or the last page.
4. Each listing becomes one row with its price, location, category, seller, specs and images.

You do not need to manage scrapers, browsers or blocks.

### Input

```json
{
  "categoryPaths": ["cars/cars-for-sale"],
  "country": "ae",
  "language": "en",
  "sortCode": "recent",
  "maxItems": 300,
  "maxPages": 50,
  "includeDescription": false,
  "proxyConfiguration": { "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"] }
}
```

| Field | Type | Description |
|---|---|---|
| `categoryPaths` | array | Category paths such as `cars/cars-for-sale`, `property/property-for-sale` or `jobs/job-vacancies`. A full OpenSooq URL also works, and its country wins over the `country` field. A make can be added as a further segment (`cars/cars-for-sale/toyota`). |
| `country` | string | Which country site to read: `ae`, `sa`, `eg`, `kw`, `om`, `iq`, `jo`, `bh`, `ly`, `ye` or `sd`. |
| `language` | string | `en` for English labels, `ar` for Arabic labels. Listing titles are whatever the seller wrote. |
| `sortCode` | string | `recent`, `price_asc`, `price_desc`, or empty for the site's default order. |
| `maxItems` | integer | Stop after this many listings per category path. |
| `maxPages` | integer | A second ceiling on pages per category path (30 listings per page). |
| `includeDescription` | boolean | Add the seller's description text to each row. Off by default because it makes rows much larger. |
| `proxyConfiguration` | object | Residential proxy is recommended. |

### Output

One row per listing. The sample below is abridged: it shows the fields from a real listing on the UAE car category, and the table lists every field the actor returns.

```json
{
  "title": "دوج رام TRX خليجي 2022",
  "subtitle": "2022 Dodge Ram TRX",
  "price": 279000,
  "priceCurrency": "AED",
  "priceText": "279,000 AED",
  "country": "ae",
  "countryName": "United Arab Emirates",
  "city": "Abu Dhabi",
  "neighbourhood": "Rahayal Cars City",
  "category": "Autos",
  "subcategory": "Cars For Sale",
  "postedDate": "2026-09-14",
  "postedRelative": "1 hour ago",
  "listingStatus": "featured_turbo",
  "isPromoted": true,
  "isReposted": false,
  "sellerName": "Deals On Wheels",
  "sellerIsShop": true,
  "shopName": "Deals On Wheels",
  "sellerRating": 5,
  "sellerRatingCount": 8,
  "imageCount": 27,
  "hasVideo": true,
  "specChips": ["Used", "Dodge", "Ram", "TRX", "2,022", "45,000 km", "PickUp"],
  "attributes": { "kilometers_Cars": 45000 }
}
```

| Field | Type | Description |
|---|---|---|
| `listingId` | string | OpenSooq listing id |
| `listingUrl` | string | Link to the listing |
| `title` / `subtitle` | string | Seller's title and the site's short subtitle |
| `highlights` | string | Short highlight text, when the listing has one |
| `price` | number | Asking price as a number |
| `priceCurrency` | string | Currency code, e.g. `AED`, `SAR`, `EGP` |
| `priceText` | string | Price as displayed on the site |
| `country` / `countryName` | string | Country site code and name |
| `city` / `cityId` / `neighbourhood` | string | Location of the listing |
| `category` / `subcategory` / `categoryPath` | string | Where the listing sits on the site |
| `postedDate` / `postedRelative` | string | Posting date and the site's relative label |
| `expiresAt` / `isActive` | string / boolean | Expiry and whether the listing is live |
| `listingStatus` | string | `posted`, `reposted`, `featured` or `featured_turbo` |
| `isPromoted` | boolean | True only for bought placement (`featured`, `featured_turbo`) |
| `isReposted` | boolean | True when the seller re-listed it |
| `sellerName` / `sellerId` | string | Seller display name and id |
| `sellerIsShop` / `shopName` | boolean / string | Whether the seller is a shop, and its name |
| `sellerRating` / `sellerRatingCount` | number | Seller rating and number of ratings |
| `verificationLevel` | string | The site's seller verification level |
| `imageUrl` / `imageCount` / `hasVideo` | string / number / boolean | Main image, image count and video flag |
| `specChips` | array | Key specs as shown on the listing card |
| `attributes` | object | Numeric specs such as kilometres |
| `description` | string | Seller's description, only when `includeDescription` is on |
| `page` | number | Result page the listing came from |
| `_input`, `_source`, `_scrapedAt` | string | The category path, the data source and the time of the scrape |

### Notes and limits

- **Make and model filter; city does not.** `cars/cars-for-sale/toyota` returns only Toyotas, and `cars/cars-for-sale/toyota/land-cruiser` narrows further. The site has no working city filter, so filter by the `city` column after the run.
- **No keyword search.** OpenSooq has no working search page; browse by category.
- **Some category pages are landing pages.** `jobs` on its own holds only promoted teasers, so the actor stops and suggests `jobs/job-vacancies` or `jobs/job-seekers` instead.
- **Phone numbers are not collected.** The site masks them and gates calling behind a login.
- **Paging stops** at your `maxItems`, your `maxPages`, the last page the site reports, or the first empty page, whichever comes first.
- **Some fields can be empty on the newer page layout.** Since November 2026 some OpenSooq country sites serve a redesigned search page. On those pages the actor still returns title, price, city, seller, images, posting time and a shortened description, but `specChips`, `attributes`, `sellerRating` and `postedDate` are empty. `_source` starts with `S2-` for rows read this way.
- **Use the residential proxy.** Some addresses get refused; the actor retries those automatically on a fresh address.

# Actor input Schema

## `categoryPaths` (type: `array`):

Category paths to scrape, such as 'cars/cars-for-sale', 'property/property-for-sale' or 'jobs/job-vacancies'. A full OpenSooq URL also works and its country is honoured over the Country field. A make can be appended as a further segment ('cars/cars-for-sale/toyota'), which really does filter. A city cannot: city segments return 410 and the ?city= parameter is accepted and then ignored.

## `country` (type: `string`):

Which OpenSooq country site to read. Prices come back in that country's currency. Ignored for entries in Category paths that are full URLs, since those name their own country.

## `language` (type: `string`):

Language of the labels in the results. The listings are the same either way; 'en' gives English city, category and spec labels, 'ar' gives Arabic ones. Listing titles are whatever the seller wrote.

## `sortCode` (type: `string`):

How the source orders results. 'recent' was verified to genuinely reorder them (only 1 of 30 listings overlapped with the default order). Leave empty for the site's default, which mixes promoted listings in.

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

Stop after this many listings for each category path. The source serves 30 per page.

## `maxPages` (type: `integer`):

A second, independent ceiling on requests. Paging also stops on its own at the page count the source reports and at the first empty page.

## `includeDescription` (type: `boolean`):

Add the seller's description text to each row. It is the description as the site publishes it, with contact details already removed by the site. Off by default because it makes rows several times larger.

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

Residential proxy is recommended. The site answers 403 from some exit IPs regardless of the URL, and the actor retries those on fresh sessions.

## Actor input object example

```json
{
  "categoryPaths": [
    "cars/cars-for-sale"
  ],
  "country": "ae",
  "language": "en",
  "sortCode": "",
  "maxItems": 300,
  "maxPages": 50,
  "includeDescription": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

One row per scraped record, stored in the run's default dataset.

# 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 = {
    "categoryPaths": [
        "cars/cars-for-sale"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("xtracto/opensooq-listings").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 = { "categoryPaths": ["cars/cars-for-sale"] }

# Run the Actor and wait for it to finish
run = client.actor("xtracto/opensooq-listings").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 '{
  "categoryPaths": [
    "cars/cars-for-sale"
  ]
}' |
apify call xtracto/opensooq-listings --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,xtracto/opensooq-listings"
        }
    }
}
```

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/nzlIHz8oCCje9liFj/builds/aiLo2zJfJEQb8e4aP/openapi.json
