# Fonecta scraper for Finnish leads: yrityshaku data in JSON (`getascraper/fonecta-business-leads-scraper`) Actor

Scrape public Fonecta yrityshaku listings across Finland into business records with phones, emails when listed, websites, addresses, hours, coordinates, and Y-tunnus. Export JSON or CSV to Google Sheets, Airtable, HubSpot, Salesforce, n8n, or Zapier. Skip manual copying. $0.00090 per record.

- **URL**: https://apify.com/getascraper/fonecta-business-leads-scraper.md
- **Developed by:** [GetAScraper](https://apify.com/getascraper) (community)
- **Categories:** Lead generation, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.68 / 1,000 company records

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

## Fonecta scraper for Finnish leads: yrityshaku data in JSON

**Build a clean Finnish prospect list from public Fonecta yrityshaku searches.** Search by category, city, or public URL, keep real company contacts, and export a ready-to-use dataset for sales, local research, or recurring lead workflows.

### ✨ Why use this Actor?

- Find local businesses by Finnish category terms and cities.
- Keep public phones, emails, websites, addresses, categories, hours, and coordinates together.
- Exclude private-person records before they reach your dataset.
- Opt in to a bounded check of linked business websites for a publicly displayed email.
- Use factual contact coverage and completeness fields to prioritize outreach.

### 🧭 How it works

1. Enter Finnish terms, optional cities, or public Fonecta search URLs.
2. The Actor collects and normalizes public business rows, then removes duplicates.
3. Download the lead list, contact coverage, location view, or source diagnostics from the dataset.

### 📥 Input

| Field | Type | Required | Description |
|---|---|---:|---|
| `searchTerms` | array of strings | No | Finnish categories or service terms. Defaults to `ravintola`. |
| `locations` | array of strings | No | Finnish cities appended to each term. |
| `startUrls` | array of URLs | No | Public `fonecta.fi/haku/` URLs. Finder.fi and unrelated hosts are rejected. |
| `resultTypes` | array of enum | No | `OFFICE` and `COMPANY` business rows. Person rows are always excluded. |
| `maxPages` | integer | No | Page limit for each search. |
| `proxyConfiguration` | object | No | Optional Apify proxy settings. Direct HTTP is the default. |
| `harvestWebsiteEmail` | boolean | No | Checks linked public business websites for a displayed email. |
| `maxItems` | integer | No | Maximum deduplicated records, bounded from 1 to 500. |

### 📊 Data table

| Field | Type | Description |
|---|---|---|
| `listingId` | string | Stable Fonecta listing identifier. |
| `name` | string | Public business name. |
| `phone`, `phones` | string, array | Public phone numbers. |
| `directoryEmail` | string | Email listed by Fonecta. |
| `websiteEmail` | string | Email found on an opted-in linked business website. |
| `emailSource` | string | `directory` or `website`. |
| `website` | string | Public business website. |
| `address`, `city`, `postalCode` | string | Public Finnish address fields. |
| `latitude`, `longitude` | number | Coordinates when Fonecta provides them. |
| `hours`, `hoursToday`, `openNow` | object, string, boolean | Public opening-hour fields when available. |
| `yTunnus` | string | Finnish business identifier when exposed. |
| `category`, `categories` | string, array | Public industry labels. |
| `publicContactChannels` | array | Real contact channels present in the row. |
| `leadCompletenessScore` | number | Factual field-presence score from 0 to 100. |
| `sourceSearchUrl`, `searchTerm`, `location` | string | Traceability to the search that produced the row. |

### 🧪 Example input

```json
{
  "searchTerms": ["ravintola"],
  "locations": ["Helsinki"],
  "maxItems": 20,
  "maxPages": 10,
  "harvestWebsiteEmail": false
}
```

### 💰 Pricing

This Actor uses pay-per-result pricing. The current base price is $0.00090 per business record. Empty runs cost nothing, and there is no subscription requirement. Subscriber discount tiers are prepared as FREE $0.00090, BRONZE $0.00081, SILVER $0.00074, and GOLD $0.00068.

### 🛡️ Public-data boundary

Only anonymous public Fonecta business pages and publicly linked business websites are supported. The Actor does not accept credentials, private portals, private-person lookups, or private APIs. Missing source values are omitted rather than guessed.

### ❓ FAQ

#### Can I search a Finnish city?

Yes. Add a city such as `Helsinki`, `Tampere`, or `Turku` to `locations`.

#### Mitä Fonecta yrityshaku palauttaa?

It returns public business records with contact, address, category, hours, coordinate, and source fields when Fonecta exposes them.

#### Voinko saada suomalaiset yritysten yhteystiedot CSV-muodossa?

Yes. Export the dataset as CSV or JSON after the run, or connect it to your own workflow.

#### Does this include private people?

No. Rows marked as people are discarded before output.

#### Are website emails guaranteed?

No. Website checks are optional, bounded, and only return an email visibly present on the linked public website.

#### Can I use a Finder.fi URL?

No. The Actor accepts Fonecta `/haku/` searches only.

### ⭐ Enjoying Finnish business leads from Fonecta?

If this Actor saves time in your prospecting workflow, a short Store review helps other Finnish sales and research teams find it.

# Changelog

This Actor's version history is a separate document: https://apify.com/getascraper/fonecta-business-leads-scraper/changelog.md

# Actor input Schema

## `searchTerms` (type: `array`):

Finnish terms such as ravintola, putkimies, or kampaamo. Each term is searched on Fonecta.

## `locations` (type: `array`):

Optional Finnish cities appended to every search term.

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

Optional https://www.fonecta.fi/haku/ URLs. Unsupported hosts and paths are rejected before requests.

## `resultTypes` (type: `array`):

Business result types to retain. PERSON rows are always excluded.

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

Bounds pagination for each Fonecta source.

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

Direct HTTP is used by default. Add a proxy only when your workflow requires it.

## `harvestWebsiteEmail` (type: `boolean`):

Optionally checks each publicly linked business website and its /contact page. No email is inferred.

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

Maximum deduplicated business records emitted per run.

## Actor input object example

```json
{
  "searchTerms": [
    "ravintola"
  ],
  "locations": [],
  "startUrls": [],
  "resultTypes": [
    "OFFICE",
    "COMPANY"
  ],
  "maxPages": 10,
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "harvestWebsiteEmail": false,
  "maxItems": 20
}
```

# Actor output Schema

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

No description

## `runSummary` (type: `string`):

No description

# 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 = {
    "searchTerms": [
        "ravintola"
    ],
    "locations": [],
    "startUrls": [],
    "resultTypes": [
        "OFFICE",
        "COMPANY"
    ],
    "maxPages": 10,
    "proxyConfiguration": {
        "useApifyProxy": false
    },
    "harvestWebsiteEmail": false,
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("getascraper/fonecta-business-leads-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 = {
    "searchTerms": ["ravintola"],
    "locations": [],
    "startUrls": [],
    "resultTypes": [
        "OFFICE",
        "COMPANY",
    ],
    "maxPages": 10,
    "proxyConfiguration": { "useApifyProxy": False },
    "harvestWebsiteEmail": False,
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("getascraper/fonecta-business-leads-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 '{
  "searchTerms": [
    "ravintola"
  ],
  "locations": [],
  "startUrls": [],
  "resultTypes": [
    "OFFICE",
    "COMPANY"
  ],
  "maxPages": 10,
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "harvestWebsiteEmail": false,
  "maxItems": 20
}' |
apify call getascraper/fonecta-business-leads-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,getascraper/fonecta-business-leads-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/llOw31Qc49JFhNh2N/builds/7Gg5psVULf5fK5LAy/openapi.json
