# Bob Shop Scraper (`dadhalfdev/bobshop-scraper`) Actor

Scrape listings from bobshop.co.za. Use the same listing filters as the site or paste a URL — the URL wins when set.

- **URL**: https://apify.com/dadhalfdev/bobshop-scraper.md
- **Developed by:** [Marco Rodrigues](https://apify.com/dadhalfdev) (community)
- **Categories:**
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.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.
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?

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

## 🇿🇦 Bob Shop Scraper

Want [Bob Shop](https://www.bobshop.co.za/) listings in a spreadsheet? This scraper makes it easy.

Use **structured filters** — better for AI agents — **or** paste an **`input_url`**. When `input_url` is set it overrides the filters.

Bob Shop (formerly bidorbuy) is a large South African marketplace for auctions and buy-now deals. This actor returns up to 2000 rows per run.

### 💡 Perfect for...

- **Marketplaces:** Export computers, phones, electronics, clothing, and more from Bob Shop.
- **Dashboards:** Track new listings without paging the site.
- **Market research:** Slice South African classifieds by department, condition, or listing type.
- **Data analysts:** Export structured rows with public listing URLs.
- **🤖 AI Agents:** Power Claude, Cursor, Codex, the Hermes Agent, and OpenClaw workflows with live Bob Shop results.
- **📚 RAG Systems:** Feed titles, prices, and seller names into retrieval pipelines.
- **🔗 AI Workflows:** Plug into LangChain, AutoGPT, CrewAI, and similar stacks.

### ✨ Why you'll love this scraper

- 🔗 **Input URL or Filters:** Paste a Bob Shop category or search URL, or pick the same filters as the site. `input_url` always wins when set.
- 🎯 **Website-Matched Filters:** Department, keyword, condition, auction or buy now, price range, and sort.
- 🌐 **Listing + product pages:** Price, RRP, discount, specs, seller description, shipping, and listing URL.

### 📦 What's inside the data?

`tradeId`, `url`, `title`, `price`, `amount`, `currency`, `recommended_retail_price`, `discount_percentage`, `buy_now_price`, `bid_count`, `type`, `condition`, `location`, `category`, `brand`, `sku`, `quantity`, `seller`, `seller_verified`, `seller_url`, `shipping`, `shipping_cost`, `warranty`, `guarantee`, `close_time`, `open_time`, `description`, `attributes`, `available`, `image`, `images`

### 🚀 Quick start

**Option A:** paste `https://www.bobshop.co.za/computers-networking/laptops-notebooks/c/18836`.
**Option B:** pick a department or keyword and set `max_results`.

**Input Example (filters):**

```json
{
  "department": "107",
  "query": "laptop",
  "condition": "1",
  "listing_type": "5",
  "max_results": 100
}
```

**Input Example (URL):**

```json
{
  "input_url": "https://www.bobshop.co.za/search/iphone",
  "max_results": 100
}
```

**Output Example:**

```json
{
  "tradeId": "694409240",
  "url": "https://www.bobshop.co.za/hp-elitebook-850-g6-laptop-core-i5-8th-gen-8gb-ram-512gb-ssd-win-11-pro/p/694409240",
  "title": "HP EliteBook 850 G6 LAPTOP Core i5 8th Gen 8GB RAM 512GB SSD * WIN 11 PRO",
  "price": 4550,
  "amount": 4550,
  "currency": "ZAR",
  "recommended_retail_price": 15000,
  "discount_percentage": 70,
  "type": "Buy now",
  "condition": "Second-hand",
  "location": "Johannesburg",
  "category": "Computers & Networking/Laptops & Notebooks/PC Laptops & Notebooks",
  "brand": "HP",
  "seller": "TradeRouteAuctions",
  "shipping": "R35 shipping",
  "shipping_cost": 35,
  "description": "Key Specifications: Model: HP EliteBook 850 G6 ...",
  "attributes": {"Brand": "HP", "Memory": "8GB", "Screen Size": "15.6"},
  "image": "https://img.bobshop.co.za/f_auto,q_auto:eco,d_notfound.png/user/424919/example.png"
}
```

**Output fields:**

| Field | Description |
|-------|-------------|
| `tradeId` | Bob Shop listing id. |
| `url` | Public listing page. |
| `title` | Listing title. |
| `price` | Current price or bid in South African rand. |
| `amount` | Same value as `price` (kept for compatibility). |
| `currency` | Always `ZAR`. |
| `recommended_retail_price` | RRP when the listing shows a discount. |
| `discount_percentage` | Percent off RRP when shown. |
| `buy_now_price` | Buy-now price on auction listings. |
| `bid_count` | Number of bids on auction listings. |
| `type` | Auction or buy now. |
| `condition` | New, second-hand, refurbished, or open box. |
| `location` | City shown on the listing. |
| `category` | Category breadcrumb. |
| `brand` | Brand from listing specs or the product page. |
| `sku` | Product code when shown. |
| `quantity` | Remaining quantity. |
| `seller` | Seller alias. |
| `seller_verified` | Whether Bob Shop marks the seller as verified. |
| `seller_url` | Public seller profile. |
| `shipping` | Shipping note when shown. |
| `shipping_cost` | Numeric shipping rate in rand when shown. |
| `warranty` | Warranty note when offered. |
| `guarantee` | Guarantee note when offered. |
| `close_time` | Listing end time. |
| `open_time` | Listing start time. |
| `description` | Seller description / key specifications from the product page. |
| `attributes` | Specs such as memory, screen size, and brand. |
| `available` | In-stock flag from the product page when shown. |
| `image` | Listing photo. |
| `images` | All listing photos. |

### 📋 Input reference

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `input_url` | string | No | — | Bob Shop category or search URL. Overrides every filter. |
| `department` | string enum | No | all | Same departments as the site header menu. |
| `query` | string | No | — | Same as the site search box. |
| `condition` | string enum | No | any | New, second-hand, refurbished, or open box. |
| `listing_type` | string enum | No | any | Auction or buy now. |
| `price_min` | integer | No | — | Lowest price in South African rand. |
| `price_max` | integer | No | — | Highest price in South African rand. |
| `sort` | string enum | No | default | Default, lowest price, highest price, ending soon, what's new, or hot selling. |
| `max_results` | integer | No | `50` | Maximum rows (`1`–`2000`). |

# Actor input Schema

## `input_url` (type: `string`):

Paste a Bob Shop category or search URL. Overrides every filter when set.

## `department` (type: `string`):

Top-level Bob Shop department, same list as the site header menu.

## `query` (type: `string`):

Same as the Bob Shop search box. Optional. When set, searches the whole site or the selected department.

## `condition` (type: `string`):

Item condition, same as the site condition filter.

## `listing_type` (type: `string`):

Auction or buy now, same as the site listing-type filter.

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

Lowest price in South African rand. Leave empty for no minimum.

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

Highest price in South African rand. Leave empty for no maximum.

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

Listing order, same options as the Bob Shop sort menu.

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

How many rows to return (1–2000).

## Actor input object example

```json
{
  "department": "",
  "condition": "",
  "listing_type": "",
  "sort": "Default",
  "max_results": 50
}
```

# Actor output Schema

## `overview` (type: `string`):

Table view of scraped listings using the dataset 'overview' view.

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

All scraped listings from the default dataset without view transformation.

# 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("dadhalfdev/bobshop-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("dadhalfdev/bobshop-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 '{}' |
apify call dadhalfdev/bobshop-scraper --silent --output-dataset

```

## MCP server setup

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