# OzBargain Scraper (`saswave/ozbargain-scraper`) Actor

Ozbargain.com.au scraper. Collect data from popular Australian website OzBargain. Extract informations about Deals, Competitions, Live Events, Birthday Deals , Pizza Coupons. Scale your analytics

- **URL**: https://apify.com/saswave/ozbargain-scraper.md
- **Developed by:** [SASWAVE](https://apify.com/saswave) (community)
- **Categories:** E-commerce, News, Social media
- **Stats:** 3 total users, 3 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

$25.00/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period. You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

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

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

## 🎯 OzBargain Scraper

The **OzBargain Scraper** collects data from **Ozbargain.com.au**, one of Australia’s most popular deal-sharing websites.

It allows you to **extract deals, competitions, live events, birthday deals, and pizza coupons** in a structured format for **analytics, monitoring, or e-commerce insights**.

Perfect for **deal aggregators, marketers, or bargain hunters** who want to track trending promotions in real-time.

### ✨ Features

Extract **Deals & Competitions** with votes, comments, user info, and affiliate links

Track **Live Deals** as they are posted, including timestamp and user data

Retrieve **Birthday Deals** from partner stores and apps

Collect **Pizza Coupons** with expiry dates, links, and featured status

Scale analytics for **trend monitoring or marketing research**

### Ouput example

Deals & Comps

```json
{
    "product_id": "910101",
    "product_url": "https://www.ozbargain.com.au/node/910101",
    "title": "Dell S2725QS 27\" 4K UHD 120Hz Monitor $336.75 ($321.57 with 15% Member Purchase Program Discount) Delivered @ Dell",
    "expired": false,
    "soldout": false,
    "voteup": "95",
    "votedown": "0",
    "user_picture": "https://files.ozbargain.com.au/g/38.jpg",
    "user_name": "bag",
    "user_link": "https://www.ozbargain.com.au/user/367733",
    "date_on": "on 11/06/2025 - 16:57",
    "extern_link": "https://www.ozbargain.com.au/goto/910101",
    "extern_name": "dell.com",
    "coupons": [
      "DNCPAU11"
    ],
    "content": [
      "$20 base price drop from a couple weeks ago, now down to $379. Code brings it down to $336.75. Excellent excellent price for a 27in 4k 120Hz monitor. This is the non-USB C version. Mine came last …"
    ],
    "comments": "33",
    "tag": "Computing",
    "tag_link": "https://www.ozbargain.com.au/cat/computing",
    "expiry_date": "",
    "image": "https://files.ozbargain.com.au/n/01/910101.jpg?h=6623aba4",
    "affiliate": true,
    "competition_list": []
  }
```

Live

```json
{
    "action": "Vote Up",
    "uid": 152695,
    "user": "<img src=\"https://files.ozbargain.com.au/g/20.jpg/" alt=\"[Profile Image]\" width=\"20\" height=\"20\" class=\"usericon\"/>&nbsp;<a href=\"/user/152695\" onclick=\"return OzB.user_tooltip(this)\">PiewPiew</a>",
    "title": "Google Pixel 8 128GB $399 Delivered, Google Pixel 8 Pro 128GB $499 (Sold Out) @ Telstra (Telstra ID Required)",
    "timestamp": 1749656753,
    "type": "Deal",
    "link": "https://www.ozbargain.com.au/node/909798",
    "user_name": "PiewPiew",
    "user_link": "https://www.ozbargain.com.au/user/152695",
    "date": "2025-06-11 15:45:53"
  }
```

Birthday deals

```json
{
    "External Link/Deal": "7-Eleven App",
    "External Link/Deal link": "https://www.7eleven.com.au/my-7-eleven.html",
    "Details": "Get 1 Free Krispy-Kreme Doughnut up to 7 days from your Birthday via 7-Eleven App. Need to add the offer to Rewards so it can be redeemed.",
    "Last Checked": "21/10/2024"
  }
```

Pizza coupons

```json
{
    "coupons": [
      "781166"
    ],
    "featured": true,
    "coupon_link": "https://www.couponese.com/goto/c/200995",
    "title": "40% off Traditional/Premium Pizzas (Code Changes Daily)",
    "expiry_date": "31/12/2025",
    "source": "Domino's Coupons"
  }
```

### 🚀 Use Cases

Deal Aggregation: Automatically collect trending deals across Australia

Marketing Insights: Track affiliate deals and coupon campaigns

E-commerce Monitoring: Analyze promotions in real-time

Consumer Engagement: Alert users for live deals and birthday offers

### 💡 Notes

Scraper captures real-time live events and trending deals

Works with affiliate links and coupons

Ideal for building dashboards or automated newsletters

### 🛟 SUPPORT

Share your runs with the developer team and create issues on error to help us improve actor quality.

You might discover edge case we didn't test yet

We stay available anytime

# Actor input Schema

## `feature` (type: `string`):

Select your feature with provided input

## `max_page` (type: `integer`):

0 = no limit

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

The best option is usually Automatic proxy. But you can also use your own proxies

## `deals_url` (type: `string`):

Search url to extract listings from

## `comps_url` (type: `string`):

Search url to extract listings from

## Actor input object example

```json
{
  "feature": "deals",
  "max_page": 1,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": []
  },
  "deals_url": "https://www.ozbargain.com.au/cat/computing",
  "comps_url": "https://www.ozbargain.com.au/competition/act"
}
```

# 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 = {
    "feature": "deals",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": []
    },
    "deals_url": "https://www.ozbargain.com.au/cat/computing",
    "comps_url": "https://www.ozbargain.com.au/competition/act"
};

// Run the Actor and wait for it to finish
const run = await client.actor("saswave/ozbargain-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 = {
    "feature": "deals",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": [],
    },
    "deals_url": "https://www.ozbargain.com.au/cat/computing",
    "comps_url": "https://www.ozbargain.com.au/competition/act",
}

# Run the Actor and wait for it to finish
run = client.actor("saswave/ozbargain-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 '{
  "feature": "deals",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": []
  },
  "deals_url": "https://www.ozbargain.com.au/cat/computing",
  "comps_url": "https://www.ozbargain.com.au/competition/act"
}' |
apify call saswave/ozbargain-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,saswave/ozbargain-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/wsNIF0hs3mG7ukOLT/builds/2GVs8q9maifbwPbhm/openapi.json
