# Blocket Listings Scraper (`snappytools/blocket-listings-scraper`) Actor

Type in a keyword, and optionally a category, location and price range, and you get back the matching Blocket ads. You get one row per listing, with the title, price in SEK, location, seller type, main image, posting time and a direct https link to the ad.

- **URL**: https://apify.com/snappytools/blocket-listings-scraper.md
- **Developed by:** [Snappy](https://apify.com/snappytools) (community)
- **Categories:** E-commerce, SEO tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.20 / 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.

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

## Blocket Listings Scraper – Swedish classified ads export from blocket.se

Type in a keyword, and optionally a category, location and price range, and you get back the matching Blocket ads. You get one row per listing, with the title, price in SEK, location, seller type, main image, posting time and a direct https link to the ad.

It reads the same public search results anyone can see on blocket.se, with no login. Run it on a schedule and compare the `id` field between runs to spot new ads as they appear.

### Why this one

- **Clean, flat rows.** Every record has the same field names, so it drops straight into a spreadsheet or database.
- **Seller type included.** The `sellerType` field tells you whether an ad comes from a private person or a company.
- **Price and location filters built in.** Set **Minimum price (SEK)**, **Maximum price (SEK)** and **Location contains** and only matching ads are saved.
- **Stable IDs and direct links.** Each row carries the Blocket ad `id` and an https `url`, so removing duplicates is easy.
- **Bounded runs.** **Max results** caps a run at 1,000 listings and **Max result pages** at 50 pages.
- **Cheap and fair.** $2.20 per 1,000 results, and runs with no results cost nothing.

### Quick start

```json
{
  "maxItems": 5,
  "maxPages": 5,
  "query": "cykel"
}
```

This returns up to 5 current Blocket ads that match "cykel" (bicycle). In a test run on 13 Nov 2026 it returned 5 listings.

### What you can use it for

| Who | What for |
|---|---|
| Resellers and flippers | Watch a keyword and catch underpriced items early |
| Market analysts | Track asking prices for a product type across Sweden |
| Bike and car dealers | See what private sellers ask for comparable items |
| E-commerce teams | Compare second-hand prices with your own retail prices |
| Researchers | Build datasets of the Swedish second-hand market |

### How to use it

1. Click **Try for free**.
2. Fill in **Search keyword**, for example `soffa`. Leave it empty for a broad search of the newest listings.
3. Optionally add a **Category ID** copied from a Blocket search URL.
4. Optionally fill in **Location contains**, for example `Stockholm` or `malmo`. Case and accents are ignored.
5. Optionally set **Minimum price (SEK)** and **Maximum price (SEK)**, for example 500 and 5000.
6. Set **Max results**, for example 100, and optionally **Max result pages**.
7. Click **Start**.

Tip: put the run on a schedule and keep only rows whose `id` you haven't seen before to get a feed of new ads.

### Input example

```json
{
  "query": "soffa",
  "location": "Malmö",
  "maxPrice": 3000,
  "maxItems": 50,
  "maxPages": 10
}
```

This returns up to 50 sofa ads in Malmö priced at 3,000 SEK or less.

### What data you get

Each dataset row is one Blocket listing with these fields.

| Field | What it is | Example |
|---|---|---|
| `id` | Blocket ad ID | `28205363` |
| `url` | Link to the ad | `https://www.blocket.se/recommerce/forsale/item/28205363` |
| `title` | Ad heading | `Diverse styren till cykel` |
| `price` | Asking price as a number | `600` |
| `currency` | Price currency | `SEK` |
| `location` | Town or area given in the ad | `Borås` |
| `sellerType` | `private` or `company` | `private` |
| `sellerName` | Company name, when the seller is a business | `null` |
| `imageUrl` | Main image link | `https://images.blocketcdn.se/dynamic/default/item/28205363/95e7e2ae-56e8-4a80-87b8-19b5062f78b0` |
| `tradeType` | Kind of ad as Blocket labels it | `Säljes` |
| `publishedAt` | When the ad was posted (ISO time) | `2026-11-13T09:21:04.000Z` |
| `query` | The keyword you searched | `cykel` |
| `scrapedAt` | When the row was collected | `2026-11-13T11:18:44.904Z` |

### Pricing

| Event | Price |
|---|---|
| Result (each listing saved to the dataset) | $0.0022 |

There is no start fee. Runs with no results cost nothing.

| Run | Cost |
|---|---|
| 100 results | $0.22 |
| 1,000 results | $2.20 |
| 10,000 results | $22.00 |

### Good to know

- **Limits:** up to 1,000 listings per run and at most 50 result pages.
- **Filters apply after fetching:** strict price or location filters may need more pages to fill **Max results**.
- **Where the data comes from:** the public search results on blocket.se. No login, no private data.
- **What is not included:** full ad descriptions, phone numbers and seller contact details.
- **Freshness:** you get what Blocket shows at the time of the run. Removed ads disappear from later runs.
- **Not affiliated:** this tool isn't affiliated with or endorsed by Blocket or Schibsted.

### FAQ

**Can I search a single category?** Yes. Open a Blocket search with the category you want, copy the category number from the URL and paste it into **Category ID**.

**Can I limit results to one town?** Yes. Put the town name in **Location contains**. `goteborg` matches `Göteborg`.

**Why did I get fewer rows than Max results?** Blocket had fewer matching ads, your filters removed some, or the **Max result pages** limit was reached.

### Getting the data out

Download your results as Excel, CSV or JSON from the Output tab. Send them to Google Sheets, Slack, Zapier, Make or webhooks from the **Integrations** tab. Every run is also available through the Apify API, and you can run it automatically from **Schedules**.

### Questions or problems

Open an issue on the **Issues** tab and include the run link. I reply within one business day.

### Related tools

- [Public RSS Feed Monitor](https://apify.com/snappytools/rss-feed-monitor): watch RSS feeds for new items
- [Hacker News Search and Who-is-Hiring Extractor](https://apify.com/snappytools/hackernews-algolia-scraper): search Hacker News and pull Who-is-Hiring posts
- [Shopify Store Catalog and Contact Scraper](https://apify.com/snappytools/shopify-store-leads-public): export Shopify product catalogs and contact details

# Actor input Schema

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

Word or phrase to search for on Blocket, in Swedish or English, for example cykel or soffa. Leave empty for a broad search of the newest listings (optionally narrowed by category or location).

## `category` (type: `string`):

Optional Blocket category ID copied from the category filter in a Blocket search URL. Leave empty to search all categories.

## `location` (type: `string`):

Optional town or area name. Only listings whose location contains this text are saved. Case and accents are ignored, so malmo matches Malmö. Leave empty for all of Sweden.

## `minPrice` (type: `integer`):

Only keep listings priced at or above this amount in Swedish kronor. Leave empty for no lower limit.

## `maxPrice` (type: `integer`):

Only keep listings priced at or below this amount in Swedish kronor. Leave empty for no upper limit.

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

Maximum number of listings to save in one run. Hard limit is 1000 to keep runs short and polite.

## `maxPages` (type: `integer`):

Maximum number of Blocket search result pages to read. Useful with strict filters to keep runs short. Hard limit is 50.

## Actor input object example

```json
{
  "query": "cykel",
  "maxItems": 20,
  "maxPages": 50
}
```

# 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 = {
    "query": "cykel",
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("snappytools/blocket-listings-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": "cykel",
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("snappytools/blocket-listings-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 '{
  "query": "cykel",
  "maxItems": 20
}' |
apify call snappytools/blocket-listings-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,snappytools/blocket-listings-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/xNAJNeLzIvSE5Pesf/builds/4yz8bQOitmciyd18H/openapi.json
