Blocket.se Scraper – Cars, Electronics & Marketplace Items avatar

Blocket.se Scraper – Cars, Electronics & Marketplace Items

Pricing

from $3.50 / 1,000 results

Go to Apify Store
Blocket.se Scraper – Cars, Electronics & Marketplace Items

Blocket.se Scraper – Cars, Electronics & Marketplace Items

Scrape Blocket.se, Sweden's largest classifieds site. Extract marketplace items, cars, motorcycles and boats with prices, images, location and seller details. Filter by category and Swedish region. Export to JSON, CSV or Excel.

Pricing

from $3.50 / 1,000 results

Rating

0.0

(0)

Developer

Logiover

Logiover

Maintained by Community

Actor stats

0

Bookmarked

21

Total users

5

Monthly active users

5 days ago

Last modified

Share

Blocket.se Scraper — Cars, Electronics & Marketplace Listings

Blocket.se Scraper – Cars, Electronics & Marketplace Items

Scrape listings from Blocket.se — Sweden's largest classified ads platform. Extract prices, images, seller details, GPS coordinates, and full vehicle attributes (make, model, year, mileage, fuel type, registration number) via Blocket's official search API. Supports all categories: cars, motorcycles, boats, electronics, furniture, fashion, and more.


What Is This Actor?

Blocket.se is Sweden's dominant marketplace for second-hand goods and vehicles, with millions of active listings across every category. This actor accesses Blocket's internal search API directly — the same endpoints the website itself uses — to extract structured listing data at scale without browser rendering.

Built for:

  • 🚗 Car & vehicle dealers — monitor the used car market, track competitor pricing, and source inventory
  • 💰 Price intelligence — benchmark prices across categories for resellers and buyers
  • 📊 Market research — analyze supply, demand, and pricing trends in the Swedish classified market
  • 🔍 Deal hunters — find specific items across all of Sweden with keyword and category filters
  • 🏢 Business intelligence — track how dealers and private sellers price similar goods
  • 🗺️ Geo-analysis — export GPS coordinates for location-based market mapping

Features

  • All categories supported — marketplace goods (electronics, furniture, fashion, sports, pets, art, garden) and vehicles (cars, motorcycles, boats)
  • Dual API endpoint routing — automatically uses the recommerce endpoint for general goods and the mobility endpoint for vehicles
  • Full vehicle data — make, model, model specification, year, mileage, fuel type, gearbox, and registration number
  • Seller classification — distinguishes private sellers (Privat) from business sellers (Företag)
  • Shipping flag — detects listings marked as shippable (Kan skickas)
  • GPS coordinates — latitude and longitude for every listing that includes location data
  • Image extraction — cover photo URL and all photo URLs
  • Region filtering — narrow results to any of Sweden's 20 counties/regions
  • Keyword search — free-text search across all listings
  • Automatic pagination — fetches all pages until maxResults is reached
  • Deduplication — seen listing IDs are tracked to prevent duplicate records
  • Proxy support — built-in Apify Proxy integration

Output Data

Each record represents one Blocket listing. Vehicle-specific fields are populated only for car, mc, and boat categories.

FieldTypeDescription
idstringUnique Blocket listing ID
urlstringFull listing URL on blocket.se
titlestringListing headline
pricestring | nullAsking price in SEK (e.g. "125 000 kr")
locationstring | nullCity or town where the item is located
categorystring | nullBlocket search key / category identifier
sellerNamestring | nullDealer or organisation name (business sellers only)
sellerTypestring | null"Privat" (private) or "Företag" (business)
shippingstring | null"Kan skickas" if shippable, otherwise null
brandstring | nullProduct brand from listing attributes
imageUrlstring | nullCover photo URL
imageUrlsstring | nullAll photo URLs, comma-separated
tradeTypestring | null"Säljes" (for sale), "Bytes" (swap), or "Skänkes" (free)
publishedAtstring | nullISO 8601 timestamp of when the listing was published
latstring | nullGPS latitude
lngstring | nullGPS longitude
makestring | null[Vehicles] Brand — e.g. "Volvo", "BMW", "Yamaha"
modelstring | null[Vehicles] Model name — e.g. "V70", "3-serie"
modelSpecstring | null[Vehicles] Full specification string
yearstring | null[Vehicles] Model year — e.g. "2019"
mileagestring | null[Vehicles] Odometer reading in mil (1 mil = 10 km) — e.g. "8 500 mil"
fuelstring | null[Vehicles] Fuel type — "Bensin", "Diesel", "El", "Hybrid"
gearboxstring | null[Vehicles] Transmission — "Automatisk" or "Manuell"
regnostring | null[Vehicles] Swedish vehicle registration number
scrapedAtstringISO 8601 timestamp of when this record was scraped

Note on mileage: Swedish car listings use mil (Swedish mile), where 1 mil = 10 km. A car with "8 500 mil" has driven 85,000 km.

