# Gonser Product Search Scraper (`stealth_mode/gonser-product-search-scraper`) Actor

Scrape product data from Gonser.ch search results in seconds. Collect product names, images, prices, variations, properties, and 14+ structured fields — perfect for market research, competitor monitoring, and e-commerce analytics.

- **URL**: https://apify.com/stealth\_mode/gonser-product-search-scraper.md
- **Developed by:** [Stealth mode](https://apify.com/stealth_mode) (community)
- **Categories:** Automation, Developer tools, E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.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.
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.md):

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

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.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/platform/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

## Gonser Product Search Scraper: Extract Swiss Product Listings Instantly

---

### What Is Gonser.ch?

Gonser.ch is a leading Swiss e-commerce platform offering a diverse range of products across multiple categories. With thousands of searchable listings, powerful filters, and detailed product specifications, it's a valuable source for price intelligence, product trend analysis, and market research. However, manually extracting data from search result pages is labor-intensive and error-prone. The **Gonser Product Search Scraper** automates this process, delivering clean, structured product data directly into your workflows.

---

### Overview

The **Gonser Product Search Scraper** extracts product listings from Gonser.ch search result pages, converting dynamic web content into machine-readable structured records. It is ideal for:

- **E-commerce analysts** tracking product availability, pricing, and competition
- **Market researchers** monitoring product trends and assortment changes
- **Price intelligence teams** building historical pricing databases
- **Business intelligence teams** feeding product data into BI dashboards
- **Retailers** benchmarking competitor offerings and positioning

The scraper handles pagination, captures high-quality product images, and retrieves detailed attribute data with minimal configuration.

---

### Input Format

The scraper accepts a JSON configuration with three key parameters:

