# XXL Sport Sweden Scraper - Products, Prices & Stock (`studio-amba/xxlsport-se-scraper`) Actor

Scrape products, prices, brands, ratings, and availability from XXL Sport Sweden (xxl.se), Sweden's largest sports retailer. Supports keyword search and category browsing. No login or cookies required.

- **URL**: https://apify.com/studio-amba/xxlsport-se-scraper.md
- **Developed by:** [Studio Amba](https://apify.com/studio-amba) (community)
- **Categories:** 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 result scrapeds

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?

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

## XXL Sport Sweden Scraper

Scrapes products from XXL Sport Sweden (xxl.se), Sweden's largest sports retailer. Covers running, skiing, cycling, outdoor, gym, hunting, and team sports.

Extract product names, brands, current and original prices, ratings, stock status, images, and product URLs at scale, with no login or cookies required.

### What this actor does

XXL.se is a Next.js storefront backed by an Elevate (Apptus eSales) search API. This actor queries that API directly for fast, structured product data, and falls back to HTML parsing when needed. You give it a Swedish search keyword or a category URL, and it returns clean JSON rows.

### Data extraction strategy

The scraper first queries XXL's **Elevate Storefront API v3** for structured product data (title, brand, price, rating, stock, images). If the API returns nothing, it falls back to a **CheerioCrawler** that parses product pages using **JSON-LD** and OpenGraph meta tags.

### Input

| Field | Type | Description |
|-------|------|-------------|
| `searchQuery` | String | Swedish search term (e.g. `löparskor`, `skidor`, `cykel`) |
| `categoryUrl` | String | Category URL (e.g. `https://www.xxl.se/skor/c/100305`) |
| `maxResults` | Integer | Limit (default: 100) |
| `proxyConfiguration` | Object | Proxy settings (residential, Sweden recommended) |

If you provide no input at all, the actor runs a sensible default search so it always returns data.

### Output

```json
{
    "name": "Runfalcon 5, fritidsskor, herr",
    "brand": "adidas",
    "price": 349,
    "originalPrice": 449,
    "currency": "SEK",
    "sku": "1228519",
    "productId": "1228519",
    "inStock": true,
    "rating": 4.4,
    "imageUrl": "https://cdn.xxl.se/filespin/eb74f72f04f64dc48a2981b9d306a246",
    "url": "https://www.xxl.se/adidas-runfalcon-5-fritidsskor-herr-vit/p/1228519_1_Style",
    "scrapedAt": "2026-07-07T10:00:00.000Z"
}
```

### Output fields

| Field | Description |
|-------|-------------|
| `name` | Product title |
| `brand` | Brand or manufacturer |
| `price` | Current selling price (SEK) |
| `originalPrice` | Original price before discount, when on sale |
| `currency` | Always `SEK` |
| `sku` / `productId` | XXL article identifiers |
| `inStock` | Whether the product is currently available |
| `rating` | Average customer rating (0-5) |
| `imageUrl` / `imageUrls` | Product image(s) |
| `url` | Full product page URL |
| `scrapedAt` | ISO 8601 timestamp |

### Product URL pattern

XXL product pages follow: `/{brand}-{product-name}/p/{article-id}` — for example `/adidas-runfalcon-5-fritidsskor-herr-vit/p/1228519_1_Style`.

### Data sources (in priority order)

1. Elevate Storefront API v3 — named fields such as `title`, `brand`, `sellingPrice`, `listPrice`, `rating`, `inStock`, `imageInfo`
2. JSON-LD `Product` schema from the product page HTML
3. OpenGraph meta tags as a last resort

### How to scrape XXL Sport data

1. Go to this actor's page on the [Apify Store](https://apify.com/store).
2. Click **Try for free** to open it in Apify Console.
3. Enter a Swedish search keyword (for example `löparskor`) or a category URL, set the maximum number of results, and adjust proxy settings if needed.
4. Click **Start** and wait for the run to finish.
5. Download your data in JSON, CSV, or Excel, or connect it to your workflow via the Apify API.

You can also schedule regular runs, set up webhooks for real-time notifications, or integrate the results directly into your application using the [Apify API](https://docs.apify.com/api).

### Common use cases

- **Price monitoring** — track XXL prices and discounts across sports categories over time.
- **Competitive intelligence** — compare XXL Sweden assortment and pricing against other retailers.
- **Assortment analysis** — see which brands and products XXL stocks in each category.
- **Stock tracking** — monitor availability of specific products or brands.
- **Market research** — build datasets of Swedish sports-retail pricing for analysis.

### Cost and performance

It costs $0.02 per run plus $0.002 per result — about $2.02 for 1,000 results, whether the data comes from the search API or the HTML detail-page fallback.

### Tips and tricks

- **Start small**: test with `maxResults: 5` before running large scrapes.
- **Use Swedish keywords**: the search API expects Swedish terms (`löparskor` not `running shoes`).
- **Use proxies**: residential proxies scoped to Sweden give the best success rates.
- **Schedule runs**: set up recurring runs to keep your data fresh automatically.
- **Integrate via API**: use the [Apify API](https://docs.apify.com/api) or [client libraries](https://docs.apify.com/api/client) to fetch results programmatically.
- **No login required**: this actor scrapes publicly available data without needing an account.

### Limitations

- Data is scraped from the public website and may change without notice.
- Some products or listings may not be available in all regions.
- Very large scraping jobs may be slower due to proxy rotation and rate limiting.
- Respect the website's terms of service and use responsibly.

### Features

- **No login required** — scrapes publicly available data from XXL.se without credentials or cookies.
- **API-backed speed** — pulls structured product data directly from the Elevate search API.
- **Structured output** — results are returned as clean JSON objects, ready for processing.
- **Proxy support** — configurable proxy settings for reliable, large-scale scraping.
- **Flexible input** — search by keyword, provide a category URL, or run with defaults.
- **Scheduled runs** — run on a schedule to keep your dataset up to date automatically.
- **API access** — integrate results into your workflow using the Apify API or webhooks.

### FAQ

**Is it legal to scrape XXL Sport?**
Web scraping of publicly available data is generally permitted. This actor only accesses information that is publicly visible to any website visitor. Always review the website's terms of service before scraping.

**How often should I run this scraper?**
For price monitoring or competitive intelligence, daily or weekly runs are common. Set up a [schedule](https://docs.apify.com/schedules) in Apify Console to automate this.

**Can I export the data to Google Sheets or Excel?**
Yes. After each run, you can download results in CSV, JSON, or Excel format directly from Apify Console. You can also connect results to Google Sheets using Apify integrations.

**Which countries does this cover?**
This actor targets XXL Sweden (xxl.se). XXL also operates in Norway (xxl.no) and Finland (xxl.fi), which are covered by separate actors.

**What if the scraper stops working?**
Websites change their structure occasionally. If you notice issues, please open an issue on the actor's page. We actively maintain this scraper and fix issues promptly.

# Actor input Schema

## `searchQuery` (type: `string`):

Search for products by keyword in Swedish (e.g., 'löparskor', 'skidor', 'cykel').

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

A category page URL to scrape. Example: https://www.xxl.se/skor/c/100305. Overrides search query.

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

Maximum number of products to return.

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

Proxy settings. Residential proxies scoped to Sweden are recommended for reliable results.

## Actor input object example

```json
{
  "searchQuery": "löparskor",
  "maxResults": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "SE"
  }
}
```

# Actor output Schema

## `results` (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 = {
    "searchQuery": "löparskor",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "SE"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("studio-amba/xxlsport-se-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 = {
    "searchQuery": "löparskor",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "SE",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("studio-amba/xxlsport-se-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 '{
  "searchQuery": "löparskor",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "SE"
  }
}' |
apify call studio-amba/xxlsport-se-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,studio-amba/xxlsport-se-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/Ppklx16FIMsjIAu9O/builds/RmhXu5XOxo6FeWWH3/openapi.json
