# SA Price Comparator (Takealot, Makro, Amazon, Bob Shop) (`lonwabo/south-africa-retail-price-comparator`) Actor

Compare retail prices across South Africa's top 5 stores: Takealot, Makro, Amazon ZA, Bob Shop, and Game. Features real-time ZAR deal detection, price spread calculations, and dedicated store tabs.

- **URL**: https://apify.com/lonwabo/south-africa-retail-price-comparator.md
- **Developed by:** [Lonwabo Mfundisi](https://apify.com/lonwabo) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $8.00 / 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.

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

## 🇿🇦 South Africa Retail Price Comparator (Takealot, Makro, Amazon ZA, Bob Shop & Game)

Compare prices in real time across South Africa's **top 5 e-commerce and retail giants**: **Takealot**, **Makro**, **Amazon South Africa**, **Bob Shop** (formerly Bidorbuy), and **Game**.

Instantly find the cheapest retailer, compute live price spreads in South African Rand (ZAR), filter out accessories or used listings with one click, sort deals by highest Rand savings or lowest price, and explore each store's catalog inside **dedicated per-store tabs**.

***

### 🚀 Key Features

- **🇿🇦 Top 5 South African Retailers in One Run (Individual ON/OFF Toggles):**
  - **Takealot** (`takealot.com`): South Africa's #1 e-commerce marketplace.
  - **Makro** (`makro.co.za`): Massmart/Walmart big-box wholesale and general retail.
  - **Amazon South Africa** (`amazon.co.za`): Amazon's dedicated South African marketplace with Prime eligibility.
  - **Bob Shop** (`bobshop.co.za`): SA's leading consumer marketplace and auction platform.
  - **Game** (`game.co.za`): Massmart discount department chain for tech, gaming, and appliances.
- **🛡️ Smart Accessory, Used & Out-of-Stock Guards:**
  - **Exclude Accessories & Cables (`excludeAccessories`):** Filters out stands, cooling stations, chargers, power supplies, covers, cases, pouches, skins, and cables when searching for consoles or main hardware (while keeping them automatically if your search query asks for an accessory).
  - **Brand New Items Only (`brandNewOnly`):** Excludes second-hand, used, pre-owned, and refurbished listings (e.g., on Bob Shop) from skewing brand-new price comparisons.
  - **In-Stock Items Only (`inStockOnly`):** Ensures only purchasable, in-stock offers are compared.
- **⚡ Fuzzy Entity Matching & Synonym Normalization:** Groups identical products across stores (e.g., matching `"2 TB"` with `"2TB"`, `"Hard Disk Drive"` with `"HDD"`, `"Western Digital"` with `"WD"`, and `"PlayStation 5"` with `"PS5"`).
- **💰 Live Arbitrage Analytics & Custom Sorting (`sortBy`):**
  - Calculates `bestPrice` (ZAR), `highestPrice`, `cheapestStore`, `priceSpread`, `savingsPercentage`, and `dealVerdict` (e.g. `🔥 SAVE R1,149 (55%) ON BOB SHOP`).
  - Sort results by **Biggest Rand Savings**, **Lowest Price**, **Most Stores Matched**, or **Highest Savings %**.
- **📑 8 Organized Dataset Tabs:**
  - **Tab 1: Best Deals Overview** — Winner summary, image, savings spread, verdict, and direct best deal URL.
  - **Tab 2: Side-by-Side Store Matrix** — Parallel price & URL columns across all 5 South African stores.
  - **Tabs 3–7: Dedicated Store Tabs (`Takealot`, `Makro`, `Amazon ZA`, `Bob Shop`, `Game`)** — Rich store-specific ratings, review counts, list prices, seller verification, Prime status, stock levels, and links.
  - **Tab 8: All Fields** — Complete raw JSON dataset including nested `rawOffers`.

***

### 🛠️ How It Works

```text
                             ┌──────────────────────┐
                             │    Search Queries    │ (e.g. "PlayStation 5 Console")
                             └──────────┬───────────┘
                                        │
        ┌───────────────┬───────────────┼───────────────┬───────────────┐
        ▼               ▼               ▼               ▼               ▼
  ┌───────────┐   ┌───────────┐   ┌───────────┐   ┌───────────┐   ┌───────────┐
  │ Takealot  │   │   Makro   │   │ Amazon ZA │   │ Bob Shop  │   │   Game    │
  │ REST API  │   │   State   │   │ Mobile/ZA │   │ v3 JSON   │   │  OCC API  │
  └─────┬─────┘   └─────┬─────┘   └─────┬─────┘   └─────┬─────┘   └─────┬─────┘
        └───────────────┴───────────────┼───────────────┴───────────────┘
                                        ▼
                        ┌───────────────────────────────┐
                        │   Price, Condition, Stock &   │ (Filters R50–R150k, New Only,
                        │    Accessory Cleanse Guard    │  In-Stock Only, No Cables/Cases)
                        └───────────────┬───────────────┘
                                        ▼
                        ┌───────────────────────────────┐
                        │  Fuzzy Cross-Store Matcher    │ (Groups identical models &
                        │   & Deal Spread Calculator    │  calculates ZAR savings)
                        └───────────────┬───────────────┘
                                        ▼
                        ┌───────────────────────────────┐
                        │   8-Tab Apify Dataset Views   │ (Overview, Side-by-Side Matrix,
                        │   & 5 Per-Store Deep Dives    │  5 Individual Store Tabs, JSON)
                        └───────────────────────────────┘
```

***

### 📊 Dataset Tabs Overview

| Tab | Purpose | Key Columns Displayed |
| :--- | :--- | :--- |
| **Best Deals Overview** | Main cross-store comparison | Product Image, Matched Title, Best Price (ZAR), Cheapest Store, Deal Verdict, Savings %, Best Deal Link |
| **Side-by-Side Store Matrix** | Parallel 5-store pricing matrix | Matched Title, Takealot Price, Makro Price, Amazon ZA Price, Bob Shop Price, Game Price, Links |
| **Takealot** | Deep-dive Takealot deals | Image, Title, Price, List Price, Discount %, Star Rating, Reviews, In Stock, Estimated Delivery, Link |
| **Makro** | Deep-dive Makro deals | Image, Title, Price, List Price, Discount %, Brand, Rating, Reviews, Stock Status, Link |
| **Amazon ZA** | Deep-dive Amazon ZA deals | Image, Title, Price, List Price, Discount %, Prime Badge, Star Rating, Reviews, Delivery Info, ASIN, Link |
| **Bob Shop** | Deep-dive Bob Shop deals | Image, Title, Price, RRP, Seller Name, Verified Seller, Condition, Listing Type, Shipping Flag, Link |
| **Game** | Deep-dive Game deals | Image, Title, Deal Price, List Price, Discount, Brand, In Stock, Stock Status, Link |
| **All Fields** | Complete raw dataset | All fields, nested `rawOffers`, and ISO timestamps in JSON / CSV / Excel |

***

### 🚀 How to Use

#### Method 1: Apify Console

1. Sign in to [Apify Console](https://console.apify.com) and open **SA Price Comparator (Takealot, Makro, Amazon, Bob Shop)**.
2. Add your product keywords in **Search Queries** (e.g., `Samsung 55 inch TV`, `PlayStation 5 Console`, `External HDD 2TB`).
3. Expand **Stores to Compare (Turn ON/OFF)** to switch any of the 5 stores on or off.
4. Adjust **Price & Filter Controls** (`Minimum Price`, `Maximum Price`, `Exclude Accessories`, `Brand New Only`, `In-Stock Only`, `Only Multi-Store Matches`, `Sort Results By`).
5. Click **Start**, then switch between the 8 dataset tabs or export to **Excel, CSV, or JSON**.

#### Method 2: Apify API (cURL)

```bash
curl --request POST \
  --url "https://api.apify.com/v2/actors/lonwabo~south-africa-retail-price-comparator/runs?token=YOUR_API_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{
    "searchQueries": ["PlayStation 5 Console", "External HDD 2TB"],
    "includeTakealot": true,
    "includeMakro": true,
    "includeAmazon": true,
    "includeBobShop": true,
    "includeGame": true,
    "maxItemsPerStore": 10,
    "minPrice": 50,
    "maxPrice": 150000,
    "excludeAccessories": true,
    "brandNewOnly": true,
    "inStockOnly": true,
    "onlyMultiStoreMatches": false,
    "sortBy": "priceSpreadDesc"
  }'
```

***

### 🖥️ Interactive HTML Comparison Report (`report.html`)

In addition to exporting the structured Dataset in **JSON, CSV, Excel, or built-in HTML table (`format=html`)**, every run generates a standalone, self-contained **Interactive HTML Comparison Report (`report.html`)** directly inside the Apify Console **Output** tab (and via a shareable Key-Value Store link):

- **Horizontal View & Store Tabs** — Switch seamlessly between **Best Deals Cards**, **Side-by-Side Matrix**, and **5 dedicated individual store tabs** (**Takealot**, **Makro**, **Amazon ZA**, **Bob Shop**, **Game**), each displaying live matched item counts.
- **Deep-Linkable Tabs (`#tab=...`)** — Every tab updates the URL hash (e.g. `#tab=matrix`) so you can bookmark or share a specific merchant view directly.
- **Aligned Deal Cards & Specs** — Product thumbnails, uniform spec & brand badges, green cheapest-store highlights, spread savings pills, and clickable **View Best Deal** buttons.
- **Live Controls, Full Screen & Instant Exports** — Keyword search, multi-column sort (`Biggest Savings (R)`, `Lowest Price (R)`, `Highest Spread %`, `Most Stores Matched`), `2+ Stores Only` toggle, plus one-click **Download CSV**, **Download JSON**, **Print / PDF Quote**, and **Full Screen (`⛶`)** buttons.

![South Africa Retail Price Comparison Report — Interactive HTML View](https://api.apify.com/v2/key-value-stores/44gjIna4ipGc3tD78/records/south-africa-retail-price-comparator-v1.png?signature=aNIQik65BtqruE6OkL0p)

#### ⏰ Automated Schedules & Email / Slack Alerts (Apify Integrations)

Want daily or weekly price updates delivered automatically? Instead of storing credentials inside the Actor, use Apify's built-in **Schedules** and **Integrations**:

1. Save your preferred search terms and store toggles as a **Task**, then set a recurring **Schedule** (e.g., daily at 8:00 AM or every Monday morning).
2. Open the Actor/Task **Integrations** tab in Apify Console and connect **Send Email (`apify/send-mail`)**, **Slack (`apify/slack-alert`)**, **Google Sheets**, **Make**, **Zapier**, or a **Webhook** triggered on `Run succeeded`.
3. Include `{{links.apiDefaultKeyValueStoreUrl}}/records/report.html` or `{{links.apiDefaultDatasetUrl}}/items?format=csv` in your alert payload to receive the live HTML report or spreadsheet automatically after every scheduled run.

***

### 📥 Input Parameters

| Parameter | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `searchQueries` | `array` | `["Samsung 55 inch TV", ...]` | List of product queries to compare across stores. |
| `includeTakealot` | `boolean` | `true` | Toggle Takealot (`takealot.com`) ON/OFF. |
| `includeMakro` | `boolean` | `true` | Toggle Makro (`makro.co.za`) ON/OFF. |
| `includeAmazon` | `boolean` | `true` | Toggle Amazon South Africa (`amazon.co.za`) ON/OFF. |
| `includeBobShop` | `boolean` | `true` | Toggle Bob Shop (`bobshop.co.za`) ON/OFF. |
| `includeGame` | `boolean` | `true` | Toggle Game (`game.co.za`) ON/OFF. |
| `maxItemsPerStore` | `integer` | `10` | Maximum valid products to include per store for each search query (`1`–`50`). |
| `minPrice` | `integer` | `50` | Minimum price threshold in ZAR (`R`) to ignore minor items. |
| `maxPrice` | `integer` | `150000` | Maximum price threshold in ZAR (`R`). *(Raise above R15,000 when comparing consoles/TVs.)* |
| `excludeAccessories` | `boolean` | `true` | Filters out covers, stands, chargers, adapters, skins, and cables when searching for main hardware. |
| `brandNewOnly` | `boolean` | `true` | Excludes second-hand, used, pre-owned, and refurbished offers (e.g., on Bob Shop). |
| `inStockOnly` | `boolean` | `true` | Only includes store offers currently available in stock. |
| `onlyMultiStoreMatches` | `boolean` | `false` | When `true`, filters output to only show products found in 2 or more stores. |
| `sortBy` | `string` | `"priceSpreadDesc"` | Sort order: `priceSpreadDesc` (Biggest Savings), `bestPriceAsc` (Lowest Price), `storesComparedDesc` (Most Stores), or `savingsPercentDesc` (Highest Savings %). |
| `includeFields` | `array` | `["productImage", "brand", "storeColumns", "dealVerdict"]` | Deselect optional dense fields to keep the dataset lightweight. |
| `minSimilarityScore` | `number` | `0.40` | Fuzzy matching sensitivity (`0.2` to `0.9`) to group identical models across stores. |
| `proxyConfiguration` | `object` | `{ "useApifyProxy": true }` | Apify Proxy configuration for reliable cloud execution. |

#### Example Input JSON

```json
{
  "searchQueries": [
    "Samsung 55 inch TV",
    "PlayStation 5 Console",
    "Ninja Air Fryer"
  ],
  "includeTakealot": true,
  "includeMakro": true,
  "includeAmazon": true,
  "includeBobShop": true,
  "includeGame": true,
  "maxItemsPerStore": 10,
  "minPrice": 50,
  "maxPrice": 150000,
  "excludeAccessories": true,
  "brandNewOnly": true,
  "inStockOnly": true,
  "onlyMultiStoreMatches": false,
  "sortBy": "priceSpreadDesc",
  "includeFields": [
    "productImage",
    "brand",
    "storeColumns",
    "dealVerdict"
  ],
  "minSimilarityScore": 0.40,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

***

### 📤 Output Data Sample

```json
{
  "productImage": "https://media.takealot.com/covers_images/676a643ff0564222b4e08e132460b064/s-pdpx.file",
  "matchedProductTitle": "PlayStation 5 Console (Slim) - Glacier White (PS5)",
  "bestPrice": 13499,
  "cheapestStore": "Makro",
  "dealVerdict": "🔥 SAVE R1,400 (9%) ON MAKRO",
  "priceSpread": 1400,
  "savingsPercentage": 9,
  "highestPrice": 14899,
  "storesCompared": 3,
  "platformsCompared": "Takealot, Makro, Amazon ZA",
  "bestDealUrl": "https://www.makro.co.za/playstation-5-slim/p/itm12345",
  "currency": "ZAR",
  "searchQuery": "PlayStation 5 Console",

  "takealotPrice": 14899,
  "takealotUrl": "https://www.takealot.com/playstation-5-slim/PLID98765432",
  "makroPrice": 13499,
  "makroUrl": "https://www.makro.co.za/playstation-5-slim/p/itm12345",
  "amazonPrice": 13999,
  "amazonUrl": "https://www.amazon.co.za/dp/B0CL5KNB9M",
  "bobShopPrice": null,
  "bobShopUrl": null,
  "gamePrice": null,
  "gameUrl": null,

  "takealotRating": 4.9,
  "takealotReviews": 420,
  "takealotInStock": true,
  "makroInStock": true,
  "amazonPrime": true,
  "brand": "Sony",
  "scrapedAt": "2026-11-17T12:00:00.000Z"
}
```

***

### ❓ Frequently Asked Questions & Tips

- **Why were my high-ticket consoles missing?** Ensure `Maximum Price (R)` is higher than the product's retail price (e.g., keep it at `150000` when scanning PS5s, Xbox consoles, or large TVs).
- **How do I match more products across stores?** Increase `Max Items Per Store` to `10`–`20` or lower `Fuzzy Matching Sensitivity` slightly (e.g. `0.35`) so minor title wording differences between Takealot, Makro, and Amazon ZA merge cleanly.
- **Need second-hand/refurbished deals from Bob Shop?** Turn OFF `Brand New Items Only` (`brandNewOnly: false`).

***

### 🔌 Integrations & Export Formats

- **Spreadsheets:** Export any tab directly to **Excel (.xlsx)** or **CSV**.
- **Google Sheets:** Pull live results into sheets with `=IMPORTDATA(datasetUrl)`.
- **Automation (Make / Zapier / n8n):** Trigger instant Slack, Discord, or WhatsApp deal alerts on a schedule via Apify Webhooks.
- **Custom Apps / REST API:** Fetch structured JSON directly from the Apify Dataset API.

***

### 🔗 Related Actors

Explore other South African retail scrapers and China B2B sourcing actors by [Lonwabo Mfundisi](https://apify.com/lonwabo):

- **[Amazon South Africa Product & Price Scraper](https://apify.com/lonwabo/amazon-za-scraper)** — Dedicated fast scraper for Amazon ZA (`amazon.co.za`) with 15% VAT breakdown, Prime status, ASINs, and ratings.
- **[PriceCheck South Africa Product Scraper](https://apify.com/lonwabo/pricecheck-za-scraper)** — Extract multi-merchant South African listings and market intelligence in ZAR.
- **[Evetech South Africa PC Hardware Scraper](https://apify.com/lonwabo/evetech-scraper)** — Extract gaming laptops, GPUs, CPUs, components, and monitors from Evetech.
- **[Incredible Connection South Africa Tech Scraper](https://apify.com/lonwabo/incredible-scraper)** — Scrape laptops, monitors, inverters, and office electronics in ZAR.
- **[Builders Warehouse South Africa Scraper](https://apify.com/lonwabo/builders-warehouse-scraper)** — Scrape power tools, building materials, hardware, and solar inverters from Builders.
- **[Global B2B Wholesale Price Comparator](https://apify.com/lonwabo/global-b2b-wholesale-comparator)** — Compare Chinese factory prices & MOQs across Made-in-China, YiwuGo, and DHgate.
- **[China Freight Forwarders & Shipping Directory Scraper](https://apify.com/lonwabo/china-freight-forwarders-scraper)** — Find verified China freight forwarders across Shenzhen, Ningbo & Yiwu with emails, phones, air/ocean cargo, and FBA DDP rates.

***

### 💬 Support & Feedback

Need another South African retailer added (e.g., HiFi Corp, Checkers Sixty60, Woolworths, Evetech) or custom schema fields?

- Open a ticket under the **Issues** tab on Apify Console.
- Connect with [Lonwabo Mfundisi on Apify](https://apify.com/lonwabo).

# Actor input Schema

## `searchQueries` (type: `array`):

List of product queries to compare across South African retail stores (e.g. 'Samsung 55 inch TV', 'PlayStation 5 Console', 'Ninja Air Fryer', 'Defy Fridge', 'DeLonghi Coffee Machine').

## `includeTakealot` (type: `boolean`):

Include Takealot — South Africa's #1 e-commerce marketplace.

## `includeMakro` (type: `boolean`):

Include Makro — Massmart/Walmart big-box wholesale & general merchandise.

## `includeAmazon` (type: `boolean`):

Include Amazon South Africa — Official Amazon ZA marketplace.

## `includeBobShop` (type: `boolean`):

Include Bob Shop — Leading consumer marketplace & auctions (formerly Bidorbuy).

## `includeGame` (type: `boolean`):

Include Game — Massmart discount department retailer for tech & appliances.

## `maxItemsPerStore` (type: `integer`):

Maximum candidate search results to inspect per store for each search query.

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

Ignore items priced lower than this threshold (useful to filter out cheap cables, phone covers, or accessories).

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

Ignore items priced higher than this threshold.

## `excludeAccessories` (type: `boolean`):

Automatically filters out stands, cooling stations, cases, covers, chargers, adapters, cables, and skins when searching for main consoles or devices.

## `brandNewOnly` (type: `boolean`):

Excludes second-hand, used, pre-owned, and refurbished listings (e.g. on Bob Shop) from skewing the lowest price comparison.

## `inStockOnly` (type: `boolean`):

Only include store offers that are currently available in stock.

## `onlyMultiStoreMatches` (type: `boolean`):

When enabled, only outputs products found in 2 or more stores for direct price comparison.

## `sortBy` (type: `string`):

Choose how the comparison dataset is ordered.

## `includeFields` (type: `array`):

Deselect optional dense fields to keep dataset lightweight. Core comparison fields (Product Title, Best Price, Cheapest Store, Deal Verdict, Best Deal Link) are permanently included.

## `minSimilarityScore` (type: `number`):

Similarity score (0.2 to 0.9) required to match products across different stores. Default 0.40 balances recall and accuracy.

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

Apify Proxy settings to ensure high success rates across protected retail platforms.

## Actor input object example

```json
{
  "searchQueries": [
    "Samsung 55 inch TV",
    "PlayStation 5 Console",
    "Ninja Air Fryer"
  ],
  "includeTakealot": true,
  "includeMakro": true,
  "includeAmazon": true,
  "includeBobShop": true,
  "includeGame": true,
  "maxItemsPerStore": 10,
  "minPrice": 50,
  "maxPrice": 150000,
  "excludeAccessories": true,
  "brandNewOnly": true,
  "inStockOnly": true,
  "onlyMultiStoreMatches": false,
  "sortBy": "priceSpreadDesc",
  "includeFields": [
    "productImage",
    "brand",
    "storeColumns",
    "dealVerdict"
  ],
  "minSimilarityScore": 0.4,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `htmlReport` (type: `string`):

Interactive side-by-side comparison cards, store tabs, matrix view, search/sort controls, Full Screen toggle, and CSV/JSON/Print export.

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

Structured dataset containing matched multi-store prices, spreads, store columns, stock status, and direct buy links.

# 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 = {
    "searchQueries": [
        "Samsung 55 inch TV",
        "PlayStation 5 Console",
        "Ninja Air Fryer"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("lonwabo/south-africa-retail-price-comparator").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 = { "searchQueries": [
        "Samsung 55 inch TV",
        "PlayStation 5 Console",
        "Ninja Air Fryer",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("lonwabo/south-africa-retail-price-comparator").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 '{
  "searchQueries": [
    "Samsung 55 inch TV",
    "PlayStation 5 Console",
    "Ninja Air Fryer"
  ]
}' |
apify call lonwabo/south-africa-retail-price-comparator --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,lonwabo/south-africa-retail-price-comparator"
        }
    }
}
```

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/79O1lGE5QJw3RAGsY/builds/L1vH1WRK3r9sbhFVI/openapi.json