```json
{
  "urls": [
    "https://www.gonser.ch/en/search/?query=dip&page=2"
  ],
  "ignore_url_failures": true,
  "max_items_per_url": 200
}
````

| Field | Type | Description |
|---|---|---|
| `urls` | Array | Search page URLs from Gonser.ch to scrape. Navigate to a search result page, apply filters if needed, and copy the full URL. Include multiple URLs for different product categories or queries. |
| `ignore_url_failures` | Boolean | If `true`, the scraper continues if some URLs fail to load. Recommended for large batch runs. Set to `false` only if you need strict error handling. |
| `max_items_per_url` | Integer | Maximum number of products to extract per URL (e.g., `200`). Use `20`–`50` for quick tests; increase to `200` for comprehensive data collection. |

***

### Output Format

**Sample output**

```json
{
  "images": {
    "all": [
      {
        "names": [],
        "url_second_preview": "https://cdn02.plentymarkets.com/mrt54q44tptl/item/images/29969/secondPreview/Aperoschalen-farbig-5er-Set--1-.jpg",
        "url_preview": "https://cdn02.plentymarkets.com/mrt54q44tptl/item/images/29969/preview/Aperoschalen-farbig-5er-Set--1-.jpg",
        "width": 1000,
        "path": "S3:29969:Aperoschalen-farbig-5er-Set--1-.jpg",
        "position": 0,
        "url_middle": "https://cdn02.plentymarkets.com/mrt54q44tptl/item/images/29969/middle/Aperoschalen-farbig-5er-Set--1-.jpg",
        "url": "https://cdn02.plentymarkets.com/mrt54q44tptl/item/images/29969/full/Aperoschalen-farbig-5er-Set--1-.jpg",
        "height": 1000,
        "clean_image_name": "Aperoschalen-farbig-5er-Set--1-.jpg"
      },
      {
        "names": [],
        "url_preview": "https://cdn02.plentymarkets.com/mrt54q44tptl/item/images/29969/preview/Aperoschalen-farbig-5er-Set--2-.jpg",
        "position": 1,
        "url": "https://cdn02.plentymarkets.com/mrt54q44tptl/item/images/29969/full/Aperoschalen-farbig-5er-Set--2-.jpg",
        "width": 1000,
        "url_middle": "https://cdn02.plentymarkets.com/mrt54q44tptl/item/images/29969/middle/Aperoschalen-farbig-5er-Set--2-.jpg",
        "path": "S3:29969:Aperoschalen-farbig-5er-Set--2-.jpg",
        "height": 1000,
        "url_second_preview": "https://cdn02.plentymarkets.com/mrt54q44tptl/item/images/29969/secondPreview/Aperoschalen-farbig-5er-Set--2-.jpg",
        "clean_image_name": "Aperoschalen-farbig-5er-Set--2-.jpg"
      }
    ],
    "variation": [
      {
        "names": [],
        "url_second_preview": "https://cdn02.plentymarkets.com/mrt54q44tptl/item/images/29969/secondPreview/Aperoschalen-farbig-5er-Set--1-.jpg",
        "url_preview": "https://cdn02.plentymarkets.com/mrt54q44tptl/item/images/29969/preview/Aperoschalen-farbig-5er-Set--1-.jpg",
        "width": 1000,
        "path": "S3:29969:Aperoschalen-farbig-5er-Set--1-.jpg",
        "position": 0,
        "url_middle": "https://cdn02.plentymarkets.com/mrt54q44tptl/item/images/29969/middle/Aperoschalen-farbig-5er-Set--1-.jpg",
        "url": "https://cdn02.plentymarkets.com/mrt54q44tptl/item/images/29969/full/Aperoschalen-farbig-5er-Set--1-.jpg",
        "height": 1000,
        "clean_image_name": "Aperoschalen-farbig-5er-Set--1-.jpg"
      },
      {
        "names": [],
        "url_preview": "https://cdn02.plentymarkets.com/mrt54q44tptl/item/images/29969/preview/Aperoschalen-farbig-5er-Set--2-.jpg",
        "position": 1,
        "url": "https://cdn02.plentymarkets.com/mrt54q44tptl/item/images/29969/full/Aperoschalen-farbig-5er-Set--2-.jpg",
        "width": 1000,
        "url_middle": "https://cdn02.plentymarkets.com/mrt54q44tptl/item/images/29969/middle/Aperoschalen-farbig-5er-Set--2-.jpg",
        "path": "S3:29969:Aperoschalen-farbig-5er-Set--2-.jpg",
        "height": 1000,
        "url_second_preview": "https://cdn02.plentymarkets.com/mrt54q44tptl/item/images/29969/secondPreview/Aperoschalen-farbig-5er-Set--2-.jpg",
        "clean_image_name": "Aperoschalen-farbig-5er-Set--2-.jpg"
      }
    ]
  },
  "item": {
    "id": 29969,
    "free1": "",
    "free10": "",
    "free11": "",
    "free12": "",
    "free13": "0",
    "free14": "0",
    "free15": "0",
    "free16": "0",
    "free17": "0",
    "free18": "0",
    "free19": "0",
    "store_special": null,
    "manufacturer_id": 79,
    "item_type": "default",
    "manufacturer": {
      "position": 0,
      "external_name": "Koop KT"
    },
    "feedback_decimal": null,
    "feedback_count": null,
    "rebate": 0,
    "salable_variation_count": 1,
    "customs_tariff_number": "",
    "producing_country": {
      "names": []
    },
    "condition": {
      "names": []
    }
  },
  "texts": {
    "name2": "Aperitif bowl serving set stoneware 5 pcs",
    "name3": "",
    "lang": "en",
    "description": "<div class=\"item-description\"><h3>Elegant 5 pcses dip set with bamboo tray</h3>\n<ul>\t<li>Stylish set for attractive table decoration and serving</li>\t<li>Four dip bowls in different colours made of high-quality stoneware</li>\t<li>Practical bamboo tray for secure support and transport</li>\t<li>Ideal for snacks, dips and small side dishes at parties or cosy evenings</li>\t<li>High-quality workmanship guarantees durability and easy cleaning</li></ul>\n<p><strong>Technical data:</strong></p>\n<ul>\t<li>Material: Stoneware, bamboo</li>\t<li>Colour: Blue / anthracite / cream / green / natural (as shown)</li>\t<li>Tray dimensions: 22 x 22 x 1 cm (L x D x H)</li>\t<li>Bowl dimensions: 9.5 x 4.5 cm (D x H)</li></ul>\n<p><strong>Scope of delivery:</strong></p>\n<ul>\t<li>4 x aperitif bowl</li>\t<li>1 x bamboo tray</li></ul></div>",
    "url_path": "aperitif-bowl-serving-set-stoneware-5-pcs",
    "name1": "Aperitif bowl serving set stoneware 5 pcs"
  },
  "variation": {
    "item_id": 29969,
    "availability_id": 1,
    "maximum_order_quantity": null,
    "minimum_order_quantity": 1,
    "interval_order_quantity": 1,
    "released_at": "2026-01-09T00:00:00+01:00",
    "name": "DIPSCHALEN 5er Set",
    "vat_id": 0,
    "bundle_type": null,
    "may_show_unit_price": false,
    "availability_updated_at": "2026-01-19T15:16:42+01:00",
    "availability": {
      "id": 1,
      "icon": "av1.gif?v=-1476527387",
      "average_days": 1,
      "created_at": "2019-08-07 11:04:13",
      "updated_at": "2019-08-07 11:04:13",
      "names": {
        "id": 163,
        "availability_id": 1,
        "lang": "en",
        "name": "Available now",
        "created_at": "2024-07-03 07:45:31",
        "updated_at": "2024-07-03 07:45:31"
      }
    },
    "id": 31094,
    "model": ""
  },
  "variation_properties": [
    {
      "id": 1,
      "position": 0,
      "name": null,
      "description": null,
      "properties": [
        {
          "cast": "int",
          "referrer": [
            119,
            101,
            4,
            104,
            104,
            2,
            2,
            121,
            2,
            2,
            133,
            112,
            2,
            139,
            134,
            5,
            4,
            110,
            107,
            152,
            4,
            2,
            0,
            135,
            153,
            118,
            102,
            4,
            104,
            104,
            111,
            126,
            11,
            4,
            155,
            2,
            4,
            117,
            121,
            116,
            2,
            7,
            114,
            104,
            125,
            104,
            4,
            2,
            104,
            106,
            2,
            144,
            150,
            123,
            2,
            2,
            2,
            3,
            2,
            147,
            103,
            115,
            143,
            138,
            142,
            136,
            148,
            137,
            2,
            154,
            2,
            2,
            149,
            10,
            2,
            1,
            2,
            4,
            8,
            143,
            145,
            104,
            130,
            104,
            6,
            4,
            104,
            2,
            132,
            120,
            4,
            113,
            109,
            131,
            124,
            104,
            127,
            9,
            4,
            108,
            2,
            2,
            2,
            108,
            106,
            105,
            108,
            122
          ],
          "names": [],
          "clients": [
            21448,
            21675,
            21672,
            21673,
            21407,
            21678,
            21674,
            21449,
            21676,
            8291
          ],
          "display": [
            "displayInOrderProcess",
            "showOnItemsPage",
            "showInItemListing"
          ],
          "options": [],
          "groups": [
            {
              "names": [],
              "options": [
                {
                  "group_id": 1,
                  "created_at": "2021-07-15 12:29:06",
                  "updated_at": "2021-07-15 12:29:06",
                  "type": "surchargeType",
                  "id": 1,
                  "value": "flat"
                },
                {
                  "type": "groupType",
                  "group_id": 1,
                  "id": 4,
                  "value": "none",
                  "created_at": "2021-07-15 12:29:06",
                  "updated_at": "2021-07-15 12:29:06"
                }
              ],
              "updated_at": "2021-07-15 12:29:06",
              "created_at": "2021-07-15 12:29:06",
              "position": 0,
              "id": 1
            }
          ],
          "id": 4,
          "group_id": 1,
          "position": 0,
          "markup": 0,
          "values": {
            "id": 9563114,
            "lang": "0",
            "value": "1",
            "description": ""
          }
        },
        {
          "cast": "multiSelection",
          "referrer": [
            1
          ],
          "names": {
            "id": 99,
            "property_id": 68,
            "lang": "en",
            "name": "NetStock",
            "description": "",
            "created_at": "2026-05-26 14:06:45",
            "updated_at": "2026-05-26 14:06:45"
          },
          "clients": [
            8291
          ],
          "display": [
            "displayInPlentyWarehouse",
            "showInItemListing",
            "showOnItemsPage"
          ],
          "options": [],
          "groups": [
            {
              "id": 1,
              "position": 0,
              "created_at": "2021-07-15 12:29:06",
              "updated_at": "2021-07-15 12:29:06",
              "names": [],
              "options": [
                {
                  "id": 4,
                  "group_id": 1,
                  "type": "groupType",
                  "value": "none",
                  "created_at": "2021-07-15 12:29:06",
                  "updated_at": "2021-07-15 12:29:06"
                },
                {
                  "id": 1,
                  "group_id": 1,
                  "type": "surchargeType",
                  "value": "flat",
                  "created_at": "2021-07-15 12:29:06",
                  "updated_at": "2021-07-15 12:29:06"
                }
              ]
            }
          ],
          "id": 68,
          "group_id": 1,
          "position": 0,
          "markup": 0,
          "values": [
            {
              "selection_id": 61,
              "lang": "en",
              "value": "More than 10 pieces",
              "description": "",
              "position": 3
            }
          ]
        }
      ]
    },
    {
      "id": 5,
      "position": 0,
      "name": null,
      "description": null,
      "properties": [
        {
          "cast": "multiSelection",
          "referrer": [
            1
          ],
          "names": {
            "id": 91,
            "property_id": 43,
            "lang": "en",
            "name": "Availability",
            "description": "",
            "created_at": "2026-04-16 08:17:03",
            "updated_at": "2026-04-16 08:17:03"
          },
          "clients": [
            8291
          ],
          "display": [
            "displayInPlentyWarehouse",
            "groupIsHidden",
            "showInItemListing",
            "showOnItemsPage"
          ],
          "options": [],
          "groups": [
            {
              "id": 5,
              "position": 0,
              "created_at": "2022-11-14 15:24:25",
              "updated_at": "2022-11-14 15:24:25",
              "options": [
                {
                  "id": 18,
                  "group_id": 5,
                  "type": "groupType",
                  "value": "none",
                  "created_at": "2023-04-28 16:49:48",
                  "updated_at": "2023-04-28 16:49:48"
                },
                {
                  "id": 19,
                  "group_id": 5,
                  "type": "surchargeType",
                  "value": "flat",
                  "created_at": "2023-04-28 16:49:48",
                  "updated_at": "2023-04-28 16:49:48"
                }
              ]
            }
          ],
          "id": 43,
          "group_id": 5,
          "position": 0,
          "markup": 0,
          "values": [
            {
              "selection_id": 52,
              "lang": "en",
              "value": "available",
              "description": "",
              "position": 1
            }
          ]
        }
      ]
    },
    {
      "id": 9,
      "position": 0,
      "name": null,
      "description": null,
      "properties": [
        {
          "cast": "string",
          "referrer": [
            1
          ],
          "names": [],
          "clients": [
            8291
          ],
          "display": [
            "showOnItemsPage",
            "showInItemListing",
            "groupIsHidden"
          ],
          "options": [],
          "groups": [
            {
              "options": [
                {
                  "created_at": "2026-03-10 16:43:13",
                  "value": "none",
                  "type": "groupType",
                  "id": 22,
                  "group_id": 9,
                  "updated_at": "2026-03-10 16:43:13"
                },
                {
                  "created_at": "2026-03-10 16:43:13",
                  "value": "flat",
                  "updated_at": "2026-03-10 16:43:13",
                  "type": "surchargeType",
                  "id": 23,
                  "group_id": 9
                }
              ],
              "created_at": "2026-03-10 16:43:13",
              "id": 9,
              "position": 0,
              "updated_at": "2026-03-10 16:43:13"
            }
          ],
          "id": 63,
          "group_id": 9,
          "position": 0,
          "markup": 0,
          "values": {
            "id": 12591980,
            "lang": "0",
            "value": "17106,24114,9027",
            "description": ""
          }
        }
      ]
    }
  ],
  "filter": {
    "has_facet": true,
    "has_variation_properties": false,
    "is_salable": true,
    "is_salable_and_active": true,
    "has_active_children": false,
    "has_children": false
  },
  "unit": {
    "names": {
      "unit_id": 1,
      "lang": "en",
      "name": "piece"
    },
    "unit_of_measurement": "C62",
    "content": 1
  },
  "properties": [],
  "has_order_properties": false,
  "has_required_order_property": false,
  "grouped_attributes": [],
  "prices": {
    "default": {
      "price": {
        "value": 13.9,
        "formatted": "CHF 13.90"
      },
      "unit_price": {
        "value": 13.9,
        "formatted": "CHF 13.90"
      },
      "base_price": "",
      "base_lot": null,
      "base_unit": null,
      "base_single_price": null,
      "minimum_order_quantity": 1,
      "contact_class_discount": {
        "percent": 0,
        "amount": 0
      },
      "category_discount": {
        "percent": 0,
        "amount": 0
      },
      "currency": "CHF",
      "lowest_price": {
        "value": null,
        "formatted": ""
      },
      "vat": {
        "id": 0,
        "value": 8.1
      },
      "is_net": false,
      "data": {
        "sales_price_id": 1,
        "price": 13.9,
        "price_net": 12.858464384829,
        "base_price": 13.9,
        "base_price_net": 12.858464384829,
        "unit_price": 13.9,
        "unit_price_net": 12.858464384829,
        "lowest_price": null,
        "lowest_price_net": null,
        "customer_class_discount_percent": 0,
        "customer_class_discount": 0,
        "customer_class_discount_net": 0,
        "category_discount_percent": 0,
        "category_discount": 0,
        "category_discount_net": 0,
        "vat_id": 0,
        "vat_value": 8.1,
        "currency": "CHF",
        "interval": "none",
        "conversion_factor": 1,
        "minimum_order_quantity": "1.00",
        "updated_at": "2025-12-10 12:36:24",
        "type": "default",
        "price_position": 0
      }
    },
    "rrp": {
      "price": {
        "value": 0,
        "formatted": "CHF 0.00"
      },
      "unit_price": {
        "value": 0,
        "formatted": "CHF 0.00"
      },
      "base_price": "",
      "base_lot": null,
      "base_unit": null,
      "base_single_price": null,
      "minimum_order_quantity": 0,
      "contact_class_discount": {
        "percent": 0,
        "amount": 0
      },
      "category_discount": {
        "percent": 0,
        "amount": 0
      },
      "currency": "CHF",
      "lowest_price": {
        "value": null,
        "formatted": ""
      },
      "vat": {
        "id": 0,
        "value": 8.1
      },
      "is_net": false,
      "data": {
        "sales_price_id": 28,
        "price": 0,
        "price_net": 0,
        "base_price": 0,
        "base_price_net": 0,
        "unit_price": 0,
        "unit_price_net": 0,
        "lowest_price": null,
        "lowest_price_net": null,
        "customer_class_discount_percent": 0,
        "customer_class_discount": 0,
        "customer_class_discount_net": 0,
        "category_discount_percent": 0,
        "category_discount": 0,
        "category_discount_net": 0,
        "vat_id": 0,
        "vat_value": 8.1,
        "currency": "CHF",
        "interval": "none",
        "conversion_factor": 1,
        "minimum_order_quantity": "0.00",
        "updated_at": "2025-12-10 12:36:24",
        "type": "rrp",
        "price_position": 0
      }
    },
    "set": null,
    "special_offer": null,
    "graduated_prices": [
      {
        "price": {
          "value": 13.9,
          "formatted": "CHF 13.90"
        },
        "unit_price": {
          "value": 13.9,
          "formatted": "CHF 13.90"
        },
        "base_price": "",
        "base_lot": null,
        "base_unit": null,
        "base_single_price": null,
        "minimum_order_quantity": 1,
        "contact_class_discount": {
          "percent": 0,
          "amount": 0
        },
        "category_discount": {
          "percent": 0,
          "amount": 0
        },
        "currency": "CHF",
        "lowest_price": {
          "value": null,
          "formatted": ""
        },
        "vat": {
          "id": 0,
          "value": 8.1
        },
        "is_net": false,
        "data": {
          "sales_price_id": 1,
          "price": 13.9,
          "price_net": 12.858464384829,
          "base_price": 13.9,
          "base_price_net": 12.858464384829,
          "unit_price": 13.9,
          "unit_price_net": 12.858464384829,
          "lowest_price": null,
          "lowest_price_net": null,
          "customer_class_discount_percent": 0,
          "customer_class_discount": 0,
          "customer_class_discount_net": 0,
          "category_discount_percent": 0,
          "category_discount": 0,
          "category_discount_net": 0,
          "vat_id": 0,
          "vat_value": 8.1,
          "currency": "CHF",
          "interval": "none",
          "conversion_factor": 1,
          "minimum_order_quantity": "1.00",
          "updated_at": "2025-12-10 12:36:24",
          "type": "default",
          "price_position": 0
        }
      }
    ]
  },
  "facets": [],
  "attributes": [],
  "from_url": "https://www.gonser.ch/en/search/?query=dip"
}
```

Each product returns a comprehensive record with 14+ fields capturing full product details:

#### Product Identification

| Field | Meaning | Example |
|---|---|---|
| `Item` | Unique product identifier or SKU | `SKU-12345` |
| `Texts` | Product name, title, and description snippets | `Professional Chef's Knife - 8 inch` |

