# The Reject Shop AU Product & Price Scraper (`dromb/reject-shop-scraper`) Actor

Search The Reject Shop Australia products and extract prices, stock, barcodes, categories, images, and variants.

- **URL**: https://apify.com/dromb/reject-shop-scraper.md
- **Developed by:** [Dmitriy Gyrbu](https://apify.com/dromb) (community)
- **Categories:** E-commerce, Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.40 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js/docs.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python/docs.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/integrations/mcp.md).

If your project is in a different language, use 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

## The Reject Shop AU Product Scraper

Turn The Reject Shop's public Australian catalog into structured data for price tracking, product research, assortment monitoring, and automations.

Choose an operation, run the Actor, and receive clean Dataset rows with product names, current and regular prices, availability, SKU, barcode, categories, images, variants, and source URLs. The Actor uses a lightweight Shopify Storefront API route, so it does not need a browser for normal operation.

### What you can do

- Search products by keyword.
- Browse products from a collection handle.
- Retrieve a rich record for one product.
- Discover public category handles.
- Continue search or category pagination using `OUTPUT.pageInfo.endCursor`.
- Send the Dataset to Google Sheets, n8n, Make, Telegram, a database, or a CRM.

### Quick start

Search for storage products:

```json
{
  "operation": "search",
  "query": "storage",
  "first": 20,
  "proxyMode": "direct"
}
````

The default `direct` route is the cheapest verified option. It is also the recommended production setting.

### Operations

#### Search products

```json
{
  "operation": "search",
  "query": "storage",
  "first": 20
}
```

#### Browse a category

Use `categories` first if you do not know the handle.

```json
{
  "operation": "category",
  "handle": "body-wash",
  "first": 20
}
```

#### Get one product

By URL:

```json
{
  "operation": "item",
  "url": "https://www.rejectshop.com.au/p/5pc-everything-shower-set"
}
```

Or by handle:

```json
{
  "operation": "item",
  "handle": "5pc-everything-shower-set"
}
```

#### List categories

```json
{
  "operation": "categories",
  "limit": 100
}
```

### Output

Product rows can include:

| Field | Meaning |
|---|---|
| `id` | Shopify product ID |
| `slug` | Product handle |
| `name` | Product name |
| `source_url` | Canonical product URL |
| `category`, `breadcrumbs` | Public category context |
| `sku`, `barcode` | Product identifiers |
| `availability`, `in_stock` | Stock status |
| `price` | Regular price |
| `discount_price` | Sale price when present |
| `current_price` | Price currently payable |
| `currency` | Price currency, normally `AUD` |
| `images` | Product image URLs |
| `variants` | Variant-level identifiers, prices, options, and stock |

The default Dataset contains the requested rows. The `OUTPUT` record in the default key-value store contains:

```json
{
  "source": "rejectshop",
  "operation": "search",
  "status": "success",
  "success": true,
  "total": 20,
  "errors": [],
  "pageInfo": {
    "hasNextPage": true,
    "endCursor": "..."
  },
  "proxy": {
    "requested_mode": "direct",
    "used_mode": "direct",
    "fallback_used": false,
    "errors": []
  }
}
```

### Pagination

For search and category runs:

1. Read `pageInfo.endCursor` from the `OUTPUT` record.
2. Start another run with the same input and add `"after": "..."`.
3. Stop when `pageInfo.hasNextPage` is `false`.

### Proxy strategy

- `direct` — verified and recommended; no proxy traffic cost.
- `auto` — starts direct and falls back to Apify datacenter after a retryable failure.
- `apify` — Apify datacenter proxy.
- `residential` — Apify residential proxy in Australia.
- `special` — an account-specific Apify group supplied in `proxyGroup`.
- `custom` — a private proxy URL supplied in `proxyUrl`.

Proxy credentials are never written to Dataset or `OUTPUT`.

### Use with n8n / Make

An importable n8n example is included in [`examples/n8n-reject-shop-to-google-sheets.json`](examples/n8n-reject-shop-to-google-sheets.json). It demonstrates:

1. Starting the Actor through the Apify API.
2. Waiting for the run to finish.
3. Reading the default Dataset.
4. Appending product rows to Google Sheets.

Set the `APIFY_TOKEN` environment variable in n8n and configure your Google Sheets credential after import.

The same flow in Make is: **HTTP — Make a request → JSON → Iterator → Google Sheets — Add a row**.

#### Start through the API

```bash
curl -X POST \
  "https://api.apify.com/v2/acts/dromb~reject-shop-scraper/runs?token=YOUR_APIFY_TOKEN&waitForFinish=120" \
  -H "Content-Type: application/json" \
  -d '{"operation":"search","query":"storage","first":20,"proxyMode":"direct"}'
