# CarSwitch Cars Scraper — Used Cars UAE & Saudi Arabia (`boring_internet_explorer/carswitch-scraper`) Actor

Extracts used car listings from CarSwitch (UAE and Saudi Arabia) in English and Arabic: price, year, mileage, make, model, city, specs, deal rating, financing and images.

- **URL**: https://apify.com/boring_internet_explorer/carswitch-scraper.md
- **Developed by:** [Boring Internet Explorer](https://apify.com/boring_internet_explorer) (community)
- **Security:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 80.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.30 / 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

## 🚗 CarSwitch Cars Scraper — UAE & Saudi Arabia Cars Marketplace Data

[CarSwitch](https://carswitch.com) is a used-car marketplace in the UAE and Saudi Arabia (KSA) where every car is inspected and listed with a fixed price, financing options and photos. This scraper extracts used-car listings from both markets, in English and Arabic, so you can track prices, supply and demand across Dubai, Abu Dhabi, Sharjah, Riyadh, Jeddah and Dammam.

### Why use this scraper?

- 📈 **Price monitoring** – track asking prices by make, model, year and city over time
- 🏷️ **Market benchmarking** – compare UAE (AED) and Saudi (SAR) prices for the same model
- 🔎 **Inventory tracking** – watch how many cars of a make or category are listed
- 💳 **Financing analysis** – monthly instalment amounts and finance eligibility per car
- 🎯 **Deal detection** – CarSwitch's own deal rating and price-drop flags per listing
- 🖼️ **Lead and catalogue building** – photos, specs, VIN and descriptions in one clean dataset
- 🌐 **Bilingual coverage** – English and Arabic URLs both supported

### Supported URL types

| Type                           | Example                                                      |
| ------------------------------ | ------------------------------------------------------------ |
| UAE city search                | `https://carswitch.com/dubai/used-cars/search`               |
| UAE country search             | `https://carswitch.com/uae/used-cars/search`                 |
| UAE make page                  | `https://carswitch.com/dubai/used-cars/toyota`               |
| UAE category page              | `https://carswitch.com/uae/used-cars/7-seater-cars-for-sale` |
| UAE Arabic                     | `https://carswitch.com/ar/dubai/used-cars/toyota`            |
| KSA make page (Arabic default) | `https://ksa.carswitch.com/riyadh/used-cars/toyota`          |
| KSA English                    | `https://ksa.carswitch.com/en/riyadh/used-cars/toyota`       |
| Specific page                  | `https://carswitch.com/dubai/used-cars/toyota?page=3`        |

Filters in the URL path (city, make, category) and query-parameter filters (price, year, mileage, body type, …) are all supported. Copy the URL from the CarSwitch search page after applying your filters.

### Input fields

| Field                | Type    | Default                    | Description                                                            |
| -------------------- | ------- | -------------------------- | ---------------------------------------------------------------------- |
| `startUrls`          | array   | –                          | CarSwitch listing or search URLs                                       |
| `maxItems`           | integer | 5                          | Maximum number of cars to scrape per start URL                         |
| `proxyConfiguration` | object  | `{"useApifyProxy": false}` | Apify proxy settings. **Residential proxies are required** (see below) |

### Example input

```json
{
  "startUrls": [{ "url": "https://carswitch.com/dubai/used-cars/toyota" }],
  "maxItems": 5,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"]
  }
}
```

### 🔒 Proxy: residential proxies required

CarSwitch rate-limits and challenges repeated requests from the same IP, especially from datacenter ranges. **Use Apify residential proxies** (`useApifyProxy: true` with the `RESIDENTIAL` group). Runs without a proxy, or with datacenter proxies, are likely to be blocked partway through. Requests are sent one at a time with a short delay to stay within the site's limits.

### Output

Each scraped item is stored as one record in the default dataset.

### Example output

```json
{
  "scrapedAt": "2026-11-02T09:33:19.092Z",
  "url": "https://ksa.carswitch.com/riyadh/used-car/toyota/yaris/2024/885745",
  "title": "2024 Toyota Yaris",
  "price": 50500,
  "currency": "SAR",
  "country": "Saudi Arabia",
  "market": "sa",
  "language": "en",
  "id": "885745",
  "make": "toyota",
  "model": "yaris",
  "variant": null,
  "year": 2024,
  "mileageKm": 75000,
  "city": "riyadh",
  "color": "silver",
  "regionalSpecs": "saudi",
  "cylinders": "i4",
  "engineSize": "1.3",
  "transmission": "Automatic",
  "vin": "BUYWITHCS00885745",
  "description": "Buy certified Toyota Yaris I4 1.3 2024 for just SAR 50500. Check out specs, pictures, and so much more on CarSwitch.",
  "monthlyPrice": 1121,
  "emiMonthly": 1121,
  "crossedPrice": 0,
  "discount": 0,
  "discountPercentage": 0,
  "priceDropped": false,
  "dealRating": null,
  "isFeatured": true,
  "topCondition": false,
  "negotiable": false,
  "eligibleForFinance": true,
  "listingType": "safe_switch",
  "hasVideo": true,
  "coverImage": "https://d1esl34bhh6pms.cloudfront.net/cars/used/images/original/1228c392-e292-4ece-900a-a3269a8554fc",
  "images": [
    "https://d1esl34bhh6pms.cloudfront.net/cars/used/images/original/1228c392-e292-4ece-900a-a3269a8554fc",
    "https://d1esl34bhh6pms.cloudfront.net/cars/used/images/original/8b569fe4-0704-4b8c-ad4c-fb73450c239b"
  ]
}
```

### Field reference

| Field                                                                        | Type                      | Description                                      |
| ---------------------------------------------------------------------------- | ------------------------- | ------------------------------------------------ |
| `scrapedAt`                                                                  | string                    | ISO 8601 scrape timestamp                        |
| `url`                                                                        | string                    | Full listing URL                                 |
| `title`                                                                      | string                    | Car title, e.g. "2024 Toyota Yaris"              |
| `price`                                                                      | number | null            | Asking price                                     |
| `currency`                                                                   | string                    | `AED` (UAE) or `SAR` (Saudi Arabia)              |
| `country`                                                                    | string                    | `UAE` or `Saudi Arabia`                          |
| `market`                                                                     | string                    | `uae` or `sa`                                    |
| `language`                                                                   | string                    | `en` or `ar`, from the start URL                 |
| `id`                                                                         | string                    | CarSwitch listing ID                             |
| `make`, `model`, `variant`                                                   | string | null            | Vehicle identity                                 |
| `year`                                                                       | number | null            | Model year                                       |
| `mileageKm`                                                                  | number | null            | Odometer reading in km                           |
| `city`                                                                       | string | null            | City of the car                                  |
| `color`                                                                      | string | null            | Exterior color                                   |
| `regionalSpecs`                                                              | string | null            | Regional specification (GCC, American, Saudi, …) |
| `cylinders`, `engineSize`                                                    | string | null            | Engine details                                   |
| `transmission`                                                               | string | null            | Transmission type                                |
| `vin`                                                                        | string | null            | Listing VIN reference                            |
| `description`                                                                | string | null            | Listing description                              |
| `monthlyPrice`, `emiMonthly`                                                 | number | null            | Monthly instalment amounts                       |
| `crossedPrice`, `discount`, `discountPercentage`, `priceDropped`             | number | boolean | null | Price reduction data                             |
| `dealRating`                                                                 | string | null            | `great`, `good`, `fair` or null                  |
| `isFeatured`, `topCondition`, `negotiable`, `eligibleForFinance`, `hasVideo` | boolean | null           | Listing flags                                    |
| `listingType`                                                                | string | null            | CarSwitch listing program                        |
| `coverImage`                                                                 | string | null            | Cover photo URL                                  |
| `images`                                                                     | string\[]                  | Up to 10 photo URLs                              |

### ❓ FAQ

**Which countries are covered?** The UAE (`carswitch.com`) and Saudi Arabia (`ksa.carswitch.com`).

**Does it support Arabic?** Yes. Use `/ar/` URLs on the UAE site; the Saudi site is Arabic by default and uses `/en/` for English. The `language` field reflects the start URL. Values such as make and city are returned as site codes in both languages.

**Can I use filters?** Yes. Path filters (city, make, category) and query-parameter filters (price, year, mileage, body type, …) are supported. Paste the filtered URL from the site.

**How does pagination work?** The scraper follows pages automatically until `maxItems` or the last page is reached. A start URL with `?page=N` begins at that page.

**What happens with an unknown make?** CarSwitch redirects it to the general search page, so you get general listings instead of an empty result. Use makes that appear on the site.

**How fresh is the data?** It is read live from the site on every run.

### 🔗 Want More Data?

- [🚗 Hatla2ee هتلاقي Scraper - Used & New Cars, 6 MENA Markets](https://apify.com/boring_internet_explorer) - Scrape used cars, imported cars and new cars, trucks, buses and motorcycles from Hatla2ee in Egypt, Kuwait, Oman, Qatar, Saudi Arabia and the UAE. Get prices, mileage, specs, locations, photos and seller details with one unified output.

- [Syarah سيارة Cars Scraper - Used & New Cars in Saudi Arabia](https://apify.com/boring_internet_explorer/syarah-scraper) - Scrape used and new car listings from Syarah (syarah.com), Saudi Arabia: prices in SAR, make, model, year, mileage, city, fuel, discounts, financing and warranty. Works with brand, model, filter and keyword search URLs.

- [Dubizzle دوبيزل Saudi Arabia Scraper - Cars & Properties](https://apify.com/boring_internet_explorer/dubizzle-scraper) - Scrape listing data from Dubizzle Saudi Arabia (dubizzle.sa) — the leading classifieds marketplace in KSA. Extracts titles, prices, locations, seller details, photos, and attributes across vehicles, properties, electronics, mobile phones, pets, and more. Supports category, search, and filtered URLs.

- [YallaMotor Cars Scraper – GCC & Egypt Used & New Cars Data](https://apify.com/boring_internet_explorer/yallamotor-scraper) - Scrape YallaMotor (يلا موتور) car data: used and new car listings and new car prices with price, make, model, year, mileage, city, specs and images. Covers GCC countries (UAE, Saudi Arabia, Qatar, Kuwait, Oman, Bahrain) and Egypt, in English and Arabic.

### 🛠️ Need a custom scraper?

Need this scraper adapted to your use case — extra fields, additional filters, a different output format, or a new website? Reach out at boringinternetexplorer@gmail.com and we'll make it happen.

# Actor input Schema

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

CarSwitch listing or search URLs, e.g. a city search, a make page or a category page. Path filters (city, make, category) and query-parameter filters are supported. English and Arabic URLs both work.

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

The maximum number of cars to scrape per start URL

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

Residential proxies are required for reliable runs and strongly preferred over datacenter proxies or no proxy: CarSwitch rate-limits and challenges repeated requests from a single or datacenter IP. Select Apify Proxy with the RESIDENTIAL group.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://carswitch.com/dubai/used-cars/toyota"
    }
  ],
  "maxItems": 5,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `overview` (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 = {
    "startUrls": [
        {
            "url": "https://carswitch.com/dubai/used-cars/toyota"
        }
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("boring_internet_explorer/carswitch-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 = {
    "startUrls": [{ "url": "https://carswitch.com/dubai/used-cars/toyota" }],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("boring_internet_explorer/carswitch-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 '{
  "startUrls": [
    {
      "url": "https://carswitch.com/dubai/used-cars/toyota"
    }
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call boring_internet_explorer/carswitch-scraper --silent --output-dataset

```

## MCP server setup

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