#### Visual Content

| Field | Meaning |
|---|---|
| `Images` | Array of product image URLs (thumbnail, main, alternate views) |

#### Pricing & Units

| Field | Meaning | Example |
|---|---|---|
| `Prices` | Product price(s) in CHF, including discounts and bulk pricing | `{"regular": 29.99, "discount": 24.99}` |
| `Unit` | Measurement or package unit | `per piece`, `500g`, `box of 12` |

#### Product Variants

| Field | Meaning |
|---|---|
| `Variation` | Available product variants (size, color, flavor, etc.) |
| `Variation Properties` | Detailed attributes for each variant (e.g., `Color: Red, Size: M`) |

#### Attributes & Metadata

| Field | Meaning | Example |
|---|---|---|
| `Properties` | Key-value product attributes (material, weight, origin, certifications) | `{"Material": "Stainless Steel", "Origin": "Switzerland"}` |
| `Attributes` | Additional product specs and features | `Dishwasher Safe`, `BPA-Free`, `Organic Certified` |
| `Grouped Attributes` | Related attributes organized by category | `Dimensions`, `Care Instructions`, `Allergen Info` |

#### Availability & Flags

| Field | Meaning |
|---|---|
| `Filter` | Filter tags applied to the product (e.g., brand, category, price range) |
| `Facets` | Faceted search dimensions for filtering and analytics |
| `Has Order Properties` | Boolean: whether the product has configurable order options |
| `Has Required Order Property` | Boolean: whether order options are mandatory |