Sample Output — Marketplace Item

{
"id": "91234567",
"url": "https://www.blocket.se/annons/91234567",
"title": "iPhone 15 Pro 256GB – Svart Titanium",
"price": "9 500 kr",
"location": "Stockholm",
"category": "BAP_COMMON",
"sellerName": null,
"sellerType": "Privat",
"shipping": "Kan skickas",
"brand": "Apple",
"imageUrl": "https://img.blocket.se/...jpg",
"imageUrls": "https://img.blocket.se/...jpg, https://img.blocket.se/...2.jpg",
"tradeType": "Säljes",
"publishedAt": "2025-05-12T14:30:00.000Z",
"lat": "59.3293",
"lng": "18.0686",
"make": null,
"model": null,
"year": null,
"mileage": null,
"fuel": null,
"gearbox": null,
"regno": null,
"scrapedAt": "2025-05-15T10:00:00.000Z"
}

Sample Output — Used Car

{
"id": "82345678",
"url": "https://www.blocket.se/annons/82345678",
"title": "Volvo V70 D4 Momentum 2019 – Välutrustad",
"price": "249 000 kr",
"location": "Göteborg",
"category": "CAR_USED",
"sellerName": "Bilhuset Göteborg AB",
"sellerType": "Företag",
"shipping": null,
"brand": "Volvo",
"imageUrl": "https://img.blocket.se/...jpg",
"imageUrls": "https://img.blocket.se/...jpg, https://img.blocket.se/...2.jpg",
"tradeType": "Säljes",
"publishedAt": "2025-05-10T09:00:00.000Z",
"lat": "57.7089",
"lng": "11.9746",
"make": "Volvo",
"model": "V70",
"modelSpec": "D4 Momentum",
"year": "2019",
"mileage": "8 500 mil",
"fuel": "Diesel",
"gearbox": "Automatisk",
"regno": "ABC123",
"scrapedAt": "2025-05-15T10:00:00.000Z"
}

Input Configuration

searchQuery · string · default: ""

Free-text keyword to search for. Matched against listing titles and descriptions.

Examples: "iPhone 15", "Volvo V70", "cykel" (bicycle), "soffa" (sofa), "elcykel" (e-bike), "PS5"

Leave empty to browse all listings in the selected category without a keyword filter.


category · string · default: "" (all listings)

Limits results to a specific product category. The actor automatically routes vehicle categories to the mobility API endpoint and all other categories to the recommerce API endpoint.

Vehicle categories (mobility endpoint):

ValueLabel
carBilar (Cars)
mcMC & Moped
boatBåtar (Boats)

Marketplace categories (recommerce endpoint):

ValueLabel
(empty)Alla annonser — All listings
0.93Elektronik & Vitvaror — Electronics & Appliances
0.78Möbler & Inredning — Furniture & Interior
0.71Kläder, Kosmetika & Accessoarer — Fashion & Beauty
0.69Sport & Fritid — Sports & Leisure
0.86Fritid, Hobby & Underhållning — Hobbies & Entertainment
0.68Föräldrar & Barn — Parents & Kids
0.77Djur & Tillbehör — Pets & Accessories
0.76Konst & Antikt — Art & Antiques
0.67Trädgård & Renovering — Garden & Renovation
0.90Fordonstillbehör — Vehicle Parts & Accessories
0.91Affärsverksamhet — Business Equipment

location · string · default: "" (all of Sweden)

Filters listings by Swedish region or county using Blocket's internal region codes.

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

maxResults · integer · default: 0 (unlimited)

Maximum number of listings to scrape and save. The actor paginates automatically until this limit is reached or no more listings are available.

Set to 0 for unlimited results. Use with caution on broad queries — popular categories like Electronics in all of Sweden may contain hundreds of thousands of listings.


proxyConfiguration · object · default: Apify Proxy enabled

Proxy settings for all requests to Blocket.se.

{ "useApifyProxy": true }

Apify Proxy is enabled by default and recommended for all runs. For large-scale scraping (10,000+ listings), residential proxies are recommended to minimize the risk of IP blocks.


Usage Examples

Example 1 — Search for iPhones across all of Sweden

{
"searchQuery": "iPhone 15",
"category": "",
"location": "",
"maxResults": 200,
"proxyConfiguration": { "useApifyProxy": true }
}

Example 2 — All used cars in Stockholm

{
"searchQuery": "",
"category": "car",
"location": "0.300001",
"maxResults": 500,
"proxyConfiguration": { "useApifyProxy": true }
}

Example 3 — Volvo cars in Gothenburg

{
"searchQuery": "Volvo",
"category": "car",
"location": "0.300014",
"maxResults": 100,
"proxyConfiguration": { "useApifyProxy": true }
}

Example 4 — Electronics in Skåne (Malmö region)

