# Elgiganten Scraper (`lexis-solutions/elgiganten-scraper`) Actor

Scrape Elgiganten.dk and Elgiganten.se product data at scale, including prices, stock, ratings, images, and metadata. Ideal for price tracking, catalog building, availability monitoring, and competitive research with flexible filters.

- **URL**: https://apify.com/lexis-solutions/elgiganten-scraper.md
- **Developed by:** [Lexis Solutions](https://apify.com/lexis-solutions) (community)
- **Categories:** E-commerce, Automation, AI
- **Stats:** 2 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$29.00/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period.You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#rental-actors

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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

## Elgiganten Scraper

![banner](https://i.imgur.com/1j7dHv7.png)

Elgiganten (elgiganten.dk / elgiganten.se) is a major Nordic electronics retailer. This scraper collects product data from search results or direct product pages, including pricing, stock, images, ratings, and brand metadata.

### Introduction

The Elgiganten scraper supports keyword search and direct product URLs. It paginates through listings, applies optional filters (price, rating, sort, country), and outputs structured product data.

### Use Cases

- **Price tracking**: Monitor price changes across products and categories.
- **Catalog building**: Create a structured product database with images and metadata.
- **Availability monitoring**: Track online stock and in-store availability flags.
- **Competitive research**: Compare products, brands, and ratings across markets.

### Input

Provide the following fields:

- `startUrls` (array, optional): Product page URLs on Elgiganten. Example: `{ "url": "https://www.elgiganten.dk/product/.../906396" }`
- `query` (string, optional): Search term used to build listing URLs.
- `country` (string, optional): `dk` or `se` (default: `dk`).
- `sort` (string, optional): Sort order for listings (e.g. `Relevancy-desc`, `ActivePrice.Amount-asc`).
- `priceMin` (number, optional): Minimum price filter.
- `priceMax` (number, optional): Maximum price filter.
- `rating` (array, optional): Filter by average rating (`1`..`5`).
- `maxItems` (integer, optional): Maximum number of items (default: 10).
- `proxyConfiguration` (object, optional): Apify proxy configuration. Example: `{ "useApifyProxy": true }`

Notes:

- You must provide either `startUrls` or `query` to run the scraper.
- Use product URLs only in `startUrls`.
- Non-product URLs (for example, search URLs with various parameters) are skipped automatically.
- The scraper supports two country sites; set `country` to match the website you want.

### Input Examples

**1) Start URLs**

```json
{
  "startUrls": [
    {
      "url": "https://www.elgiganten.dk/product/tv-lyd-smart-home/tv-tilbehor/tv/samsung-55-qn85f-neo-qled-4k-miniled-smart-tv-2025/906396"
    }
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

**2) Query with filters**

```json
{
  "query": "smart tv",
  "country": "dk",
  "sort": "ActivePrice.Amount-asc",
  "priceMin": 2000,
  "priceMax": 10000,
  "rating": ["4", "5"],
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

### Output

Each dataset item contains fields like:

```json
{
  "url": "https://elgiganten.dk/product/tv-lyd-smart-home/tv-tilbehor/tv/samsung-55-qn85f-neo-qled-4k-miniled-smart-tv-2025/906396",
  "sku": "906396",
  "familyName": "QN85F",
  "productPageUrl": "/product/tv-lyd-smart-home/tv-tilbehor/tv/samsung-55-qn85f-neo-qled-4k-miniled-smart-tv-2025/906396",
  "ratingAverage": 0,
  "ratingCount": 0,
  "taxonomyIds": ["PT104", "PT1112", "PT351"],
  "taxonomyNames": ["TV, Lyd & Smart Home", "TV & Tilbehor", "TV"],
  "taxonomyPaths": [
    "/tv-lyd-smart-home",
    "/tv-lyd-smart-home/tv-tilbehor",
    "/tv-lyd-smart-home/tv-tilbehor/tv"
  ],
  "gtin": "8806097082385",
  "articleType": "ZHAW",
  "manufacturerPartNumber": "TQ55QN85FAUXXC",
  "brandName": "Samsung",
  "title": "Samsung 55\" QN85F Neo QLED 4K MiniLED Smart TV (2025)",
  "bulletPoints": [
    "144Hz, 4x HDMI, HDMI-eArc",
    "4K AI-opskalering, AI-processor, HDR",
    "Smart TV, Mini LED, Dolby Atmos"
  ],
  "primaryImageUrl": "https://next-media.elkjop.com/image/dv_web_D18000137233848/906396/samsung-55-qn85f-neo-qled-4k-miniled-smart-tv-2025.jpg",
  "imageUrls": [
    "https://next-media.elkjop.com/image/dv_web_D18000137233848/906396/samsung-55-qn85f-neo-qled-4k-miniled-smart-tv-2025.jpg"
  ],
  "inStock": false,
  "isAvailableOnline": true,
  "currency": "DKK",
  "isDiscounted": true,
  "priceCurrent": [6999, 5599.2]
}
```

The scraper paginates through listing results and stops when `maxItems` is reached or there are no more products.

### Why use the Elgiganten Scraper?

- **Fast**: Efficient pagination and filtering.
- **Easy to use**: Search by keyword or provide product URLs.
- **Reliable**: Built on Apify Actors and Crawlee.
- **Flexible**: Supports country, sort, and price/rating filters.
- **Comprehensive**: Captures pricing, stock, and product metadata.

### FAQ

- **Can I scrape both Denmark and Sweden?**\
  Not in a single run. Set `country` to `dk` or `se` per run.

- **Does it support proxies?**\
  Yes. Configure `proxyConfiguration` to route traffic through Apify Proxy or your own proxies.

- **What if the website changes?**\
  Site updates may require adjustments. Please report issues or request updates.

### Need to scrape other retail sites?

Check out our other scrapers on Apify:

- [Advance Auto Parts Scraper](https://apify.com/lexis-solutions/advanceautoparts-scraper)
- [Barnes and Noble Scraper](https://apify.com/lexis-solutions/barnesandnoble-scraper)
- [Bath and Body Works Scraper](https://apify.com/lexis-solutions/bath-and-body-works)
- [Babylist Scraper](https://apify.com/lexis-solutions/babylist)
- [AutoZone Scraper](https://apify.com/lexis-solutions/auto-zone-com)
- [Alibaba Scraper](https://apify.com/lexis-solutions/alibaba-scraper)

***

## Got feedback or need an extension?

Lexis Solutions is a [certified Apify Partner](https://apify.com/partners/find). We can help you with custom solutions or data extraction projects.

Contact us over [Email](mailto:scraping@lexis.solutions) or [LinkedIn](https://www.linkedin.com/company/lexis-solutions)

### Support Our Work 💝

If you're happy with our work and scrapers, you're welcome to leave us a company review [here](https://apify.com/partners/find/lexis-solutions/review) and leave a review for the scrapers you're subscribed to. It will take you less than a minute but it will mean a lot to us!

Image Credit: Elgiganten

# Actor input Schema

## `startUrls` (type: `array`):

URLs to start with.

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

Maximum number of items.

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

Your proxy configuration from Apify

## `query` (type: `string`):

Search query

## `country` (type: `string`):

Country

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

Sort

## `priceMin` (type: `number`):

Minimum price filter

## `priceMax` (type: `number`):

Maximum price filter

## `rating` (type: `array`):

Filter by average rating (can select multiple)

## Actor input object example

```json
{
  "maxItems": 10,
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "query": "smart tv",
  "country": "dk"
}
```

# 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 = {
    "query": "smart tv"
};

// Run the Actor and wait for it to finish
const run = await client.actor("lexis-solutions/elgiganten-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 = { "query": "smart tv" }

# Run the Actor and wait for it to finish
run = client.actor("lexis-solutions/elgiganten-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 '{
  "query": "smart tv"
}' |
apify call lexis-solutions/elgiganten-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/db4AbVK6ocZiGWiAD/builds/qusTsscnH0SfWQHqa/openapi.json