***

### How to Use

1. **Find search pages** — Navigate to Gonser.ch, use the search bar and apply filters (category, price, brand, etc.). Copy the resulting URL with `?query=` parameters.
2. **Prepare input** — Paste URLs into the `urls` array. For multi-page scraping, add each page URL separately (e.g., `page=1`, `page=2`, `page=3`).
3. **Set limits** — Adjust `max_items_per_url` based on your needs. Start with `50` for testing; increase to `200` for full datasets.
4. **Enable fault tolerance** — Set `ignore_url_failures: true` to handle temporary server issues gracefully.
5. **Run and export** — Start the scraper and download results as JSON, CSV, or Excel.

**Best practices:**

- Scrape during off-peak hours to reduce server load.
- Use specific search queries to narrow results and improve relevance.
- Combine multiple scrape runs with different filters for comprehensive market coverage.

***

### Use Cases & Business Value

- **Competitive pricing:** Monitor Gonser's product prices and discounts in real time
- **Assortment analysis:** Track which products are in stock, on sale, or discontinued
- **Trend spotting:** Identify emerging product categories or popular items by analyzing search result rankings
- **Product database building:** Maintain a synchronized copy of Gonser's catalog for resale or comparison platforms
- **Market research:** Analyze product attributes, certifications, and customer-facing descriptions

