# Ubuy.com.se Scraper (`lexis-solutions/ubuy-com-se-scraper`) Actor

Scrape Ubuy Sweden (ubuy.com.se) product data – prices, availability, images, variations, ratings, FAQs and metadata – with this Sweden ecommerce web scraper for price tracking, catalog monitoring and market research.

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

## Pricing

$39.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

## Ubuy.com.se Scraper

![banner](https://i.imgur.com/3tDZQbK.png)

Ubuy Sweden (ubuy.com.se) is an e-commerce marketplace with products across multiple categories. This actor collects product listing URLs from search pages and scrapes product detail data.

### Introduction

The Ubuy.com.se scraper starts from search or product URLs, follows product detail pages, and extracts structured fields such as title, price, availability, images, variations, ratings, FAQs, and product metadata.

### Use Cases

- **Market research**: Track product pricing, availability, and rating trends.
- **Catalog monitoring**: Watch product changes across selected search queries.
- **Lead generation**: Build product datasets for analytics and enrichment workflows.
- **Data warehousing**: Feed BI dashboards and internal reporting pipelines.

### Input

Provide the following fields:

- `startUrls` (array, required): Ubuy search or detail URLs.
- `maxItems` (integer, optional): Maximum number of detail items to extract per start URL. Use `0` for no limit.
- `proxyConfiguration` (object, optional): Apify proxy settings.

Notes:

- If a `startUrl` is a search URL, the actor crawls paginated search pages and enqueues detail URLs.
- If a `startUrl` is a detail URL, the actor scrapes that detail directly.
- Crawling stops for each source URL when `maxItems` is reached or no more results are available.

### Input Examples

**1) Start URLs**

```json
{
  "startUrls": [
    {
      "url": "https://www.ubuy.com.se/en/search/?q=jacket&page=1"
    },
    {
      "url": "https://www.ubuy.com.se/en/product/TMOWTANPI-mcap-pigment-dyed-washed-bucket-hat"
    }
  ],
  "maxItems": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

### Output

Each dataset item contains fields like:

```json
{
  "url": "https://www.ubuy.com.se/en/product/TMOWTANPI-mcap-pigment-dyed-washed-bucket-hat",
  "title": "MCap Pigment Dyed Washed Bucket HAT",
  "id": "85676104",
  "price": "SEK 234",
  "oldPrice": null,
  "recommendedRatingPercentage": "82%",
  "qty": "15",
  "discount": null,
  "availability": "In stock",
  "images": ["https://m.media-amazon.com/images/I/51x+zolASGL._AC_SL400_.jpg"],
  "variations": [
    {
      "color": [
        {
          "value": "Beige",
          "image": "https://m.media-amazon.com/images/I/31cPNKcqeYL._SS64_.jpg"
        }
      ]
    }
  ],
  "rating": "3.9",
  "whatStandsOut": [
    {
      "feature": "Unique Pigment Dye",
      "description": "Crafted with a special pigment dye process..."
    }
  ],
  "productPoints": ["PIGMENT DYED TWILL WASHED BUCKET CAP"],
  "additionalInfo": [
    {
      "title": "ASIN",
      "value": "B00Q3JFRQY"
    }
  ],
  "whoShouldBuy": [
    {
      "title": "Outdoor Enthusiasts",
      "value": "Perfect for hiking, camping, or beach trips..."
    }
  ],
  "notSuitableFor": [
    {
      "title": "Formal Events",
      "value": "Not suitable for formal occasions..."
    }
  ],
  "description": "MCap Pigment Dyed Washed Bucket HAT",
  "faqs": [
    {
      "question": "What material is this hat made of?",
      "answer": "100% cotton."
    }
  ],
  "descriptionProduct": "Product description text...",
  "ratingDistribution": [
    {
      "star": 5,
      "percentage": 70
    }
  ],
  "pros": ["Comfortable fit"],
  "cons": ["Limited formal use"],
  "importantInfo": "Important notes text..."
}
```

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

### Why use the Ubuy.com.se Scraper?

- **Focused**: Built specifically for Ubuy Sweden search/detail flow.
- **Structured output**: Ready-to-use JSON records for analytics pipelines.
- **Reliable pagination**: Handles list pages with per-start-url item caps.
- **Flexible input**: Supports both search URLs and direct detail URLs.
- **Apify-native**: Works with Apify datasets, request queue, and proxy config.

### FAQ

- **How many products can it extract?**\
  Controlled by `maxItems` per source URL.

- **Do I need proxies?**\
  Not always, but proxies are recommended for stability on larger runs.

- **Can I start from a product detail URL?**\
  Yes. Detail URLs are supported directly in `startUrls`.

- **What if Ubuy changes their website structure?**\
  The actor may require updates. Report issues and we can adapt selectors/flow.

### Need to scrape other e-commerce or marketplace platforms?

Check out our other scrapers:

- [Fragrantica](https://apify.com/lexis-solutions/fragrantica)
- [Michaels](https://apify.com/lexis-solutions/michaels-scraper)
- [Notino](https://apify.com/lexis-solutions/notino-scraper)
- [Poshmark](https://apify.com/lexis-solutions/poshmark-scraper)

***

**Need help or want a custom solution?**

Lexis Solutions is a certified Apify Partner. We can help with custom 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.

### Image Credit

Image credit: [ubuy.com.se](https://www.ubuy.com.se/)

# Actor input Schema

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

Search or product URLs to start from.

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

Limit of product detail items per start URL. Use 0 for no limit.

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

Your proxy configuration from Apify.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.ubuy.com.se/en/search/?q=jacket&page=1"
    }
  ],
  "maxItems": 10,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (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 = {
    "startUrls": [
        {
            "url": "https://www.ubuy.com.se/en/search/?q=jacket&page=1"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("lexis-solutions/ubuy-com-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 = { "startUrls": [{ "url": "https://www.ubuy.com.se/en/search/?q=jacket&page=1" }] }

# Run the Actor and wait for it to finish
run = client.actor("lexis-solutions/ubuy-com-se-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 '{
  "startUrls": [
    {
      "url": "https://www.ubuy.com.se/en/search/?q=jacket&page=1"
    }
  ]
}' |
apify call lexis-solutions/ubuy-com-se-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/7kviFeZZzsYSzSRru/builds/VL1WGOdn98VWOnZjD/openapi.json
