# Wrightson Parser Spider (`getdataforme/wrightson-parser-spider`) Actor

Apify actor that scrapes comprehensive product data from PGG Wrightson's online store, extracting names, SKUs, images, and stock status. Supports multiple URLs, customizable limits, and residential proxies for reliable, undetected extraction....

- **URL**: https://apify.com/getdataforme/wrightson-parser-spider.md
- **Developed by:** [GetDataForMe](https://apify.com/getdataforme) (community)
- **Categories:** E-commerce, Jobs, Real estate
- **Security:** Full permissions
- **Stats:** 2 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $9.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.

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

## Wrightson Parser Spider

The Wrightson Parser Spider is a powerful Apify Actor designed to scrape and extract comprehensive product data from the PGG Wrightson online store. It efficiently navigates product listings, gathering details like names, SKUs, images, and availability status, making it an essential tool for data-driven businesses. By automating the extraction process, it saves time and ensures access to up-to-date information for analysis and decision-making.

### Features

- **Multi-URL Support**: Handles multiple starting URLs to scrape various categories or pages simultaneously.
- **Customizable Item Limits**: Set precise limits on the number of products to extract, controlling data volume and processing time.
- **Proxy Integration**: Utilizes Apify's residential proxies for reliable scraping, bypassing geo-restrictions and reducing detection risks.
- **High-Quality Data Extraction**: Captures detailed product attributes including IDs, SKUs, names, URLs, images, and stock status.
- **JSON Output**: Delivers structured, machine-readable data ideal for integration with other tools or databases.
- **Scalable Performance**: Optimized for efficiency, handling large-scale extractions without compromising speed.
- **Error-Resilient**: Built-in handling for common web scraping challenges like timeouts and blocked requests.

### Input Parameters

| Parameter | Type | Required | Description | Example |
|-----------|------|----------|-------------|---------|
| Urls | array | No | List of URLs to start scraping from. Must be valid HTTP/HTTPS URLs. | \["https://store.pggwrightson.co.nz/"] |
| ItemLimit | integer | No | Maximum number of items to extract. Helps control the scope of the scrape. | 10 |
| proxy | object | No | Configuration for proxy settings, including Apify proxy usage, groups, and country. | {"useApifyProxy": true, "apifyProxyGroups": \["RESIDENTIAL"], "apifyProxyCountry": "US"} |

### Example Usage

To run the Wrightson Parser Spider, provide input parameters in JSON format. Here's an example:

```json
{
  "Urls": ["https://store.pggwrightson.co.nz/"],
  "ItemLimit": 10,
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "US"
  }
}
```

The output will be an array of product objects, such as:

```json
[
  {
    "id": 12123,
    "sku": "128988",
    "name": "Cydectin Plus Fluke Pour-On 5 L",
    "url": "https://store.pggwrightson.co.nz/cydectin-plus-fluke-pouron-5-l-128988",
    "small_image": "https://store.pggwrightson.co.nz/media/catalog/product/7/8/78c6a7abe9f7de0209fbaaedce91030193e5e84eec474dbeb4565f17672f5f78.jpeg",
    "images": [
      "https://store.pggwrightson.co.nz/media/catalog/product/7/8/78c6a7abe9f7de0209fbaaedce91030193e5e84eec474dbeb4565f17672f5f78.jpeg"
    ],
    "inStock": true
  }
]
```

### Use Cases

- **Market Research**: Analyze product trends and availability in the agricultural sector.
- **Competitive Intelligence**: Monitor competitors' offerings and pricing on the PGG Wrightson platform.
- **Price Monitoring**: Track price changes for specific products to inform purchasing decisions.
- **Content Aggregation**: Collect product data for building catalogs or comparison sites.
- **Academic Research**: Gather data for studies on agricultural products and supply chains.
- **Business Automation**: Integrate scraped data into e-commerce workflows or inventory systems.

### Installation and Usage

1. Search for "Wrightson Parser Spider" in the Apify Store
2. Click "Try for free" or "Run"
3. Configure input parameters
4. Click "Start" to begin extraction
5. Monitor progress in the log
6. Export results in your preferred format (JSON, CSV, Excel)

### Output Format

The Actor outputs an array of JSON objects, each representing a scraped product. Key fields include:

- `id`: Unique product identifier.
- `sku`: Stock Keeping Unit for inventory tracking.
- `name`: Product title or description.
- `url`: Direct link to the product page.
- `small_image`: URL of the primary product image thumbnail.
- `images`: Array of URLs for additional product images.
- `inStock`: Boolean indicating availability (true if in stock).

This structured format ensures easy parsing and integration with downstream applications.

### Support

For custom/simplified outputs or bug reports, please contact:

- Email: support@getdataforme.com
- Subject line: "custom support"
- Contact form: https://getdataforme.com/contact/

We're here to help you get the most out of this Actor!

# Actor input Schema

## `Urls` (type: `array`):

The urls for the spider.

## `ItemLimit` (type: `integer`):

The item limit for the spider.

## `proxy` (type: `object`):

Proxy settings for the spider.

## Actor input object example

```json
{
  "Urls": [
    "https://store.pggwrightson.co.nz/"
  ],
  "ItemLimit": 10,
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# 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 = {
    "ItemLimit": 10,
    "proxy": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "US"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("getdataforme/wrightson-parser-spider").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 = {
    "ItemLimit": 10,
    "proxy": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "US",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("getdataforme/wrightson-parser-spider").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 '{
  "ItemLimit": 10,
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}' |
apify call getdataforme/wrightson-parser-spider --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,getdataforme/wrightson-parser-spider"
        }
    }
}
```

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/AZ7xAo4EK1mdx3f4A/builds/VJw13yPY6cxj1UhE2/openapi.json
