All scrapers

Marketplaces

Blocket Scraper

blocket.se

100% Success rate
5.4s Avg response
Bot detection + rate limiting Protection
1,000 calls Measured over

Blocket is Sweden's largest classifieds marketplace, covering cars, property and second-hand goods. ScrapeUnblocker renders its listing pages as a buyer would see them and returns the price, condition and location for each ad, holding a clean 100% at around five seconds a page.

What you can extract

  • Listing title and category
  • Price and currency
  • Item condition and description
  • Seller type and location (kommun)
  • Photos and listing URL

How to scrape it

curl -X POST \
  -H "X-ScrapeUnblocker-Key: $SU_API_KEY" \
  "https://api.scrapeunblocker.com/getPageSource?url=https%3A%2F%2Fwww.blocket.se%2Fannonser%2Fhela_sverige%2Fbilar&parsed_data=true"
import requests

resp = requests.post(
    "https://api.scrapeunblocker.com/getPageSource",
    headers={"X-ScrapeUnblocker-Key": SU_API_KEY},
    params={"url": "https://www.blocket.se/annonser/hela_sverige/bilar", "parsed_data": True},
)
print(resp.text)
import { ScrapeUnblockerClient } from 'scrapeunblocker';

const su = new ScrapeUnblockerClient({ apiKey: process.env.SU_API_KEY });

const results = await su.getPageSource({
  url: 'https://www.blocket.se/annonser/hela_sverige/bilar',
  parsedData: true,
});
console.log(results);

Requests are POST and take their parameters in the query string. Browser rendering always happens - there is no flag to enable.

Read the API docs

Related scrapers

Start scraping this site today

Free tier included. No credit card required to test it.