Skip to content

logiover/blocket-se-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Blocket.se Scraper 🇸🇪 — Sweden's Largest Classifieds: Listings, Prices & Vehicle Data (No API)

Apify Actor No API key required Pay per result Category Export

One click, no setup — the hosted Actor returns structured Swedish classifieds in minutes.

Extract listings from Blocket.se — Sweden's #1 classified-ads platform. This Blocket scraper turns any search into a clean, structured dataset of marketplace goods and vehicles (cars, motorcycles, boats) across all 21 Swedish regions: title, price in SEK, images, seller name & type (Privat / Företag), GPS coordinates, and — for vehicles — make, model, year, mileage, fuel and gearbox. It runs no browser, no login and no API key — you only need a free Apify account.

Search by keyword ("Volvo V70", "iPhone 15", "soffa"), pick from 15 categories and 21 regions, and pull thousands of Swedish second-hand listings for price monitoring, used-car valuation and market research.

This is a documentation & usage guide. The scraper itself runs on the Apify platform — open it here.


📚 Table of contents


🎁 What you get

One row per listing. Vehicle fields (make, model, year…) are populated for car / mc / boat ads.

Common fields (all categories)

Field Description
id Unique Blocket ad identifier
url Canonical listing URL on blocket.se
title Listing heading
price Human-readable price string, e.g. "6 995 kr"
priceValue Numeric price amount
currency ISO currency code, usually SEK
location Free-text place name shown on the listing
category Blocket search category key
sellerName Organisation / dealer name, if any
sellerType Privat (private) or Företag (business)
shipping Whether the item can be shipped
brand Product brand, when available
imageUrl Primary image URL
imageUrls Comma-separated list of image URLs
tradeType Sell / buy / rent indicator (Säljes, Bytes…)
publishedAt Listing publish time (ISO 8601)
lat / lng Listing latitude / longitude
scrapedAt When the record was scraped (ISO 8601)

🚗 Vehicle fields (car / mc / boat only)

Field Description
make Vehicle make (e.g. Volvo, BMW)
model Vehicle model name
modelSpec Full model specification string
year Model year
mileage / mileageValue Odometer in mil (display + numeric)
fuel Fuel type — Bensin / Diesel / El / Hybrid
gearbox Transmission — Automat / Manuell
regno Swedish registration number, if listed
  • 🛍️ Marketplace + vehicles — general goods or cars / motorcycles / boats.
  • 🗂️ 15 categories + 21 Swedish regions — or leave both empty to search everything.
  • 🔁 Automatic pagination & dedup — follows all pages up to your maxResults cap.
  • 🔓 No login / no API key — just a free Apify account.

💡 Use cases

  • Price monitoring & comparison — track second-hand prices across Sweden and diff over time on a schedule.
  • Used-car valuation — build Swedish car-pricing tools from real market data by make, model, year and mileage.
  • Arbitrage detection — spot price gaps between Blocket and other marketplaces.
  • Dealer vs private analysis — compare Företag and Privat seller pricing and inventory.
  • Competitive intelligence — monitor a dealership's or brand's live listings and price positioning.
  • AI training datasets — collect Swedish-language product listings with structured attributes.
  • Price-alert tools — power alerts for specific items, models or categories.
  • Lead generation — build lists of business sellers (Företag) by category and region.

🚀 Quick start (4 ways)

1. Apify Console (no code)

  1. Open the Actor: apify.com/logiover/blocket-se-scraper
  2. Click Try for free.
  3. Leave the input empty to browse the newest listings across Sweden, or set a Category, Region and Search Query, then click Start.
  4. When the run finishes, open the Output tab and export to CSV / JSON / Excel.

2. Apify CLI

npm i -g apify-cli
apify login
apify call logiover/blocket-se-scraper

3. API / curl (run sync, get dataset items)

curl -X POST "https://api.apify.com/v2/acts/logiover~blocket-se-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "searchQuery": "Volvo",
    "category": "car",
    "location": "0.300001",
    "maxResults": 100
  }'