```

Use `data.defaultDatasetId` from the response:

```bash
curl "https://api.apify.com/v2/datasets/DATASET_ID/items?clean=true&format=json"
```

### Notes

- This Actor is unofficial and is not affiliated with or endorsed by The Reject Shop.
- Availability and prices reflect the public source at collection time and can change.
- Keep runs bounded and follow the target website's applicable terms and policies.

# Actor input Schema

## `operation` (type: `string`):

Choose the result set to collect.

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

Required for search. Example: storage.

## `handle` (type: `string`):

For category or item. Examples: body-wash or 5pc-everything-shower-set.

## `url` (type: `string`):

Alternative to handle for item. Example: https://www.rejectshop.com.au/p/5pc-everything-shower-set.

## `first` (type: `integer`):

Number of products returned by search or category (1-250).

## `after` (type: `string`):

Optional endCursor from the previous run's OUTPUT.pageInfo.

## `limit` (type: `integer`):

Maximum categories returned by list categories (1-250).

## `proxyMode` (type: `string`):

Direct is the cheapest verified route. Auto starts direct and uses Apify datacenter only after a retryable failure.

## `proxyGroup` (type: `string`):

Required only for special mode. Enter a proxy group enabled on your Apify account.

## `proxyCountryCode` (type: `string`):

Optional two-letter country code for special mode.

## `proxyUrl` (type: `string`):

Required only for custom mode. Credentials are not written to Dataset or OUTPUT.

## Actor input object example

```json
{
  "operation": "search",
  "query": "storage",
  "first": 24,
  "limit": 250,
  "proxyMode": "direct",
  "proxyCountryCode": "AU"
}
```

# Actor output Schema

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

Products or category records returned by the Actor.

## `summary` (type: `string`):

Status, total, errors, proxy route, and pageInfo stored under OUTPUT.

# 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("dromb/reject-shop-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("dromb/reject-shop-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 dromb/reject-shop-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "The Reject Shop AU Product & Price Scraper",
        "description": "Search The Reject Shop Australia products and extract prices, stock, barcodes, categories, images, and variants.",
        "version": "1.2",
        "x-build-id": "N2PAA9IU71P4OOaDt"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/dromb~reject-shop-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-dromb-reject-shop-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/dromb~reject-shop-scraper/runs": {
            "post": {
                "operationId": "runs-sync-dromb-reject-shop-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/dromb~reject-shop-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-dromb-reject-shop-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "operation"
                ],
                "properties": {
                    "operation": {
                        "title": "Operation",
                        "enum": [
                            "search",
                            "category",
                            "item",
                            "categories"
                        ],
                        "type": "string",
                        "description": "Choose the result set to collect.",
                        "default": "search"
                    },
                    "query": {
                        "title": "Search query",
                        "type": "string",
                        "description": "Required for search. Example: storage.",
                        "default": "storage"
                    },
                    "handle": {
                        "title": "Category or product handle",
                        "type": "string",
                        "description": "For category or item. Examples: body-wash or 5pc-everything-shower-set."
                    },
                    "url": {
                        "title": "Product URL",
                        "type": "string",
                        "description": "Alternative to handle for item. Example: https://www.rejectshop.com.au/p/5pc-everything-shower-set."
                    },
                    "first": {
                        "title": "Results per page",
                        "minimum": 1,
                        "maximum": 250,
                        "type": "integer",
                        "description": "Number of products returned by search or category (1-250).",
                        "default": 24
                    },
                    "after": {
                        "title": "Pagination cursor",
                        "type": "string",
                        "description": "Optional endCursor from the previous run's OUTPUT.pageInfo."
                    },
                    "limit": {
                        "title": "Category limit",
                        "minimum": 1,
                        "maximum": 250,
                        "type": "integer",
                        "description": "Maximum categories returned by list categories (1-250).",
                        "default": 250
                    },
                    "proxyMode": {
                        "title": "Access strategy",
                        "enum": [
                            "direct",
                            "auto",
                            "apify",
                            "residential",
                            "special",
                            "custom"
                        ],
                        "type": "string",
                        "description": "Direct is the cheapest verified route. Auto starts direct and uses Apify datacenter only after a retryable failure.",
                        "default": "direct"
                    },
                    "proxyGroup": {
                        "title": "Special Apify proxy group",
                        "type": "string",
                        "description": "Required only for special mode. Enter a proxy group enabled on your Apify account."
                    },
                    "proxyCountryCode": {
                        "title": "Proxy country",
                        "type": "string",
                        "description": "Optional two-letter country code for special mode.",
                        "default": "AU"
                    },
                    "proxyUrl": {
                        "title": "Custom proxy URL",
                        "type": "string",
                        "description": "Required only for custom mode. Credentials are not written to Dataset or OUTPUT."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
