# Takealot Price Drop Tracker (South Africa) (`datakit/takealot-price-tracker`) Actor

Search Takealot by keyword and get price, rating, stock and the change since your last run. Alert-style output: price drops, new products and back-in-stock, ready for Slack, email or a spreadsheet.

- **URL**: https://apify.com/datakit/takealot-price-tracker.md
- **Developed by:** [datakit](https://apify.com/datakit) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## 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

## Takealot Price Drop Tracker (South Africa)

Watch Takealot for the products you care about and get **only what changed**: price drops, price rises, new listings and back-in-stock events. Built for resellers, deal-hunters, price-comparison sites and anyone tracking South African retail prices.

### Who it is for

- Resellers and dropshippers who need to spot supplier price drops or competitor undercutting.
- Deal sites and Telegram/WhatsApp channels that post bargains.
- Analysts tracking South African consumer electronics and appliance prices.

### How the alert works

1. Enter keywords (e.g. `airfryer`, `rtx 4060`, `iphone 15`).
2. First run records every product's price and stock (and emits them all as `new`).
3. Every later run with the same **State name** emits only rows whose `change` is `price_drop`, `price_rise`, `new` or `back_in_stock`. Set *Minimum price change %* to ignore noise.

**Schedule tip:** run it once or twice a day with Apify Schedules, then connect an Integration (Slack, email, Google Sheets, webhook).

### Example output

```json
{"id":98945485,"title":"Russell Hobbs Digital 9L Air Fryer","change":"price_drop","priceZAR":1199,"previousPriceZAR":1499,"changePercent":-20,
 "rating":4.8,"reviews":2212,"inStock":true,"url":"https://www.takealot.com/.../PLID98945485","checkedAt":"2026-11-08"}
```

### Call it from code

```bash
curl -X POST "https://api.apify.com/v2/acts/datakit~takealot-price-tracker/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"searchQueries":["airfryer"],"mode":"changesOnly","minDropPercent":5,"stateKey":"airfryers"}'
```

### FAQ

**Why did my first run return everything?** The first run has no history, so every product is `new`. Later runs with the same State name return only changes.

**How often should I run it?** Once or twice a day is enough; Takealot prices rarely move hourly.

**Does it track one specific product?** Search by its exact title or model number; use *Max products per keyword* = 36 to keep the run small.

**Is it free?** Platform usage only (a typical run costs a fraction of a cent of compute).

### Notes

- Uses Takealot's public search endpoint; no login, no personal data. Prices in ZAR; when a product has several sellers, the lowest price is used.
- Use a different State name for each watchlist.
- Not affiliated with Takealot.

# Actor input Schema

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

What you would type in the Takealot search box, e.g. 'iphone 15', 'airfryer', 'rtx 4060'.

## `maxItemsPerQuery` (type: `integer`):

Takealot returns 36 products per page; this caps how many are read per keyword.

## `mode` (type: `string`):

changesOnly: only price drops/rises, new products and back-in-stock since the last run with the same State name (first run emits everything). all: every product with its change fields.

## `minDropPercent` (type: `number`):

In changesOnly mode, ignore price changes smaller than this percentage.

## `stateKey` (type: `string`):

Separate name per watchlist so each keeps its own price history.

## Actor input object example

```json
{
  "searchQueries": [
    "laptop"
  ],
  "maxItemsPerQuery": 72,
  "mode": "changesOnly",
  "minDropPercent": 0,
  "stateKey": "default"
}
```

# Actor output Schema

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

// Run the Actor and wait for it to finish
const run = await client.actor("datakit/takealot-price-tracker").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("datakit/takealot-price-tracker").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 '{}' |
apify call datakit/takealot-price-tracker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,datakit/takealot-price-tracker"
        }
    }
}
```

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/ofLv2SVedBAPZJ3G2/builds/1n46MieeCZNFFTAhC/openapi.json
