# Webhallen Scraper – Swedish Tech Prices, Deals & Stock (`loudtzu/webhallen-se-product-search`) Actor

Export webhallen.com products by category URL or keyword: name, SEK price, regular price, campaign end, sale flag, web and store stock, rating, review count, image and link. Shared retail schema. $0.0008/product + $0.005/run; failed runs free.

- **URL**: https://apify.com/loudtzu/webhallen-se-product-search.md
- **Developed by:** [LOUDTZU TZULOUD](https://apify.com/loudtzu) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

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

## Webhallen Scraper – Swedish Tech Prices, Deals & Stock

Export product prices from **webhallen.com**, one of Sweden's biggest tech and gaming retailers. Give it category pages or search terms; get name, price in SEK (incl. VAT), regular price, campaign type and end date, sale flag, web-warehouse and store stock, star rating, review count, image and product link.

### Who it's for

- **Swedish deal hunters and price trackers** following GPUs, consoles, TVs and Black Friday campaigns (campaign end dates included).
- **Resellers and Nordic e-commerce teams** benchmarking prices and stock depth.
- **Analysts** measuring campaign depth and availability across categories or search results.
- **AI agents and MCP clients**: output follows our shared retail schema (`product`, `price`, `currency`, `store`, `country`, `url`, `timestamp` on every item), so it merges with our other UK, Canadian, Australian and EU store Actors.

### How to use it

1. **Just run it:** with no input it saves up to 100 graphics cards.
2. Or paste category pages (e.g. `https://www.webhallen.com/se/category/47-Grafikkort-GPU`) and/or add **search terms** (e.g. `ssd`, `rtx 5070`).
3. Set **Max products**, **sort** (price, discount, newest, rating...), **On sale only**, **In stock online only** or **Exclude outlet items**.

Example input:

```json
{"searchTerms": ["ssd", "rtx 5070"], "maxItems": 60, "sort": "priceLow", "inStockOnly": true}
```

### Input

| Field | Default | What it does |
|---|---|---|
| `categoryUrls` | Graphics cards | webhallen.com category pages (product pages are rejected; search URLs: put the words in `searchTerms`) |
| `searchTerms` | – | Keywords, searched like the site's search box |
| `maxItems` | 100 | Total products, split fairly across sources (1 to 500 per run; at most 15 pages per category or search) |
| `sort` | relevance | `relevance`, `popularity`, `priceLow`, `priceHigh`, `discount`, `newest`, `rating` |
| `onSaleOnly` | false | Only products below their regular price |
| `inStockOnly` | false | Only products in stock in the web warehouse |
| `excludeOutlet` | false | Skip Fyndvara (outlet/returned) items |
| `proxyConfiguration` | off | Direct by default; switches to the Apify datacenter proxy by itself if blocked (never residential) |

### Output

Example item:

```json
{
 "product": "PNY CS900 500GB",
 "price": 990.0,
 "currency": "SEK",
 "store": "Webhallen",
 "country": "SE",
 "url": "https://www.webhallen.com/se/product/371321-PNY-CS900-500GB",
 "timestamp": "2026-11-15T21:23:07Z",
 "sku": "371321",
 "brand": null,
 "wasPrice": 1149.0,
 "onSale": true,
 "availability": "InStock",
 "rating": 4.7,
 "reviewCount": 40,
 "imageUrl": "https://www.webhallen.com/images/product/371321?trim",
 "category": "Datorkomponenter > Lagring > SSD > Intern SATA SSD",
 "savings": 159.0,
 "priceType": "campaign",
 "priceValidUntil": "2026-12-03T23:59:00",
 "onlineStock": 51,
 "storeStock": 17,
 "isOutlet": false,
 "subtitle": "2.5\" / 500 GB / Serial ATA-600 / 550 MBps",
 "productId": 371321,
 "source": "ssd",
 "categoryUrl": null
}
```

| Field | Notes |
|---|---|
| `product`, `price`, `currency` (SEK), `store`, `country` (SE), `url`, `timestamp` | Always filled (shared retail schema core). Consumer prices incl. VAT as shown on the site |
| `sku` / `productId` | Webhallen product id |
| `brand` | Always null: the product list has no brand field (the brand is usually the first word of `product`) |
| `wasPrice`, `onSale`, `savings` | Regular price, sale flag and saving in SEK |
| `priceType`, `priceValidUntil` | Campaign/member price type and when that price ends |
| `availability`, `onlineStock`, `storeStock` | `InStock` (web), `InStoreOnly` or `OutOfStock`; units in the web warehouse (the site caps the shown number) and across stores |
| `rating`, `reviewCount` | Average rating and number of reviews (counts only; null rating without reviews) |
| `isOutlet`, `subtitle` | Fyndvara flag and the short spec line the list shows |
| `imageUrl`, `category` | Image link (never the file) and category path |

In a 500-product search run for 'ssd' (2026-11-15) every item had the core fields, `availability` and `imageUrl`; 214 were on sale, 350 in stock online and 233 had a rating.

Only facts and links are exported: no product descriptions, no review text, no image files and no personal data.

### What to expect from a run

- Built for targeted price checks on small category extracts, not full-catalogue copies: at most 500 products per run and 15 pages per category or search.
- The Actor reads the same JSON product lists the site's own pages load, 24 products per request; 500 products take under a minute.
- Sponsored placements are skipped, so results reflect the category or search itself.
- A wrong URL, an unknown category, a block or an empty result ends with a clear message and **no charge at all**. Problems are listed in the `ERRORS` record.

### Pricing

Pay per event: **$0.005 per run** (`run-start`, charged once and only when the run saves at least one product) + **$0.0008 per product** saved. 1 product costs $0.0058, 100 products $0.0850, 500 products (the per-run maximum) $0.4050. Runs that save nothing (bad input, blocked, unknown category) cost nothing.

### Other Webhallen Actors (checked 2026-11-15)

| Actor | Price | Features |
|---|---|---|
| m3web/swedish-price-comparison-actor | $0.005 (FREE), $0.0015 (BRONZE), $0.00135 (SILVER), $0.0012 (GOLD and up) per result + $0.00005 start | Different scope: price comparison by GTIN across Swedish retailers; not a Webhallen category or search export |
| **This Actor** | $0.0008 per product + $0.005 per run that saves products | Shared retail schema; see Input |

### Privacy and legal

The Actor reads only public pages and product lists that any visitor's browser loads without logging in, at a low request rate, and exports product facts and links only, never personal data. It outputs an image link (URL) only and never downloads or copies image files. Webhallen publishes terms of sale (Köpvillkor) and policies; we read all of them on 2026-11-15 (purchase, delivery, warranty, service, competition, privacy and cookie terms) and found no clause about automated access or reuse of prices. The site's robots.txt only disallows member and checkout pages. You are responsible for how you use the data.

### FAQ

**Where do I find a category URL?** Open the category on webhallen.com and copy the address bar.
**Do I pay for a failed run?** No. Nothing is charged, not even the run fee, unless products are saved.

# Actor input Schema

## `categoryUrls` (type: `array`):

webhallen.com category pages copied from the site, e.g. https://www.webhallen.com/se/category/47-Grafikkort-GPU. Leave empty and add search terms to search instead; with neither, a 'just run it' call reads Graphics cards.

## `searchTerms` (type: `array`):

Keywords to search like the site's search box (Swedish or English product names work), e.g. 'ssd', 'rtx 5070'.

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

Total products across all sources (default 100, at most 500 per run). Split fairly; unused share passes to the next source. 24 products per request; at most 15 pages per category or search.

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

Which products come first when Max products is lower than the result count.

## `onSaleOnly` (type: `boolean`):

Keep only products priced below their regular price (skipped products are not charged).

## `inStockOnly` (type: `boolean`):

Keep only products the web warehouse has in stock.

## `excludeOutlet` (type: `boolean`):

Skip Fyndvara (outlet/returned) items.

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

Off by default: the site answers direct requests. If it blocks, the run switches to the Apify datacenter proxy by itself (never residential).

## Actor input object example

```json
{
  "categoryUrls": [
    "https://www.webhallen.com/se/category/47-Grafikkort-GPU"
  ],
  "searchTerms": [
    "ssd",
    "rtx 5070"
  ],
  "maxItems": 100,
  "sort": "relevance",
  "onSaleOnly": false,
  "inStockOnly": false,
  "excludeOutlet": false,
  "proxyConfiguration": {
    "useApifyProxy": 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 = {
    "categoryUrls": [
        "https://www.webhallen.com/se/category/47-Grafikkort-GPU"
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("loudtzu/webhallen-se-product-search").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 = {
    "categoryUrls": ["https://www.webhallen.com/se/category/47-Grafikkort-GPU"],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("loudtzu/webhallen-se-product-search").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 '{
  "categoryUrls": [
    "https://www.webhallen.com/se/category/47-Grafikkort-GPU"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call loudtzu/webhallen-se-product-search --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,loudtzu/webhallen-se-product-search"
        }
    }
}
```

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/jXLhyQR65iAycyGuN/builds/keAhexqPAsY3j2xXi/openapi.json
