# Blocket, Tori, FINN & DBA Scraper: Nordic Classifieds (`davidcastro/blocket-scraper`) Actor

Scrape the Nordic marketplaces Blocket (Sweden), Tori (Finland), FINN (Norway) and DBA (Denmark) by keyword, price, condition and seller type: title, price, currency, location with coordinates, date, brand, model, condition, shipping and buy-now flags and all photos.

- **URL**: https://apify.com/davidcastro/blocket-scraper.md
- **Developed by:** [David Castro](https://apify.com/davidcastro) (community)
- **Categories:** E-commerce, Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $15.00 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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, Tori, FINN & DBA Scraper: Nordic Classifieds

Collect marketplace ads from the four big Nordic classifieds sites in one actor: Blocket (Sweden), Tori (Finland), FINN (Norway) and DBA (Denmark). Search by keyword with price, condition, seller type and ad type filters, or paste any marketplace search page. Each ad comes with its title, price and currency, place with coordinates, publish time, brand and other attributes, private or business seller, shipping, buy-now and free-shipping flags, and photos.

### What you get

| Field | Example |
|---|---|
| `title`, `url`, `adId` | Apple iPhone 16 Pro 256 GB, ad page, 28319043 |
| `price`, `currency` | 8000, SEK |
| `location`, `latitude`, `longitude` | Solna, 59.38, 18.03 |
| `postedAt` | 2026-11-16T23:07:26Z |
| `adType`, `sellerType` | Säljes, private |
| `brand`, `attributes` | Apple, {"memory_size": "256 GB"} |
| `labels`, `shippingAvailable`, `buyNow`, `freeShipping` | \["Kan skickas", "Köp nu"], true, true, true |
| `image`, `images`, `imageCount` | photo links |
| `site`, `country`, `totalResults`, `position` | blocket.se, SE, 5427, 1 |

### Inputs

- **Marketplace:** Blocket, Tori, FINN or DBA.
- **Search keywords:** anything from iphone to cykel, sohva or sofa.
- **Filters:** price range, condition, private or business sellers, for sale, free or wanted, only shippable ads, only ads from today.
- **Sort:** relevance, newest, lowest or highest price.
- **Search URLs:** paste marketplace result pages with your own filters, such as a category or region.

### Example input

```json
{
    "site": "tori.fi",
    "searchQueries": ["sohva", "polkupyörä"],
    "maxPrice": 300,
    "sellerType": "1",
    "sort": "PUBLISHED_DESC",
    "maxListings": 200
}
```

### Use cases

- Reselling and deal hunting across Sweden, Finland, Norway and Denmark.
- Cross-country price comparison for used goods.
- Dealer prospecting from business sellers.
- Monitoring new supply in a category every day.

### Pricing

You pay per ad delivered. Searches that match nothing are never charged. The run stops at your maximum listings or your spend limit. Free Apify plans get up to 10 ads per run.

### FAQ

**Why do I get fewer ads for rare keywords?**
When few ads match, the marketplaces pad results with loosely related ads. These are dropped unless you turn on Include similar ads.

**Are car and property ads included?**
This actor covers the general marketplace (Torget, Tori, Torget on FINN, DBA). Cars and property have their own sections on these sites.

# Actor input Schema

## `site` (type: `string`):

Which Nordic marketplace to search.

## `searchQueries` (type: `array`):

What to search for, for example iphone, cykel, sohva, sofa.

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

Minimum price in local currency.

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

Maximum price in local currency.

## `condition` (type: `string`):

Item condition.

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

Private or business sellers.

## `adType` (type: `string`):

For sale, give away or wanted.

## `shippingOnly` (type: `boolean`):

Only ads that can be shipped.

## `todayOnly` (type: `boolean`):

Only ads new from today.

## `sort` (type: `string`):

Result order.

## `startUrls` (type: `array`):

Paste result pages from Blocket, Tori, FINN or DBA marketplace search, with your filters already applied.

## `includeSimilar` (type: `boolean`):

Also return loosely related ads the marketplace suggests when few ads match your keyword. Off by default, so you only pay for matching ads.

## `maxListings` (type: `integer`):

Maximum listings per keyword or URL.

## Actor input object example

```json
{
  "site": "blocket.se",
  "searchQueries": [
    "iphone"
  ],
  "condition": "any",
  "sellerType": "any",
  "adType": "any",
  "shippingOnly": false,
  "todayOnly": false,
  "sort": "PUBLISHED_DESC",
  "includeSimilar": false,
  "maxListings": 30
}
```

# Actor output Schema

## `overview` (type: `string`):

The main fields in a table.

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

Every field of every result.

# 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 = {
    "site": "blocket.se",
    "searchQueries": [
        "iphone"
    ],
    "maxListings": 30
};

// Run the Actor and wait for it to finish
const run = await client.actor("davidcastro/blocket-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 = {
    "site": "blocket.se",
    "searchQueries": ["iphone"],
    "maxListings": 30,
}

# Run the Actor and wait for it to finish
run = client.actor("davidcastro/blocket-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 '{
  "site": "blocket.se",
  "searchQueries": [
    "iphone"
  ],
  "maxListings": 30
}' |
apify call davidcastro/blocket-scraper --silent --output-dataset

```

## MCP server setup

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