{
"searchQuery": "",
"category": "0.93",
"location": "0.300012",
"maxResults": 300,
"proxyConfiguration": { "useApifyProxy": true }
}

Example 5 — Motorcycles across all of Sweden, unlimited

{
"searchQuery": "",
"category": "mc",
"location": "",
"maxResults": 0,
"proxyConfiguration": { "useApifyProxy": true }
}

Example 6 — Free items (Skänkes) — search all furniture listings

{
"searchQuery": "skänkes",
"category": "0.78",
"location": "",
"maxResults": 100,
"proxyConfiguration": { "useApifyProxy": true }
}

How It Works

API Endpoint Selection

Blocket uses two separate search backends:

Category InputEndpoint UsedAPI URL Pattern
carMobilitymobility/search/api/search/SEARCH_ID_CAR_USED
mcMobilitymobility/search/api/search/SEARCH_ID_MC_USED
boatMobilitymobility/search/api/search/SEARCH_ID_BOAT_USED
All othersRecommercerecommerce/forsale/search/api/search/SEARCH_ID_BAP_COMMON

The actor detects whether the selected category is a vehicle type and routes the request to the correct endpoint automatically — no manual configuration needed.

Pagination

The actor builds paginated URLs incrementally (?page=1, ?page=2, ...) and fetches until:

  • maxResults is reached, or
  • A page returns zero new listings, or
  • The cumulative count equals the total_count reported by the API

A 400 ms courtesy delay is added between pages.

Deduplication

Every listing ID is tracked in a Set. If the same ID appears on multiple pages (which can happen near pagination boundaries), it is skipped — ensuring each listing appears exactly once in the dataset.

Parsing

The parseDoc function handles both recommerce and mobility API response formats:

  • Price is formatted with Swedish locale thousand separators and kr suffix
  • Mileage is formatted with Swedish locale separators and mil suffix
  • Seller type is determined from flags array or dealer_segment field
  • Shipping availability is detected from the shipping_exists flag
  • GPS coordinates are extracted from the coordinates object
  • Image URLs are extracted from both image.url and image_urls array formats
Input config
Detect category type (vehicle vs. marketplace)
Select API endpoint (mobility or recommerce)
(paginated loop)
Fetch page → Parse docs → Deduplicate → Push to Dataset
└── Repeat until maxResults or no more pages

Category & Use Case Guide

Used Cars (category: "car")

The most data-rich category. Every listing includes:

  • make, model, modelSpec — brand and model hierarchy
  • year — model year
  • mileage — odometer in mil (× 10 for km)
  • fuel — Bensin, Diesel, El (electric), Hybrid
  • gearbox — Automatisk, Manuell
  • regno — Swedish registration plate

Use cases: used car price monitoring, inventory sourcing, dealer analysis, market pricing dashboards.

Electronics (category: "0.93")

High-volume category with frequent new listings. The brand field captures electronics brands (Apple, Samsung, Sony, etc.). Combine with searchQuery for model-specific monitoring.

Use cases: reseller price intelligence, arbitrage opportunity detection, supply monitoring.

Furniture (category: "0.78")

Interior and home goods. Often includes shippable items (shipping: "Kan skickas"). Useful for vintage/antique sourcing.

Motorcycles (category: "mc") and Boats (category: "boat")

Same structured vehicle fields as cars: make, model, year, mileage (where applicable), fuel, gearbox. Boats include make and model but typically not mileage.

Art & Antiques (category: "0.76")

Lower volume but high-value listings. Useful for auction house research and antique dealer sourcing.


Performance

ScenarioEst. ListingsEst. TimeNotes
Keyword search, national50–500< 1 minDepends on query specificity
Electronics, Stockholm1,000–5,0002–5 minPopular category
All cars, national50,000–100,00030–60 minLarge category, many pages
All listings, no filters500,000+Several hoursUse maxResults to cap

Throughput is primarily limited by Blocket's API response time (~200–400 ms per page of ~49 listings) plus the 400 ms inter-page delay.

Cost: This actor uses native fetch — no browser, no Playwright. Compute cost is negligible. Proxy usage is the primary cost driver for large runs.


Export Formats

Download your results from the Apify Dataset in:

  • JSON — full structured output with all fields
  • CSV — flat table; imageUrls as comma-separated string in one cell — ready for Excel or Google Sheets
  • Excel (.xlsx) — native spreadsheet format
  • JSONL — one record per line for data pipeline ingestion

Navigate to Storage → Dataset → Export in the Apify Console.


Tips for Best Results

Price monitoring:
Run on a schedule (daily) for a specific searchQuery + category combination. Compare price across runs to track market movements.

Car market analysis:
Run with category: "car" and no keyword filter across all regions. Export to CSV and pivot by make, fuel, year, and location for supply/demand insights.

