# ANWB Webwinkel Product Scraper (`bovi/anwb-scraper`) Actor

Collect ANWB Webwinkel product records from category or search pages. Get titles, prices, availability, sellers, EANs, SKUs, and attributes. Run with a public HTTPS URL; no ANWB account or login. Pricing: $0.0035 per result event.

- **URL**: https://apify.com/bovi/anwb-scraper.md
- **Developed by:** [Vitalii Bondarev](https://apify.com/bovi) (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

from $3.50 / 1,000 anwb webwinkel product scrapers

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

## ANWB Webwinkel Product Scraper

Enter a public ANWB Webwinkel category or search URL and get one structured dataset record per product. No ANWB account or login is needed.

- Prices, member prices, stock status, sellers and ratings in one record
- Descriptions, EANs, SKUs and specifications from each product page
- Follows the site's `pagina` pagination through a category or search
- Export as JSON or CSV, or read through the Apify dataset API

### What you get

Each dataset item is one product record, read from the listing page and the product page.

| Field | Type | What it contains |
|---|---|---|
| `id` | string | Product ID. |
| `item_no` | string | Item number exposed by the listing. |
| `title` | string | Product title. |
| `url` | string | Product page URL. |
| `category` | string | Category path or category name. |
| `categories` | array of strings | Category names associated with the product. |
| `description` | string | Product description from the product page. |
| `price` | number | Regular product price. |
| `member_price` | number | ANWB member price when exposed. |
| `currency` | string | Currency associated with the product price. |
| `brand` | string | Product brand. |
| `seller` | string | Seller name. |
| `sku` | string | Product SKU. |
| `ean` | string | Product EAN. |
| `availability` | string | Availability or stock status exposed by ANWB. |
| `image_url` | string | Main product image URL. |
| `rating` | number | Product rating when available. |
| `review_count` | integer | Number of reviews when available. |
| `is_marketplace` | boolean | Whether the product is identified as a marketplace product. |
| `attributes` | array of objects | Product specifications as `{name, value}` pairs. |

Compare `price` and `member_price` where both are present. The `attributes` array holds product-page specifications such as material, dimensions, compatibility, warranty and color. Absent fields are omitted from the record. Attribute names containing private contact information are excluded.

### Sample output

The sample omits `item_no`, `categories`, `description` and `attributes`; the values shown are copied exactly from one dataset record, where the member price differs from the regular price.

```json
{
  "id": "241514",
  "title": "Touring Flex Plus II - Fietsendrager",
  "url": "https://www.anwb.nl/webwinkel/p/241514/touring-flex-plus-ii-fietsendrager-anwb",
  "category": "Fietsendragers/Fietsendrager trekhaak/Auto/Bagage & transport",
  "price": 549,
  "member_price": 499,
  "currency": "EUR",
  "brand": "ANWB",
  "seller": "ANWB",
  "sku": "402393_000100_0",
  "ean": "8721092189627",
  "availability": "IN_STOCK",
  "image_url": "https://merk.anwb.nl/transform/8845bb10-626f-40ab-b735-f12bfe524339/402393_000100_BV1",
  "rating": 5,
  "review_count": 5,
  "is_marketplace": false
}
```

### Pricing

This Actor uses pay-per-event pricing. Prices below are for the Free plan:

- `apify-default-dataset-item`: **$0.0035 per event on the Free plan**. One event represents one scraped result with all fields. For 1,000 events, the charge is **$3.5 on the Free plan**; for 10,000 events, it is **$35 on the Free plan**.
- `apify-actor-start`: **$0.00005 per event on the Free plan**. The event is charged once per GB of run memory, with a minimum of one event. For 1,000 events, the charge is **$0.05 on the Free plan**; for 10,000 events, it is **$0.5 on the Free plan**.

For a run that produces 1,428 results, **assuming one Actor Start event**, **1,428 results = $4.99805 on the Free plan**: $4.99800 for 1,428 result events and $0.00005 for one Actor Start event.

The Apify Free plan includes **$5 of monthly platform usage credit**. That credit covers **1 full run (1,428 result events)**.

You pay only for the events listed above. This Actor does not use the Pay per event + usage option, so the platform usage of your runs (compute, proxy traffic and storage) is not billed to you separately.

### How to use

1. **Choose** a public ANWB Webwinkel category or search URL under `https://www.anwb.nl/webwinkel`.
2. **Set** `maxResults` (see Input parameters).
3. **Start** the Actor. It follows `pagina` pagination and visits each product page for extra fields.
4. **Review** the dataset, or repeat the run with Apify Schedules (daily is a suitable start for price monitoring).

Example input:

```json
{
  "categoryUrl": "https://www.anwb.nl/webwinkel/c/212/auto",
  "maxResults": 50
}
```

### Input parameters

| Parameter | What it does | Default |
|---|---|---|
| `categoryUrl` | Required HTTPS ANWB Webwinkel category or search URL under `anwb.nl/webwinkel`. | Required |
| `maxResults` | Maximum number of product records to collect. It is read as an integer and must be greater than zero to run. | `50` |
| `proxyConfiguration` | Proxy settings for page requests. The input schema prefills and defaults it to Apify RESIDENTIAL; an empty value means a direct connection. | Apify RESIDENTIAL |

A URL may contain the site's `pagina` query parameter to start from a requested page.

### Limits and edge cases

Each completed record is pushed to the dataset before the next record is processed.

| Condition | What you see | What to do |
|---|---|---|
| `categoryUrl` is invalid or not an HTTPS ANWB Webwinkel URL | The run logs an error and ends without records. | Use a URL under `https://www.anwb.nl/webwinkel`. |
| A listing request fails | The run stops after the request failure and ends as Succeeded; records already pushed remain in the dataset. | Check the URL and run logs, then retry the run. |
| A product-detail request fails | The Actor logs the detail failure and pushes the record using the listing fields that are available. Detail-only fields may therefore be absent. | Review the record and retry if the missing product-page fields are important. |
| A listing page contains no product items | The Actor logs that the page did not contain a product listing and the run ends as Succeeded with the records already pushed, which may be an empty or short dataset. | Check that the URL points to a populated ANWB category or search page. |
| A page produces no new product IDs | Duplicate IDs are skipped, and pagination stops when a page produces no new records. | Use the intended category or search URL and inspect whether it contains additional products. |
| The requested result limit is reached | The run stops after the requested number of product records has been pushed. | Increase `maxResults` for a larger extraction. |
| A run is aborted or times out | Records already pushed to the dataset remain there; records not yet pushed are not included. | Start another run if more records are needed. |

### FAQ

#### How much does it cost to scrape ANWB Webwinkel?

Each scraped result is one charged event. See the Pricing section for the rates and a worked example.

#### Why is my result empty?

The listing page may contain no products, produce no new product records, or `categoryUrl` may be invalid. Confirm the page contains products; see Limits and edge cases.

#### What should I do if the Actor is not working?

Check that `categoryUrl` is a public ANWB Webwinkel category or search URL. If a product-detail request fails, the Actor can still push the listing fields; review the run logs and try the run again.

#### Is it legal or allowed to scrape ANWB Webwinkel public data?

The Actor collects publicly available product listings from ANWB Webwinkel category, search, and product pages. Whether a particular use is legal or allowed depends on the source terms and the applicable law for your use case; public availability alone is not a legal guarantee.

### Usage statistics

This Actor creates a small, content-free summary at the end of each run, used only to monitor reliability and improve this Actor. No input values, credentials or scraped data are sent.

A copy of the exact record for your run is saved as `USAGE_STATS` in your own Apify key-value store.

To opt out, set `disableUsageStats` to `true` in the input. Nothing is sent then.

[Full list of collected fields](https://api.apify.com/v2/key-value-stores/v9rgHjMKLDGtHf8tD/records/index.html)

# Actor input Schema

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

Public ANWB Webwinkel category or search page, for example https://www.anwb.nl/webwinkel/c/212/auto.

## `maxResults` (type: `integer`):

Maximum number of product records to collect.

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

Optional proxy settings. Leave empty to connect directly.

## Actor input object example

```json
{
  "categoryUrl": "https://www.anwb.nl/webwinkel/c/212/auto",
  "maxResults": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

Dataset with the scraped ANWB Webwinkel product records.

# 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 = {
    "categoryUrl": "https://www.anwb.nl/webwinkel/c/212/auto",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("bovi/anwb-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 = {
    "categoryUrl": "https://www.anwb.nl/webwinkel/c/212/auto",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("bovi/anwb-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 '{
  "categoryUrl": "https://www.anwb.nl/webwinkel/c/212/auto",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call bovi/anwb-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bovi/anwb-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/1r8dxxs5m9pf3Tw5Y/builds/CGshFAYx7CcDksJtv/openapi.json