4. apify-client (JavaScript & Python)

import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });

const run = await client.actor('logiover/blocket-se-scraper').call({
    searchQuery: 'iPhone',
    maxResults: 100,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")

run = client.actor("logiover/blocket-se-scraper").call(run_input={
    "searchQuery": "iPhone",
    "maxResults": 100,
})

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

More end-to-end snippets: examples/cli.md · examples/api-curl.md · examples/javascript.md · examples/python.md

📥 Input

All fields are optional — leave everything empty to browse all of Sweden, or narrow with any combination of query, category and region.

Field Type Default Description
searchQuery string "" Keyword to search (e.g. iPhone 15, Volvo V70, cykel, soffa). Empty = browse all listings in the selected category.
category string (select) "" Category filter. Use car, mc or boat for the vehicle engine; numeric codes for marketplace categories. Empty = all listings.
location string (select) "" Swedish region (e.g. Stockholm, Skåne, Västra Götaland). Empty = all of Sweden (Hela Sverige).
maxResults integer 100 Max listings to scrape and save; paginates automatically until reached. 0 = unlimited (use with care on broad queries).
proxyConfiguration object Apify Proxy Proxy settings for all requests. Residential recommended for large-scale runs.
🗂️ Category codes (click to expand)
Category category value
🛍️ All listings `` (empty)
🚗 Cars car
🏍️ MC & Moped mc
⛵ Boats boat
📱 Electronics & Appliances 0.93
🛋️ Furniture & Home 0.78
👗 Fashion (Clothing, Cosmetics, Accessories) 0.71
⚽ Sport & Leisure 0.69
🎸 Hobby & Entertainment 0.86
👶 Parents & Kids 0.68
🐾 Pets & Accessories 0.77
🖼️ Art & Antiques 0.76
🌱 Garden & Renovation 0.67
🔧 Vehicle Parts & Accessories 0.90
💼 Business 0.91

car, mc and boat return extra vehicle fields like make, model, year, mileage and fuel type.

🌍 Swedish region codes (click to expand)
Region location value
Hela Sverige (All Sweden) `` (empty)
Stockholm 0.300001
Västra Götaland (Gothenburg) 0.300014
Skåne (Malmö) 0.300012
Uppsala 0.300003
Östergötland 0.300005
Södermanland 0.300004
Jönköping 0.300006
Kronoberg 0.300007
Kalmar 0.300008
Gotland 0.300009
Blekinge 0.300010
Värmland 0.300013
Västmanland 0.300017
Örebro 0.300018
Dalarna 0.300019
Gävleborg 0.300020
Västernorrland 0.300021
Jämtland 0.300022
Västerbotten 0.300023
Norrbotten 0.300024

Example — search a keyword across all of Sweden

{ "searchQuery": "iPhone", "category": "", "location": "", "maxResults": 100 }

Example — used cars in Stockholm (vehicle engine)

{ "searchQuery": "Volvo", "category": "car", "location": "0.300001", "maxResults": 100 }

Example — all electronics in Gothenburg

{ "searchQuery": "", "category": "0.93", "location": "0.300014", "maxResults": 200 }

📤 Output

One row per listing. Trimmed vehicle sample (image list truncated with ):

{
  "id": "23047162",
  "url": "https://www.blocket.se/mobility/item/23047162",
  "title": "Volvo V90 Cross Country",
  "price": "224 800 kr",
  "priceValue": 224800,
  "currency": "SEK",
  "location": "Bromma",
  "category": "CAR_USED",
  "sellerName": "Bilfirma AB",
  "sellerType": "Företag",
  "brand": "Volvo",
  "imageUrl": "https://img.blocket.se/…/cover.jpg",
  "imageUrls": "https://img.blocket.se/…/1.jpg, https://img.blocket.se/…/2.jpg, …",
  "tradeType": "Säljes",
  "make": "Volvo",
  "model": "V90",
  "modelSpec": "V90 Cross Country D4 AWD",
  "year": "2019",
  "mileage": "9 200 mil",
  "mileageValue": 92000,
  "fuel": "Diesel",
  "gearbox": "Automat",
  "regno": "ABC123",
  "publishedAt": "2026-05-10T14:22:00.000Z",
  "lat": "59.3415",
  "lng": "17.9389",
  "scrapedAt": "2026-05-14T09:42:46.272Z"
}

Two built-in dataset views — Overview (title, price, location, seller, brand…) and Vehicle details (make, model, year, mileage, fuel, gearbox…) — let you preview either result set in the Apify UI.

🔌 Integrations & automation

  • Schedules — track the Swedish second-hand market daily or weekly and diff prices over time.
  • Webhooks — fire on run finish to trigger a price alert, CRM sync or database load.
  • Google Sheets / Excel — push listings to a spreadsheet for pricing analysis.
  • Cloud storage — export to Amazon S3, Google Cloud Storage or your data warehouse via the API.
  • No-code automation — connect to Zapier, Make, n8n or Pipedream through Apify to build automated price-monitoring pipelines.

📁 Export formats

Every dataset can be downloaded or fetched via the API as JSON, CSV, Excel (XLSX), JSONL, XML or HTML.

❓ FAQ

Is this a Blocket.se API alternative?

Yes. Blocket has no public developer API, so this Actor works as an unofficial Blocket.se API alternative — it returns structured JSON for marketplace goods and vehicles with no key.

Can I scrape Blocket.se without an API or login?

Yes. The Actor returns a complete Blocket.se data export with no login, no cookies and no browser session — only a free Apify account.

How do I scrape used-car listings from Blocket.se?

Set Category to car (or mc / boat) to get extra vehicle fields like make, model, year, mileage, fuel type and gearbox. Add a make/model in Search Query (e.g. Volvo V70) to narrow further.

Can I scrape Blocket listings by Swedish region?

Yes. Pick a region in the Region dropdown — Stockholm, Skåne, Västra Götaland and more — to limit results to one county instead of all of Sweden.

How do I export Blocket.se data to CSV or Excel?

Run the Actor, then download the dataset in CSV, JSON, Excel or XML — one row per ad, with prices, images, seller details and vehicle attributes.

How much data can I get in one run?

As much as you like — set Max Results to any number, or 0 for unlimited. The Actor paginates and deduplicates automatically, so broad category exports can return thousands of listings.

What language are the listings in?

Swedish. Titles and attribute values (e.g. Säljes, Företag, Bensin, Automat) appear in Swedish exactly as shown on blocket.se.

What is "mil" in mileage?

Swedish vehicles use mil (Swedish mile = 10 km) for odometer readings, so 8 500 mil = 85,000 km. The Actor also returns a numeric mileageValue.

Is it free?

The Actor runs on Apify's pay-per-result model and can be tried on the free tier first — you're only charged for the listings saved. See the Pricing tab on the Actor page.

Is scraping Blocket.se legal?

The Actor collects only publicly available listing data visible to any visitor without login. Use the data responsibly and in compliance with Blocket's terms and applicable laws.

🔗 Related actors

Building a cross-market pricing or resale dataset? Pair Blocket with the rest of the European classifieds & marketplace suite:

  • Finn.no Scraper — 🇳🇴 Norway's biggest marketplace: listings, prices & vehicle data.
  • DBA.dk Scraper — 🇩🇰 Denmark's classifieds: goods, cars and prices.

👉 Browse all logiover actors on Apify Store — 180+ scrapers across real estate, jobs, crypto, social media & B2B data.


📄 Documentation only — this repository contains no source code. The Actor runs on the Apify platform. ▶️ Run it: https://apify.com/logiover/blocket-se-scraper

Licensed under the MIT License · © 2026 logiover

About

Scrape Blocket.se — Sweden's #1 classifieds. Listings, prices (SEK), images, seller & vehicle data (make/model/year/mileage). No API key.

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors