# Tori.fi Scraper: Finnish Second-Hand Ads (`reventadata/tori-scraper`) Actor

Second-hand ads on tori.fi in Finland by search term, with category, region, seller kind, trade type and price filters. Get title, EUR price, location, posting time, seller flags, shipping, images and shop name.

- **URL**: https://apify.com/reventadata/tori-scraper.md
- **Developed by:** [reventadata](https://apify.com/reventadata) (community)
- **Categories:** E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.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/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

## Tori Scraper (Finland): second-hand ads from tori.fi

> **Unofficial.** This Actor is not affiliated with, authorised by, endorsed by, or in any way officially
> connected to Tori or Schibsted. "Tori" is a trademark of its respective owner and is used here only to
> describe what this tool reads. It reads the same public search results a browser does.

Tori Scraper searches the second-hand marketplace on tori.fi (Finland) and returns one structured row per ad:
title, price in EUR, district and town, listing time, seller kind, shipping flag, images and the ad link, plus
brand and shop name where the ad has them.

### What does it do?

For each search term it walks the site's own public search results, page by page (53 ads a page, up to
50 pages, 2,650 ads per search term), and saves the ads to the dataset. Category, region, seller kind, ad type
and price range are applied by the site itself, so the pages you fetch already match your filters.

### Why use it?

- **Structured columns:** price as a number, listing time as an ISO timestamp, seller and shipping as true/false.
- **Light:** no login and no browser needed.
- **Public data only:** the rows hold what the search results show, including a company's shop name when it
  sells as a company; nothing from behind a login.

### How to use it

1. Give one or more search terms in `searchQueries`.
2. Optionally narrow by category, region, seller kind, ad type and price range.
3. Run the Actor and download the dataset as JSON, CSV, Excel or NDJSON.

#### Input

| Field | Type | Description |
|---|---|---|
| `searchQueries` | array | One search per term. |
| `category` | string | One of the 11 top-level categories, or `any`. |
| `location` | string | One of the 19 Finnish regions (maakunta), or `any`. |
| `sellers` | string | `any`, `private` or `company`. |
| `tradeType` | string | `sell` (default), `giveaway`, `wanted` or `any`. |
| `minPrice`, `maxPrice` | integer | Inclusive price bounds in EUR, applied by the site. |
| `shippingOnly` | boolean | Keep only ads that offer shipping. |
| `requireKeywordMatch` | boolean | Drop ads where a search word is missing from title and brand (default on). |
| `maxItems` | integer | Cap on rows saved across all terms. |
| `maxPages` | integer | Pages per term, 1 to 50. |
| `proxyConfiguration` | object | Optional. Off by default. |

#### Sample input

```json
{
    "searchQueries": ["sohva"],
    "maxItems": 10
}
```

#### Output

| Field | Type | Description |
|---|---|---|
| `id` | string | Tori ad id. |
| `title` | string | Ad heading. |
| `url` | string | Canonical ad URL. |
| `price` | number / null | Asking price. |
| `currency` | string | `EUR`. |
| `location` | string / null | District and town. |
| `postedAt` | string / null | Listing time, ISO 8601 UTC. |
| `latitude`, `longitude` | number / null | Approximate position; null when the ad has none. |
| `imageUrls` | array | Image URLs. |
| `isPrivate`, `isRetailer` | boolean | The site's own seller flags. |
| `shippingAvailable`, `buyNow` | boolean | Shipping and direct-purchase flags. |
| `labels` | array | The site's badges in Finnish, e.g. `Yksityinen`, `Yritys`. |
| `brand` | string / null | Where the ad's category has one. |
| `organisationName` | string / null | Shop name, on company ads. |
| `tradeType` | string / null | Ad type as the site words it, e.g. `Myydään`. |
| `matchedKeyword` | string | The search term that returned the ad. |
| `site` | string | `FI`. |
| `scrapedAt` | string | ISO 8601 timestamp of the scrape. |

#### Sample output

One row from a real search page on 2026-11-18 (search `sohva`; `imageUrls` shortened to 2 items). A
sample from a real Actor run replaces this once one exists.

```json
{
  "id": "50076280",
  "title": "Sohva",
  "url": "https://www.tori.fi/recommerce/forsale/item/50076280",
  "price": 100,
  "currency": "EUR",
  "location": "Puijonlaakso, Kuopio",
  "postedAt": "2026-11-18T09:30:40+00:00",
  "latitude": 62.90283,
  "longitude": 27.63864,
  "imageUrls": [
    "https://img.tori.net/dynamic/default/item/50076280/215e116a-9fd5-4cbc-a3b3-1eae346ef2bf",
    "https://img.tori.net/dynamic/default/item/50076280/8bd664b3-7d68-4396-bd07-6dcc04ae21c0"
  ],
  "isPrivate": true,
  "isRetailer": false,
  "shippingAvailable": false,
  "buyNow": false,
  "labels": [
    "Yksityinen"
  ],
  "brand": null,
  "organisationName": null,
  "tradeType": "Myydään",
  "matchedKeyword": "sohva",
  "site": "FI",
  "scrapedAt": "2026-11-18T10:00:00+00:00"
}
```

### Limits

- The site serves at most 50 pages per search: 2,650 ads. To go further, split a search by category, region,
  seller kind or price range.
- Ads are returned in the site's default relevance order. The Actor does not send a sort option.
- The site also returns loosely related ads for a search term; with `requireKeywordMatch` on (default) only ads
  whose title or brand contains every search word are kept.
- The result list carries no ad description, seller name for private sellers, or condition; those are not in the rows.

### Pricing

Pay-per-event: **$0.001 per listing** saved to the dataset (**$1.00 per 1,000 listings**), plus **$0.00005**
charged once when the run starts. No subscription. Each listing is saved once, so repeats are not charged.

### Privacy & Compliance

This Actor reads only publicly accessible search results and returns the public data they show. It sends no
login. Check the site's terms and your local law before using the data.

# Actor input Schema

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

One search per term across tori.fi (Finland). Several words in one term must all appear in the ad title or brand when 'Require the query in the title' is on.

## `category` (type: `string`):

Optional top-level category. Narrows every search term to that category. Any category searches all of tori.fi.

## `location` (type: `string`):

Optional Finnish region (maakunta). Any region searches the whole country.

## `sellers` (type: `string`):

Private sellers only, companies only, or both. The site decides who is a company (its own 'Yritys' label).

## `tradeType` (type: `string`):

tori.fi mixes ads for sale with give-away ads and wanted ads ('Ostetaan'). For sale is almost always what you want.

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

Optional, inclusive. Applied by the site itself. Must not be above the maximum price.

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

Optional, inclusive. Applied by the site itself.

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

Keeps only ads that offer shipping. Applied after fetching, so a run with this on fetches more pages per row kept.

## `requireKeywordMatch` (type: `boolean`):

Drops ads where a word of the search term is missing from both the title and the brand. The site also matches the ad description and loosely related words, which the result list does not show, so a search can return unrelated ads.

## `maxItems` (type: `integer`):

Hard cap on rows saved across all search terms.

## `maxPages` (type: `integer`):

53 ads a page. The site serves at most 50 pages (2,650 ads) per search, so this is clamped to 50. Narrow the search with category, region, seller or price to go beyond that.

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

Optional. Left off by default; only turn it on if you see request failures.

## Actor input object example

```json
{
  "searchQueries": [
    "sohva"
  ],
  "category": "any",
  "location": "any",
  "sellers": "any",
  "tradeType": "sell",
  "shippingOnly": false,
  "requireKeywordMatch": true,
  "maxItems": 10,
  "maxPages": 1,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

Items scraped from the target website.

# 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 = {
    "searchQueries": [
        "sohva"
    ],
    "maxItems": 10,
    "maxPages": 1
};

// Run the Actor and wait for it to finish
const run = await client.actor("reventadata/tori-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 = {
    "searchQueries": ["sohva"],
    "maxItems": 10,
    "maxPages": 1,
}

# Run the Actor and wait for it to finish
run = client.actor("reventadata/tori-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 '{
  "searchQueries": [
    "sohva"
  ],
  "maxItems": 10,
  "maxPages": 1
}' |
apify call reventadata/tori-scraper --silent --output-dataset

```

## MCP server setup

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