# Finn.no MCP Server — Norwegian Marketplace for AI (`longanimous_bracken/finn-no-scraper`) Actor

MCP Server for Finn.no. Search Norwegian marketplace. AI-agent ready.

- **URL**: https://apify.com/longanimous\_bracken/finn-no-scraper.md
- **Developed by:** [petteri mähönen](https://apify.com/longanimous_bracken) (community)
- **Categories:** E-commerce, MCP servers
- **Stats:** 2 total users, 1 monthly users, 100.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.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Finn.no Scraper

Scrape **Finn.no** — Norway's #1 classifieds marketplace (~5M listings/month). Extracts search results and optional detail page data with parallel fetching for speed.

### Features

- **Search results**: title, price, location, image, URL, item ID
- **Detail pages** (optional): description, brand, condition, category path, images, dates, seller type
- **Price filtering**: min/max price in NOK
- **Region filtering**: Oslo, Bergen, Trondheim, Stavanger, Tromsø, etc.
- **Sort**: newest, price\_low, price\_high, most\_relevant
- **Multi-page pagination**: scrape up to 10 pages
- **Multiple output formats**: JSON, CSV, Excel, Markdown, JSON Lines
- **Parallel detail fetching**: 10 concurrent requests per batch — 50 listings in ~10s
- **CheerioCrawler**: only 268MB RAM required

### Input Parameters

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `searchQuery` | string | (required) | Search term (e.g., "iphone", "bil", "leilighet") |
| `maxPages` | int | 1 | Number of search result pages (1-10) |
| `priceMin` | int | null | Minimum price in NOK |
| `priceMax` | int | null | Maximum price in NOK |
| `regions` | string\[] | \[] | Filter by region (e.g., \["Oslo", "Bergen"]) |
| `sort` | string | "newest" | Sort order: newest, price\_low, price\_high, most\_relevant |
| `fetchDetails` | bool | false | Fetch detail pages for description, brand, condition, etc. |
| `detailDelaySecs` | float | 1.5 | Delay between detail-fetch batches in seconds |
| `outputFormat` | string | "json" | json, csv, excel, markdown, jsonl |
| `webhookUrl` | string | null | Webhook URL for real-time notifications |

### Example Input

```json
{
  "searchQuery": "iphone 17",
  "maxPages": 2,
  "sort": "newest",
  "fetchDetails": true,
  "priceMin": 5000,
  "priceMax": 20000,
  "regions": ["Oslo", "Bergen"],
  "outputFormat": "json"
}
```

### Output Fields

#### Search Results (always included)

| Field | Type | Description |
|-------|------|-------------|
| `title` | string | Listing title |
| `price` | string | Price with currency (e.g., "13 000 kr") |
| `price_numeric` | int | Price as number for sorting/filtering |
| `location` | string | City/area |
| `region` | string | County/region |
| `url` | string | Listing URL |
| `image_url` | string | Thumbnail image URL |
| `item_id` | string | Finn.no item ID |
| `search_query` | string | The search query used |
| `page_number` | int | Which search page this was on |
| `scraped_at` | ISO 8601 | Timestamp |

#### Detail Fields (when `fetchDetails: true`)

| Field | Type | Description |
|-------|------|-------------|
| `description` | string | Full listing description |
| `condition` | string | Ny (New), Brukt (Used) |
| `brand` | string | Brand name |
| `category_path` | string | Full category hierarchy |
| `images` | string\[] | All image URLs |
| `published_date` | ISO 8601 | When listing was posted |
| `last_modified` | ISO 8601 | Last update timestamp |
| `seller_type` | string | Private/Commercial seller |

### Pricing

$1 per 1,000 runs.

### 💬 Quick Start for AI Assistants

Copy and paste this into ChatGPT, Claude, or another AI assistant to get help using this actor:

***

You are helping me use the "Finn.no Scraper" on Apify (actor ID: hvYc7OiwY0YWhxEQ1). It extracts listings from finn.no, Norway's #1 classifieds marketplace.

Input fields:

- searchQuery: string, e.g. "iphone"
- maxPages: number, pages to scrape (default: 1)
- priceMin, priceMax: number, filter by NOK (default: none)
- regions: string array, e.g. \["Oslo", "Bergen"]
- sort: string, "newest" | "price\_low" | "price\_high" | "most\_relevant"
- fetchDetails: boolean, visit detail pages for descriptions, condition, brand
- detailDelaySecs: number, seconds between detail visits (default: 1.5)
- outputFormat: "json" | "csv" | "excel" | "markdown" | "jsonl"
- webhookUrl: string, optional HTTPS URL for POST delivery

Output fields: title, price, price\_numeric, location, region, url, image\_url, item\_id, search\_query, page\_number, scraped\_at + detail fields (description, condition, brand, category\_path, images).

## Help me with the right input, output processing, or troubleshooting.

### Changelog

| Version | Date | Changes |
|---------|------|---------|
| 0.1.0 | 2026-07-17 | Initial release — Finn.no listing extraction with CheerioCrawler (268MB RAM), parallel detail fetching, region/price filtering |

# Actor input Schema

## `searchQuery` (type: `string`):

Search term — Norwegian or English keywords (e.g. 'iphone', 'bil', 'sykkel').

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

Number of search result pages to scrape (~50 listings per page). Default: 1.

## `priceMin` (type: `integer`):

Minimum price in NOK. Applied post-extraction.

## `priceMax` (type: `integer`):

Maximum price in NOK. Applied post-extraction.

## `regions` (type: `array`):

Filter by one or more Norwegian counties (fylker). Leave empty for all regions. Examples: Oslo, Viken, Vestland, Trøndelag, Agder.

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

Sort order: relevance, newest, cheapest, most\_expensive.

## `fetchDetails` (type: `boolean`):

Visit each listing's detail page to extract description, brand, condition, images, category path, and dates. Adds ~2-5s per listing.

## `detailDelaySecs` (type: `integer`):

Delay between detail page visits. Jitter (±25%) is added automatically. Only relevant when fetchDetails is true.

## `outputFormat` (type: `string`):

Output format: dataset, csv, json, or all.

## `webhookUrl` (type: `string`):

HTTPS URL to POST all listings to on completion.

## Actor input object example

```json
{
  "searchQuery": "iphone",
  "maxPages": 1,
  "regions": [],
  "sort": "relevance",
  "fetchDetails": false,
  "detailDelaySecs": 2,
  "outputFormat": "dataset"
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("longanimous_bracken/finn-no-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("longanimous_bracken/finn-no-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call longanimous_bracken/finn-no-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=longanimous_bracken/finn-no-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/hvYc7OiwY0YWhxEQ1/builds/XMT8bGeERA3J4aEsV/openapi.json
