# Country Road AU Product Scraper (`dromb/country-road-au-scraper`) Actor

Extract Country Road AU products, prices, sale prices, variants, availability, categories, images, and item details for price monitoring and retail research.

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

## Pricing

from $0.30 / 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/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

## Country Road AU Product Scraper

Extract Country Road AU products, prices, sale prices, variants, stock status,
images, categories and detailed product information. Use the data for price
monitoring, assortment tracking, ecommerce research and product intelligence.

This is an unofficial Actor and is not affiliated with or endorsed by Country
Road.

### What you can collect

- Keyword search results with price, images, variants, barcodes and availability
- Products from a Country Road category page
- One complete product record with descriptions, specifications and variants
- Pagination and sorting for repeatable catalogue monitoring
- Optional listing enrichment when every product needs a detail-page visit

### Supported operations

#### Search

Required:

- `operation`: `search`
- `searchQuery`: a product keyword

Optional:

- `page`, `pageSize`, `maxItems`, `sort`, `filters`
- `enrichItems`: visits each result page; disabled by default to keep runs fast

```json
{
  "operation": "search",
  "searchQuery": "dress",
  "maxItems": 10,
  "pageSize": 10,
  "sort": "recommended",
  "proxyConfiguration": "auto",
  "enrichItems": false
}
```

#### Category

Required:

- `operation`: `category`
- `categoryUrl`: a full Country Road category URL or path

```json
{
  "operation": "category",
  "categoryUrl": "https://www.countryroad.com.au/woman-new-in/",
  "maxItems": 10,
  "pageSize": 10,
  "proxyConfiguration": "auto",
  "enrichItems": false
}
```

#### Item details

Required:

- `operation`: `item`
- `itemSlug`: style code, product slug/path or full product URL

Product pages are more strongly protected than listing pages. The verified
configuration uses an Australian residential proxy:

```json
{
  "operation": "item",
  "itemSlug": "60316418-9529",
  "proxyConfiguration": "apify",
  "apifyProxyGroups": ["RESIDENTIAL"],
  "apifyProxyCountryCode": "AU"
}
```

### Ready-to-run Saved Tasks

The Actor includes buyer-ready tasks for common workflows:

- **Dress Price & Assortment Watch** — monitor a stable keyword search
- **Woman New-In Category Monitor** — track new products and prices
- **Exact Product Details** — collect a full record for a known style code

Tasks are bounded and can be scheduled directly in Apify Console.

### Access routes

`auto` is the reliable default and uses an Australian residential route.
`direct` is cheaper and can work for search or category, but repeated tests
showed intermittent 403 responses. The Actor also tries a browser-compatible
HTTP fallback when the primary request is blocked; it does not launch a full
browser.

For item details, use `apify` with the `RESIDENTIAL` group and country `AU`.
Custom HTTP proxy URLs are also supported. Access can still vary when the
storefront changes its protection rules.

### Output

Each product is written as one Dataset row. Depending on the operation, fields
can include:

- `id`, `slug`, `name`, `brand`, `source_url`, `category`
- `price`, `discount_price`, `price_info`, `currency`
- `barcode`, `eans`, `size`, `color`
- `in_stock`, `stock_status`, `stock`
- `image`, `images`, `variants`
- `short_description`, `description`, `specifications`
- `breadcrumbs`, `attributes`

The `OUTPUT` record in the default key-value store contains `success`, `status`,
`total`, `charged_count`, structured errors and the access route used.

### Use with n8n or Make

A practical automation is:

`Apify Actor → Dataset → n8n/Make → Google Sheets, Telegram or CRM`

1. Start the Actor or a Saved Task with the Apify API.
2. Wait until the run reaches `SUCCEEDED`.
3. Read `defaultDatasetId` from the run.
4. Fetch Dataset items and send only the fields your workflow needs.

Start a run:

```bash
curl -X POST \
  "https://api.apify.com/v2/acts/aR7UXVMeeEQFzqDiO/runs?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"operation":"search","searchQuery":"dress","maxItems":10,"proxyConfiguration":"auto"}'
```

Read results after the run completes:

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

In n8n or Make, use an HTTP request to start the run, poll the returned run ID,
then read the Dataset. This keeps the scraping step separate from alerts,
spreadsheets and CRM updates.

### Limits and responsible use

- Only public storefront data is collected.
- The Actor does not log in, access carts or solve CAPTCHAs.
- `maxItems` and `pageSize` are capped at 100.
- Listing enrichment adds one product-page request per result, so enable it only
  when the extra detail is required.
- Availability and prices can change between runs.

# Actor input Schema

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

Operation to run. The default search operation is used for Apify automated quality tests.

## `searchQuery` (type: `string`):

Search term to find products (e.g., 'linen shirt').

## `categoryUrl` (type: `string`):

URL of the category page to scrape (e.g., '/woman-new-in/').

## `itemSlug` (type: `string`):

Product slug or ID to scrape a specific item (e.g., '60309772-1').

## `maxItems` (type: `integer`):

Maximum number of dataset items to emit from the selected page/request.

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

Sorting method.

## `filters` (type: `array`):

Filters in the format 'Key:Value' (e.g., 'Size:M, Color:Blue').

## `enrichItems` (type: `boolean`):

Visit each product page after search or category collection. Leave disabled for faster, cheaper listing runs; use the item operation for one full product.

## `proxyConfiguration` (type: `string`):

Auto uses the stable Australian residential route. Direct is cheaper but can be intermittent.

## `apifyProxyGroups` (type: `array`):

Optional Apify proxy group names. For reliable item details use RESIDENTIAL.

## `apifyProxyCountryCode` (type: `string`):

Two-letter country code used with Apify Proxy.

## `customProxyUrl` (type: `string`):

Proxy URL if 'custom' is selected above.

## `page` (type: `integer`):

Result page to fetch for search/category operations.

## `pageSize` (type: `integer`):

Maximum number of products to process from the selected page (Actor-side cap).

## Actor input object example

```json
{
  "operation": "search",
  "searchQuery": "dress",
  "maxItems": 5,
  "sort": "recommended",
  "enrichItems": false,
  "proxyConfiguration": "auto",
  "apifyProxyCountryCode": "AU",
  "page": 1,
  "pageSize": 48
}
```

# Actor output Schema

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

Country Road product rows in the default Dataset.

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

Status, totals, errors and access-route details 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/country-road-au-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/country-road-au-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 dromb/country-road-au-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,dromb/country-road-au-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/aR7UXVMeeEQFzqDiO/builds/CNipn2JrRJQgYrgr1/openapi.json
