# Takealot Product Scraper (`ashersam01/takealot-product-scraper`) Actor

- **URL**: https://apify.com/ashersam01/takealot-product-scraper.md
- **Developed by:** [Asher Samwaka](https://apify.com/ashersam01) (community)
- **Categories:** E-commerce
- **Stats:** 3 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## 🛒 Takealot Product Scraper

> **Track competitor pricing, monitor stock, and extract product data from South Africa's #1 online retailer — in minutes.**

Takealot is South Africa's largest e-commerce platform, with over R14.9B in annual revenue and millions of products across thousands of categories. This actor gives you instant, structured access to **any Takealot search or category** — ready to download as JSON, CSV, or Excel.

***

### 🌍 What You Get

Run once. Get any Takealot search result as a clean, structured dataset.

| Feature | Supported |
|---|---|
| 🔍 **Search any query** | ✅ Yes |
| 🏷️ **Filter by brand** | ✅ Yes |
| 💰 **Filter by price range** | ✅ Yes |
| 📊 **Sort by price, rating, or newest** | ✅ Yes |
| 📦 **Stock availability** | ✅ Yes |
| 🏬 **Per-warehouse stock (CPT/JHB/DBN)** | ✅ Yes |
| 💸 **Original price + discount %** | ✅ Yes |
| ⭐ **Rating + review count** | ✅ Yes |
| 🖼️ **Product images** | ✅ Yes |
| 🌐 **No login or API key required** | ✅ Yes |

***

### 📊 Sample Output

Here's what a typical record looks like:

```json
{
  "plid": 99450324,
  "title": "HP 250 RT G9 Intel Celeron N150 8GB DDR4 256GB NVMe SSD 15.6\" FHD Notebook",
  "subtitle": "HP 250 | Designed for everyday business tasks",
  "brand": "HP",
  "product_url": "https://www.takealot.com/hp-250-rt-g9-intel-celeron-n150-8gb-ddr4-256gb-nvme-ssd-15-6-fhd/PLID99450324",
  "image_url": "https://media.takealot.com/covers_images/93e5da4a51e44735aaf286dc64de7737/s-380.file",
  "current_price": 5999,
  "listing_price": 6999,
  "saving_percent": "14%",
  "price_display": "R 5,999",
  "rating": 4.6,
  "review_count": 77,
  "in_stock": true,
  "stock_status": "In stock",
  "is_imported": false,
  "warehouses": ["CPT", "JHB"],
  "estimated_delivery": "Get it Tomorrow, 8am - 7pm",
  "offer_id": 225375450,
  "tsin": 100925871,
  "is_preorder": false,
  "badges": ["14% off"],
  "image_count": 5
}
```

Every record includes **22 fields** — pricing, stock, ratings, warehouse availability, and a direct link to the product.

***

### 💼 What Can You Build With This?

**📈 Competitor Price Tracking**
Marketplace sellers can monitor competitor pricing daily, identify undercuts, and adjust offers automatically.

**🏬 Stock & Inventory Intelligence**
Track which products are running low across CPT/JHB/DBN warehouses. Identify pre-order opportunities.

**🔍 Product Research for Sellers**
Find which products are best-rated, which categories are underserved, and where to position new SKUs.

**📰 Retail Analytics & Journalism**
Track inflation, brand presence, and category trends across South Africa's largest retailer.

**🎯 Marketing & Brand Monitoring**
Track how brands rank in Takealot search results, monitor review counts, and benchmark against competitors.

**💡 Deal Aggregators**
Build a price comparison app or deal-tracking service powered by fresh Takealot data.

***

### ⚙️ How To Use It

**Step 1 — Set your search**

```json
{
  "search_query": "laptop",
  "brand": "HP",
  "price_min": 5000,
  "price_max": 15000,
  "sort": "price_low_to_high",
  "max_results": 500
}
```

| Input | Required | Description |
|---|---|---|
| `search_query` | ✅ Yes | Any search term (e.g. "laptop", "iphone", "samsung tv") |
| `brand` | No | Filter to a specific brand (e.g. "HP", "Apple", "Samsung") |
| `price_min` | No | Minimum price in ZAR |
| `price_max` | No | Maximum price in ZAR |
| `sort` | No | `relevance`, `price_low_to_high`, `price_high_to_low`, `best_sellers`, `newest`, `top_rated` |
| `max_results` | No | Default 500, max 10,000 |

**Step 2 — Hit Start**

Products stream into your dataset in real time as pages are scraped.

**Step 3 — Export your data**

Download as **JSON**, **CSV**, or **Excel** with one click. Pipe it into your database, BI tool, or pricing engine.

***

### 🛠️ Under The Hood

- Built with **Python + httpx** — calls Takealot's internal JSON API directly
- No browser automation, no Playwright — fast and cheap
- Uses **Apify residential proxies** (ZA) for reliable, unblocked access
- Cursor-based pagination handled automatically
- Records stream to the dataset as they're found — no waiting for the full run

***

### 📝 Notes

- All prices in **ZAR (South African Rand)**
- Brand filter is **case-sensitive** — must match Takealot exactly (e.g. "HP" not "hp")
- Some products show "From R X,XXX" when they have multiple variants — `listing_price` may be null in that case
- Takealot has ~3M+ products across all categories — this actor handles any search query

### ⚠️ Legal

This actor collects publicly available product data. Use responsibly and ensure compliance with applicable laws in your jurisdiction.

***

*Made with ❤️ from Windhoek, Namibia 🇳🇦 — because African e-commerce data should be accessible to everyone.*

# Actor input Schema

## `search_query` (type: `string`):

Search term to scrape, e.g. 'laptop', 'iphone', 'samsung tv', 'lego'

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

Filter to a specific brand. Case-sensitive, must match Takealot exactly (e.g. 'HP', 'Samsung', 'Apple', 'Lenovo')

## `price_min` (type: `integer`):

Minimum price in Rands, e.g. 1000

## `price_max` (type: `integer`):

Maximum price in Rands, e.g. 50000

## `sort` (type: `string`):

How to sort the results

## `max_results` (type: `integer`):

Stop scraping after this many products. Use a smaller number to test, or up to several thousand for full datasets.

## Actor input object example

```json
{
  "search_query": "laptop",
  "sort": "relevance",
  "max_results": 50
}
```

# Actor output Schema

## `plid` (type: `string`):

Takealot Product ID (PLID)

## `title` (type: `string`):

Product title

## `subtitle` (type: `string`):

Product subtitle or description snippet

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

Product brand

## `product_url` (type: `string`):

Direct link to the product page on Takealot

## `image_url` (type: `string`):

URL of the primary product image

## `current_price` (type: `string`):

Current selling price in ZAR (Rands)

## `listing_price` (type: `string`):

Original listing price in ZAR before any discount

## `saving_percent` (type: `string`):

Discount percentage if on sale

## `price_display` (type: `string`):

Pretty-formatted price string from Takealot

## `rating` (type: `string`):

Average star rating out of 5

## `review_count` (type: `string`):

Total number of customer reviews

## `in_stock` (type: `string`):

Whether the product is currently in stock

## `stock_status` (type: `string`):

Human-readable stock status

## `is_imported` (type: `string`):

Whether the product is imported

## `warehouses` (type: `string`):

Distribution centres that stock the product

## `estimated_delivery` (type: `string`):

Estimated delivery timeframe

## `offer_id` (type: `string`):

Takealot offer ID for the active buybox offer

## `tsin` (type: `string`):

Takealot Stock Identification Number

## `is_preorder` (type: `string`):

Whether the product is available for preorder

## `badges` (type: `string`):

Product badges displayed on Takealot

## `image_count` (type: `string`):

Total number of images available for the product

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("ashersam01/takealot-product-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("ashersam01/takealot-product-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call ashersam01/takealot-product-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=ashersam01/takealot-product-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/PWcyEaj4yDJqcr6kD/builds/MOeDuS5lRsEr9OrF6/openapi.json