Automated scraping eliminates hours of manual data entry and ensures your product intelligence is always fresh and accurate.

***

### Conclusion

The **Gonser Product Search Scraper** transforms Gonser.ch search results into actionable business intelligence. With detailed output capturing prices, images, variants, and 14+ structured fields, it empowers e-commerce teams, market researchers, and analysts to make data-driven decisions faster. Start scraping today and unlock the full potential of Gonser's product ecosystem.

# Actor input Schema

## `urls` (type: `array`):

Add the URLs of the product search list urls you want to scrape. You can paste URLs one by one, or use the Bulk edit section to add a prepared list.

## `ignore_url_failures` (type: `boolean`):

If true, the scraper will continue running even if some URLs fail to be scraped.

## `max_items_per_url` (type: `integer`):

The maximum number of items to scrape per URL.

## Actor input object example

```json
{
  "urls": [
    "https://www.gonser.ch/en/search/?query=dip&page=2"
  ],
  "ignore_url_failures": true,
  "max_items_per_url": 20
}
```

# 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 = {
    "urls": [
        "https://www.gonser.ch/en/search/?query=dip&page=2"
    ],
    "ignore_url_failures": true,
    "max_items_per_url": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("stealth_mode/gonser-product-search-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 = {
    "urls": ["https://www.gonser.ch/en/search/?query=dip&page=2"],
    "ignore_url_failures": True,
    "max_items_per_url": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("stealth_mode/gonser-product-search-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 '{
  "urls": [
    "https://www.gonser.ch/en/search/?query=dip&page=2"
  ],
  "ignore_url_failures": true,
  "max_items_per_url": 20
}' |
apify call stealth_mode/gonser-product-search-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Gonser Product Search Scraper",
        "description": "Scrape product data from Gonser.ch search results in seconds. Collect product names, images, prices, variations, properties, and 14+ structured fields — perfect for market research, competitor monitoring, and e-commerce analytics.",
        "version": "0.0",
        "x-build-id": "GCCYBnmqQbSFU6nYx"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/stealth_mode~gonser-product-search-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-stealth_mode-gonser-product-search-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/stealth_mode~gonser-product-search-scraper/runs": {
            "post": {
                "operationId": "runs-sync-stealth_mode-gonser-product-search-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/stealth_mode~gonser-product-search-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-stealth_mode-gonser-product-search-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",
                "properties": {
                    "urls": {
                        "title": "URLs of the product search list urls to scrape",
                        "type": "array",
                        "description": "Add the URLs of the product search list urls you want to scrape. You can paste URLs one by one, or use the Bulk edit section to add a prepared list.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "ignore_url_failures": {
                        "title": "Continue running even if some URLs fail to be scraped",
                        "type": "boolean",
                        "description": "If true, the scraper will continue running even if some URLs fail to be scraped."
                    },
                    "max_items_per_url": {
                        "title": "Max items per URL",
                        "type": "integer",
                        "description": "The maximum number of items to scrape per URL."
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
