# Blocket Scraper — Sweden Marketplace, Cars & Boats, No Phones (`highbrow_fame/blocket-listings`) Actor

Swedish classifieds from Blocket — the marketplace, cars, motorbikes, boats, caravans and machines: price, place, seller type, vehicle data, descriptions on request. No phones.

- **URL**: https://apify.com/highbrow\_fame/blocket-listings.md
- **Developed by:** [yestrue](https://apify.com/highbrow_fame) (community)
- **Categories:** E-commerce, Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.70 / 1,000 listing delivereds

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 Scraper — Sweden Marketplace, Cars & Boats, No Phones

Get listings from Blocket, Sweden's largest classifieds site: the marketplace (Torget — furniture, electronics, bikes, clothes, everything that is not a vehicle), cars, motorcycles, mopeds, ATVs, snowmobiles, boats, caravans, motorhomes, trucks, buses and farm and construction machines. Title, price, town, seller type and company, when it was published, pictures — plus make, model, year, mileage, fuel and gearbox for vehicles, and length, engine and boat type for boats. For marketplace listings, the full description, category, condition and postcode if you want them. Paste your Blocket search links — or just type a keyword.

**Why this one**

- 🔗 **Your search, as you set it up.** Set every filter you like on blocket.se and paste the link. Or type keywords here — "soffa", "iphone 15", "volvo v70" — and choose the section, a county or municipality (Skåne, Göteborg, Umeå…), a price range, private sellers or businesses, and the order.
- ⚡ **Fast.** A live test run read five searches — bikes in Stockholm up to 3,000 kr, privately sold electric cars from 2018, boats in Västra Götaland for 50,000-300,000 kr, dealers' motorcycles from 2020 and private sofas in Skåne — 5,922 listings in 86 seconds.
- 📚 **More than Blocket's 50 pages.** Blocket stops every search after 50 pages (2,500 vehicles or 2,650 marketplace listings). The Actor reads on municipality by municipality and in price bands: a live run delivered 4,000 of the 23,999 cars in Västra Götaland, with no duplicates, in 123 seconds.
- 📝 **Descriptions when you need them.** Tick **Open every marketplace listing for its description** for the ad text, the category, the condition and the postcode. A live run delivered 603 listings, 303 of them opened for their descriptions (among them the 300 newest electronics ads in Skåne), in 27 seconds.
- 🔒 **No phone numbers, no seller names.** Businesses are named by their company; private sellers by nothing — only their town, no map point, and no registration number or VIN of their vehicle. Phone numbers and e-mail addresses written into titles and descriptions are replaced with `[phone removed]` / `[e-mail removed]`.
- 💸 **You pay only for listings delivered.** A link that is not a Blocket search, a region Blocket does not know, or a search with no listings comes back as a free record with the reason.

### What you get

For every listing:

| Field | What it is |
|---|---|
| `title`, `price`, `currency` | the ad title and the asking price (SEK) |
| `section` | marketplace, cars, motorcycles, mopeds, atvs, snowmobiles, boats, boat-berths, caravans, motorhomes, trucks, buses, construction-machines, tractors, farm-tools, combine-harvesters, a-tractors |
| `location`, `latitude`, `longitude` | the town or district; the map point only for businesses (a shop or a yard) |
| `sellerType`, `seller` | private or business, and the company name (none for private sellers) |
| `published`, `isPromoted` | when the ad was published or renewed, and whether it is a paid placement |
| `image`, `imageCount`, `url`, `listingId` | the listing |
| `tradeType`, `canShip`, `buyNow`, `sellerPaysShipping`, `attributes`, `matchedBy` | marketplace: for sale / wanted / give away, shipping and "buy now", brand and other attributes, and whether the ad has your words (`keyword`) or Blocket added it as similar (`semantic`) |
| `make`, `model`, `series`, `version`, `year`, `mileageKm`, `fuel`, `transmission`, `vehicleClass` | vehicles (Blocket's Swedish miles are turned into km) |
| `saleForm`, `priceIsMonthly`, `engineCc`, `engineHours`, `electricRangeKm`, `warrantyMonths`, `serviceHistory`, `rightToExchange` | vehicles: used / new / leasing (leasing prices are per month), and the rest when the seller gives it |
| `regNo`, `vin` | the registration number and VIN — for businesses' vehicles only |
| `boatClass`, `lengthFt`, `widthCm`, `engineType`, `engineFuel`, `engineHp`, `maxSpeedKnots` | boats |
| `input`, `region`, `position`, `scrapedAt`, `status`, `error` | which search it came from, and why a search gave nothing |

With **Open every marketplace listing for its description** also: `description`, `category`, `condition`, `postcode`, `details` (Blocket's item details, such as brand, size or model), `edited`, `isWebshop`.

#### Example

A real record from a live run of the ready-made search — cars in Stockholm county from 2015, up to 150,000 kr, 25 September 2026:

```json
{
  "listingId": "25290292",
  "url": "https://www.blocket.se/mobility/item/25290292",
  "section": "cars",
  "title": "Peugeot Partner",
  "price": 119800,
  "currency": "SEK",
  "location": "Arlandastad",
  "latitude": 59.61757,
  "longitude": 17.86839,
  "sellerType": "business",
  "seller": "Flinksbilar Transportbilar",
  "published": "2026-09-25T04:00:59.000Z",
  "imageCount": 29,
  "saleForm": "used",
  "make": "Peugeot",
  "model": "Partner",
  "version": "102HK L2 Inredning|Pipetube|Drag|Värmare|NyKamrem|Moms",
  "year": 2019,
  "mileageKm": 127360,
  "fuel": "Diesel",
  "transmission": "Manuell",
  "vehicleClass": "Transportbil",
  "regNo": "SHY47H",
  "vin": "VR3EFYHYCKJ642080",
  "status": "OK"
}
```

A private seller's car from the same run comes with `"seller": null`, `"latitude": null`, `"regNo": null` and `"vin": null` — only the town (`"location": "Saltsjö-Boo"`).

### How to use it

1. Paste **Search links** from blocket.se, one per line — or type **Keywords** and choose the section and the filters.
2. Set **Max listings per search**, and tick **Open every marketplace listing for its description** if you need the ad text.
3. Press **Start**, and download the results from the **Output** tab as JSON, CSV or Excel.

To follow new listings, choose **Newest first** (or sort by date on blocket.se before you copy the link), save your input as a task and schedule it daily.

You can also call it from the Apify API, from Make, Zapier or n8n, or from an AI agent through the Apify MCP server.

### Pricing

You are charged **per listing delivered** — see the price on this page. Opening marketplace listings for their descriptions costs nothing extra, only time. Links that are not Blocket searches, regions Blocket does not know and searches with no listings are free.

### FAQ

**How many listings per search?** As many as you set in **Max listings per search**. Past Blocket's own limit of 50 pages the Actor splits the search by municipality and by price band, and leaves out listings it has already delivered.

**Why are there listings without my words?** When a marketplace search finds only a few ads with your words, Blocket adds similar ones and counts them in its own result: "volvo pv444" shows 17 results on Blocket, 2 of them with the words. `matchedBy` tells them apart; tick **Only exact matches** to leave the similar ones out.

**Do old Blocket links work?** Links from the old site (blocket.se/annonser/…) are followed to the new search, the way Blocket redirects them. Blocket's redirect can leave some filters out, so for exact results set the search up again on blocket.se.

**What about housing and jobs?** Blocket no longer has them: housing moved to Qasa, and there are no job ads on Blocket.

**Why no phone numbers or seller names?** They are personal data. Every listing has its `url`; buyers contact the seller on Blocket.

**Is this affiliated with Blocket?** No. This is an independent tool that reads public Blocket listings.

**Like it?** A short review on the Store page helps other people find this Actor. Something missing or broken? Tell us on the Issues tab — we read every one.

# Actor input Schema

## `searchUrls` (type: `array`):

Set up a search on blocket.se — the marketplace (Torget), cars, motorbikes, boats, caravans, motorhomes, trucks or machines — with all the filters you want, and paste the address of the results page. One per line.

## `keywords` (type: `array`):

Or search for these words, one per line — e.g. "cykel", "iphone 15", "volvo v70". The options below apply to them.

## `section` (type: `string`):

For the keywords above.

## `region` (type: `string`):

Optional, for the keywords above: a county (län) such as "Skåne" or "Stockholms län", or a municipality (kommun) such as "Göteborg" or "Umeå". Empty: all of Sweden.

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

Optional, for the keywords above.

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

Optional, for the keywords above.

## `sellerType` (type: `string`):

Optional, for the keywords above.

## `sortBy` (type: `string`):

For the keywords above.

## `maxListingsPerSearch` (type: `integer`):

Stops each search (link or keyword) after this many listings. Blocket shows at most 50 pages (2,500-2,650 listings) for one search; to go further, the Actor reads the rest county by county, municipality by municipality and in price bands.

## `includeDetails` (type: `boolean`):

Adds the full description, the category, the condition, the postcode and the item details (size, brand, model…) to marketplace (Torget) listings. One more page per listing, so slower. Vehicle listings already carry their data and are not opened.

## `exactMatchesOnly` (type: `boolean`):

When a marketplace search finds only a few listings with your words, Blocket adds similar ones ("volvo pv444" also shows PV544 model cars) and counts them in its result. Tick to leave the similar ones out. Every marketplace record says how it matched in "matchedBy".

## `maxConcurrency` (type: `integer`):

How many searches to work on at the same time.

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

Used only to try again after a network error: the first try goes out directly.

## Actor input object example

```json
{
  "searchUrls": [
    "https://www.blocket.se/mobility/search/car?location=0.300001&price_to=150000&year_from=2015"
  ],
  "section": "marketplace",
  "sellerType": "all",
  "sortBy": "default",
  "maxListingsPerSearch": 30,
  "includeDetails": false,
  "exactMatchesOnly": false,
  "maxConcurrency": 3,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

Every result as a JSON record, with a status for each input.

## `resultsCsv` (type: `string`):

The same records as CSV, for a spreadsheet.

# 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 = {
    "searchUrls": [
        "https://www.blocket.se/mobility/search/car?location=0.300001&price_to=150000&year_from=2015"
    ],
    "maxListingsPerSearch": 30,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("highbrow_fame/blocket-listings").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 = {
    "searchUrls": ["https://www.blocket.se/mobility/search/car?location=0.300001&price_to=150000&year_from=2015"],
    "maxListingsPerSearch": 30,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("highbrow_fame/blocket-listings").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 '{
  "searchUrls": [
    "https://www.blocket.se/mobility/search/car?location=0.300001&price_to=150000&year_from=2015"
  ],
  "maxListingsPerSearch": 30,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call highbrow_fame/blocket-listings --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,highbrow_fame/blocket-listings"
        }
    }
}
```

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/fvpykTfi3iucXb6ET/builds/aMRjiS81imgUy7Bi3/openapi.json