Find shippable items:
Filter your exported CSV where shipping = "Kan skickas" to find sellers willing to ship — useful if you're buying from outside the local area.

Private vs. dealer analysis:
Filter by sellerType = "Privat" or "Företag" to separate private sales from dealer inventory and compare pricing.

GPS-based mapping:
Export lat, lng, and price fields to a mapping tool (Kepler.gl, Google Maps API, QGIS) to visualize geographic pricing patterns.

Arbitrage detection:
Run the same searchQuery across multiple location regions in separate runs and compare prices. Regional price differences on identical items represent arbitrage opportunities.


Limitations

  • Description text not included. The search API returns listing metadata but not the full description body. To get full descriptions, the individual listing pages would need to be fetched separately (not included in this actor).
  • Images require additional requests. imageUrl and imageUrls are direct CDN URLs and are available without additional fetching. However, the API may return only the first image URL for some listing types.
  • Vehicle fields only for car, mc, boat. Fields like make, model, year, mileage, fuel, gearbox, and regno are only populated for vehicle categories. They will be null for marketplace listings.
  • Mileage is in Swedish mil. 1 Swedish mil = 10 km. Multiply mileage values by 10 to convert to kilometres.
  • Price is a formatted string, not a number. "125 000 kr" is stored as a string. Parse and strip " kr" and spaces to get a numeric value for sorting or calculations.
  • Category codes are Blocket-internal. The numeric codes (0.93, 0.78, etc.) are Blocket's internal identifiers. If Blocket restructures their categories, these codes may change.
  • Proxy required for large runs. Without a proxy, Blocket may rate-limit or block requests on high-volume queries. Apify Proxy is enabled by default.

Frequently Asked Questions

Q: Can I scrape a specific city rather than an entire region?
The API location filter uses Blocket's region/county codes, which correspond to Swedish counties (län) — not individual cities. City-level filtering is not supported via the search API; filter by region and then post-process by the location field (which contains city-level data).

Q: Why is mileage measured in "mil" instead of km?
Sweden uses the Swedish mile (mil) as the standard unit for vehicle odometers. 1 mil = 10 km. A car showing "8 500 mil" has driven 85,000 km.

Q: Can I get the full listing description?
No — the search API returns listing metadata only. Full description text is loaded separately on the listing detail page. This actor does not fetch individual listing pages.

Q: Why are make, model, year null for some listings?
These fields are only populated for vehicle categories (car, mc, boat). Marketplace listings (electronics, furniture, etc.) do not use these fields.

Q: What does tradeType mean?
It indicates the type of transaction the seller wants: "Säljes" = for sale, "Bytes" = swap/barter, "Skänkes" = giving away for free.

Q: Can I filter by price range?
Price filtering via the API is not currently supported as an input parameter in this actor. Fetch all listings and filter by the price field in your post-processing step.

Q: How fresh is the data?
The actor hits Blocket's live search API — the same one used by the website. Data reflects Blocket's current index at the time of the run.

Q: Why do I need a proxy?
Blocket's API uses the same infrastructure as its website and may apply rate limiting to repeated requests from a single IP. Apify Proxy (enabled by default) rotates IPs to maintain a consistent request rate without triggering blocks.


Technical Details

PropertyValue
RuntimeNode.js (ES Modules)
FrameworkApify SDK v3
HTTP clientNative fetch + https-proxy-agent
Marketplace endpointblocket.se/recommerce/forsale/search/api/search/SEARCH_ID_BAP_COMMON
Car endpointblocket.se/mobility/search/api/search/SEARCH_ID_CAR_USED
MC endpointblocket.se/mobility/search/api/search/SEARCH_ID_MC_USED
Boat endpointblocket.se/mobility/search/api/search/SEARCH_ID_BOAT_USED
Page size49 results (mobility) / default (recommerce)
Inter-page delay400 ms
DeduplicationIn-memory Set of listing IDs
ProxyRequired (Apify Proxy, default enabled)

Changelog

v1.0

  • Initial release
  • Dual-endpoint support: recommerce (marketplace) and mobility (vehicles)
  • Full vehicle attribute extraction: make, model, year, mileage, fuel, gearbox, regno
  • Seller type classification: Privat / Företag
  • Shipping flag detection
  • GPS coordinate extraction
  • Region filtering (all 20 Swedish counties)
  • 11 marketplace category filters
  • Keyword search
  • Automatic pagination with total count awareness
  • In-memory deduplication
  • Apify Proxy integration

Support

If you encounter unexpected results, empty datasets, or API errors, please open a support ticket via the Apify Console. Include the category, search query, region, and actor run ID in your report to help diagnose the issue quickly.


Changelog

  • 2026-05-20 — Maintenance pass: reviewed the input schema and default values for a smooth one-click start, and rebuilt the Actor on the latest base image.

Last reviewed: 2026-05-20.