# Harris Farm Markets Scraper (Grocery Prices) (`sam.arth/harris-farm-scraper`) Actor

Scrape Harris Farm Markets products: prices, was-prices, discounts, stock, brand, SKU and images. Whole catalogue, any category, or specific product URLs. No proxies or login needed.

- **URL**: https://apify.com/sam.arth/harris-farm-scraper.md
- **Developed by:** [Samarth Kombli](https://apify.com/sam.arth) (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

$2.00 / 1,000 products

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

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

## Harris Farm Markets Scraper

Extract product data from [Harris Farm Markets](https://www.harrisfarm.com.au) (an Australian grocer: fruit, vegetables, deli, pantry and drinks): current price, previous price, discount, stock status, brand, SKU, category and images. Scrape the whole catalogue, one or more categories, or a list of product URLs.

No login, no proxies, no browser. Runs are fast and cheap: about 250 products per request.

### What you can do with it

- **Price tracking**: schedule a daily run on a category or a list of product URLs and watch `price`, `wasPrice` and `inStock` change.
- **Competitor monitoring**: compare Harris Farm Markets prices against your own store or other Australian retailers.
- **Deal finding**: filter the output on `onSale` and `discountPercent`.
- **Catalogue research**: see which brands and product types Harris Farm Markets stocks and when items were added.

### Input

| Field | What it does |
|---|---|
| **Categories** | Category URLs or handles, such as `https://www.harrisfarm.com.au/collections/all-drinks` or `all-drinks`. |
| **Product URLs** | Specific product pages to scrape. |
| **Maximum products** | Stop after this many products. `0` means no limit. |
| **Include description HTML** | Adds the full product description. |

Leave both Categories and Product URLs empty to scrape the whole catalogue. A single feed returns at most 25,000 products (a limit on Harris Farm Markets's side); to go beyond that, list categories instead.

### Output

One item per product:

```json
{
  "id": 7336247525577,
  "title": "Example product name",
  "brand": "Example brand",
  "category": "Example type",
  "sku": "894731",
  "price": 69.99,
  "wasPrice": 79.99,
  "onSale": true,
  "discountPercent": 12.5,
  "currency": "AUD",
  "inStock": true,
  "tags": ["example-tag"],
  "url": "https://www.harrisfarm.com.au/products/example-product",
  "image": "https://cdn.shopify.com/...jpg",
  "images": ["https://cdn.shopify.com/...jpg"],
  "createdAt": "2026-03-23T13:07:03+11:00",
  "updatedAt": "2026-11-11T04:49:13+11:00",
  "scrapedAt": "2026-11-10T17:49:23+00:00"
}
```

Export as JSON, CSV or Excel, or pull it through the Apify API.

### Notes

- Prices are in Australian dollars and are the online price. For products sold in several sizes, `price` is the first option listed.
- `inStock` is online availability, not stock at a particular store.
- This Actor reads publicly available product pages only. It is not affiliated with Harris Farm Markets.

Found a problem or need another field? Open an issue on the Issues tab.

# Actor input Schema

## `collections` (type: `array`):

Harris Farm Markets category URLs or handles, e.g. https://www.harrisfarm.com.au/collections/all-drinks or just all-drinks. Leave empty (with no product URLs) to scrape the whole catalogue.

## `productUrls` (type: `array`):

Specific product pages to scrape, e.g. for daily price tracking.

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

Stop after this many products. 0 means no limit.

## `includeDescription` (type: `boolean`):

Add the full product description (larger output).

## Actor input object example

```json
{
  "collections": [
    "https://www.harrisfarm.com.au/collections/all-drinks"
  ],
  "maxItems": 100,
  "includeDescription": false
}
```

# Actor output Schema

## `products` (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 = {
    "collections": [
        "https://www.harrisfarm.com.au/collections/all-drinks"
    ],
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("sam.arth/harris-farm-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 = {
    "collections": ["https://www.harrisfarm.com.au/collections/all-drinks"],
    "maxItems": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("sam.arth/harris-farm-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 '{
  "collections": [
    "https://www.harrisfarm.com.au/collections/all-drinks"
  ],
  "maxItems": 100
}' |
apify call sam.arth/harris-farm-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,sam.arth/harris-farm-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/wNQxrKN9YpuoW44B7/builds/dPm8LM4AZuqdgqJCe/openapi.json
