# Fonecta.fi Scraper (`shahidirfan/fonecta-fi-scraper`) Actor

Extract Finnish business listings from Fonecta.fi, including company names, phone numbers, addresses, websites, and available emails or business IDs. Search by keyword or location and turn directory data into structured leads for B2B sales, market research, and outreach.

- **URL**: https://apify.com/shahidirfan/fonecta-fi-scraper.md
- **Developed by:** [Shahid Irfan](https://apify.com/shahidirfan) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## 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

### What does Fonecta.fi Scraper do?

Fonecta.fi Scraper collects public listings from Fonecta.fi, the Finnish directory behind Fonecta Caller, and returns one clean record per business, office or person. Paste a Fonecta search page such as `https://www.fonecta.fi/haku/taksi`, type a keyword with an optional city, or point it at a profile page, and the Actor saves names, phone numbers, emails, websites, addresses, opening hours, Y-tunnus, financials and optional credit data to an Apify dataset.

The output suits lead lists and local market research in Finland. Export it as JSON or CSV, schedule repeat runs, or read it from the Apify API.

### Why use Fonecta.fi Scraper?

- Duplicates are removed across pages and across every input URL, so a 100-item page never produces repeated rows.
- Company and office records are the default for lead generation. Switch to person mode when you need individual contact entries.
- Credit rating, payment delay history, offices and extra contacts come from one checkbox instead of a second tool.
- `yTunnus` is formatted from the source business id, so it matches invoices, registry lookups and CRM fields.
- A run can be scheduled, sent to Google Sheets, followed by a webhook, or read from the Apify API.

### What data can you extract from Fonecta.fi?

| Field group              | Fields                                                                                                                                                            |
| ------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Identity                 | `name`, `contactType`, `officialName`, `firstName`, `lastName`, `title`                                                                                           |
| Business ids             | `businessId`, `yTunnus`                                                                                                                                           |
| Contact                  | `phone`, `mobile`, `email`, `website`, `additionalWebsites`                                                                                                       |
| Place                    | `street`, `postalCode`, `city`, `cityDistrict`, `province`, `latitude`, `longitude`                                                                               |
| Hours                    | `hours`, `openingTimesToday`, `openNow`                                                                                                                           |
| Industry                 | `mainLineOfBusiness`, `industryCode`, `industryName`, `companyForm`, `established`                                                                                |
| Description              | `descriptionTitle`, `description`                                                                                                                                 |
| Media and social         | `logoUrl`, `coverPictureUrl`, `images`, `facebook`, `instagram`, `linkedin`, `twitter`, `youtube`                                                                 |
| Coverage                 | `serviceAreas`                                                                                                                                                    |
| Financials               | `financials`, `employees`                                                                                                                                         |
| Credit, detail mode only | `creditScore`, `creditRating`, `creditRatingText`, `creditUpdated`, `riskClass`, `riskDescription`, `paymentDelaysCount`, `paymentDelaysSum`, `openInvoicesCount` |
| Detail mode only         | `offices`, `additionalContacts`                                                                                                                                   |
| Meta                     | `profileUrl`, `searchTerm`, `source`, `scrapedAt`                                                                                                                 |

Fields missing at the source are left out of the record instead of being written as empty strings or `null`.

### How to use Fonecta.fi Scraper

1. Open the Actor on Apify Store.
2. Keep the default `https://www.fonecta.fi/haku/taksi` URL, or replace it with your own Fonecta search page.
3. Optionally type a keyword and a city instead of a URL.
4. Set `maxResults` and `maxPages` for the size of the run.
5. Run the Actor and download the dataset.

Keyword and location take precedence over the URL list. When you use a keyword, the URL list is ignored completely, including its page number.

#### Supported inputs

| Input form                   | Example                                               |
| ---------------------------- | ----------------------------------------------------- |
| Search page                  | `https://www.fonecta.fi/haku/taksi`                   |
| Search page with page number | `https://www.fonecta.fi/haku/taksi?page=2`            |
| Encoded multi-word term      | `https://www.fonecta.fi/haku/ravintola%20tampere`     |
| Profile page                 | `https://www.fonecta.fi/profiili/lahitaksi-oy/334115` |
| Plain search term            | `taksi` or `putkimies helsinki`                       |
| Multiple inputs              | Any mix of the forms above, in one list               |

Tracking parameters in pasted URLs are ignored. URLs from other domains fail fast with a message that lists the accepted forms.

### Input Parameters

| Parameter            | Type    | Required | Default                                 | Description                                                                             |
| -------------------- | ------- | -------- | --------------------------------------- | --------------------------------------------------------------------------------------- |
| `urls`               | Array   | No       | `["https://www.fonecta.fi/haku/taksi"]` | Fonecta search pages, profile pages, or plain search terms                              |
| `keyword`            | String  | No       | -                                       | What you would type into the Fonecta search box; takes precedence over `urls`           |
| `location`           | String  | No       | -                                       | City or municipality added to the keyword                                               |
| `contactType`        | String  | No       | `company`                               | `company` for companies and offices, `person` for private persons, `all` for everything |
| `enrichDetails`      | Boolean | No       | `false`                                 | Adds credit rating, payment delays, offices and extra contacts                          |
| `maxResults`         | Integer | No       | `20`                                    | Maximum unique listings saved in the run                                                |
| `maxPages`           | Integer | No       | `10`                                    | Maximum result pages fetched per input; each page holds up to 100 listings              |
| `proxyConfiguration` | Object  | No       | No proxy                                | Proxy settings, normally not needed                                                     |

### Output Data

| Field                                                           | Type             | Description                                                           |
| --------------------------------------------------------------- | ---------------- | --------------------------------------------------------------------- |
| `id`                                                            | String           | Fonecta listing id, also used in the profile URL                      |
| `name`                                                          | String           | Business, office or person name                                       |
| `contactType`                                                   | String           | `COMPANY`, `OFFICE` or `PERSON`                                       |
| `officialName`                                                  | String           | Registered company name, or employer name for person records          |
| `firstName` / `lastName` / `title`                              | String           | Person name and job title, person records only                        |
| `businessId`                                                    | String           | Business id exactly as published                                      |
| `yTunnus`                                                       | String           | Finnish business id with the dash, company and office records only    |
| `phone` / `mobile` / `email`                                    | String           | Contact details when published                                        |
| `website`                                                       | String           | Business website as a full URL                                        |
| `additionalWebsites`                                            | Array            | Extra website addresses                                               |
| `street` / `postalCode` / `city`                                | String           | Address                                                               |
| `cityDistrict` / `province`                                     | String           | District and Finnish region                                           |
| `latitude` / `longitude`                                        | Number           | Coordinates                                                           |
| `hours`                                                         | Array            | Opening hours, for example `MO 08:00-16:00`                           |
| `openingTimesToday` / `openNow`                                 | String / Boolean | Today's status at collection time                                     |
| `mainLineOfBusiness` / `industryCode` / `industryName`          | String           | Industry labels and code                                              |
| `companyForm` / `established`                                   | String           | Legal form and founding date                                          |
| `descriptionTitle` / `description`                              | String           | Published description                                                 |
| `logoUrl` / `coverPictureUrl` / `images`                        | URL / Array      | Logo, cover image and gallery                                         |
| `facebook` / `instagram` / `linkedin` / `twitter` / `youtube`   | String           | Social profiles                                                       |
| `serviceAreas`                                                  | Array            | Municipalities the business covers                                    |
| `financials`                                                    | Array            | Fiscal year, turnover, change, operating profit, margin and employees |
| `employees`                                                     | Integer          | Employee count from the latest financial year                         |
| `creditScore` / `creditRating` / `creditRatingText`             | Number / String  | Credit rating, detail mode                                            |
| `riskClass` / `riskDescription`                                 | String           | Payment risk summary, detail mode                                     |
| `paymentDelaysCount` / `paymentDelaysSum` / `openInvoicesCount` | Number           | Payment behaviour, detail mode                                        |
| `offices` / `additionalContacts`                                | Array            | Other locations and named contacts, detail mode                       |
| `profileUrl`                                                    | String           | Fonecta profile page                                                  |
| `searchTerm`                                                    | String           | Search term that produced the record                                  |
| `source` / `scrapedAt`                                          | String           | Source label and ISO timestamp                                        |

### Usage Examples

#### Collect taxi companies from a search page

Run the default search page and take the first 50 companies.

```json
{
    "urls": ["https://www.fonecta.fi/haku/taksi"],
    "maxResults": 50,
    "maxPages": 2
}
```

#### Search by keyword and city

Look up restaurants in Tampere without building a URL.

```json
{
    "keyword": "ravintola",
    "location": "Tampere",
    "contactType": "company",
    "maxResults": 100
}
```

#### Combine several inputs

Mix a profile page, a search page and a plain term in one run. Duplicates are removed automatically.

```json
{
    "urls": [
        "https://www.fonecta.fi/profiili/lahitaksi-oy/334115",
        "https://www.fonecta.fi/haku/putkimies",
        "sähköasennus helsinki"
    ],
    "maxResults": 300,
    "maxPages": 3
}
```

#### Add credit and office data

Turn on detail enrichment for lead scoring. Each listing gets one extra request.

```json
{
    "keyword": "kiinteistö",
    "contactType": "company",
    "enrichDetails": true,
    "maxResults": 25
}
```

#### Collect private person records

Switch the record mode when you need individual entries instead of companies.

```json
{
    "keyword": "matti virtanen",
    "contactType": "person",
    "maxResults": 30
}
```

### Sample Output

One company record with detail enrichment enabled:

```json
{
    "id": "487977",
    "name": "Kiinteistö Oy Auroranlinna",
    "contactType": "COMPANY",
    "businessId": "06897840",
    "yTunnus": "0689784-0",
    "phone": "020 719 9670",
    "mobile": "020 719 9670",
    "email": "asuntopalvelu@auroranlinna.fi",
    "website": "https://www.auroranlinna.fi",
    "street": "Eevankatu 2",
    "postalCode": "00240",
    "city": "Helsinki",
    "cityDistrict": "Pasila",
    "province": "Uusimaa",
    "latitude": 60.2010264,
    "longitude": 24.9245898,
    "mainLineOfBusiness": "Vuokra-asunnot",
    "companyForm": "Osakeyhtiö",
    "established": "1987-09-02",
    "hours": ["MO 09:00-15:00", "TU 09:00-15:00", "WE 09:00-15:00", "TH 09:00-15:00", "FR 09:00-15:00"],
    "openingTimesToday": "closed",
    "openNow": false,
    "financials": [
        {
            "year": "2025",
            "turnover": 61687,
            "turnoverChange": 3.4,
            "operatingProfit": -287,
            "operatingMargin": 11.2,
            "employees": 19
        }
    ],
    "employees": 19,
    "creditScore": 49.1,
    "creditRating": "BBB",
    "creditRatingText": "Tyydyttävä",
    "riskClass": "1",
    "riskDescription": "Ei maksuviiveiksi rekisteröityjä perintäasioita",
    "paymentDelaysCount": 0,
    "paymentDelaysSum": 0,
    "openInvoicesCount": 0,
    "offices": [
        {
            "name": "Kiinteistö Oy Auroranlinna",
            "city": "Helsinki",
            "street": "Eevankatu 2",
            "postalCode": "00240"
        }
    ],
    "profileUrl": "https://www.fonecta.fi/profiili/kiinteisto-oy-auroranlinna/487977",
    "searchTerm": "kiinteisto",
    "source": "fonecta.fi",
    "scrapedAt": "2026-11-21T10:48:28.496Z"
}
```

### Tips for Best Results

- Start with `maxResults` at 20 to confirm the result shape, then raise it.
- Leave `location` empty for nationwide results. Adding a city narrows the search the same way the Fonecta search box does.
- Use `maxPages` as a cost guard: one page holds up to 100 listings.
- Keep `enrichDetails` off for large runs. It adds one request per listing.
- The company and office mode is the right default for B2B lead lists. Person records often have a mobile number but no opening hours or financials.
- Some fields are missing because Fonecta does not publish them for every listing.
- If you see repeated rate limit warnings, enable Apify Proxy in the input.

### Integrations

- Google Sheets: push the dataset straight into a spreadsheet for sales or research teams.
- Webhooks: start a follow-up workflow when a run finishes.
- Make or Zapier: send new listings to a CRM or email tool.
- Apify API: read the dataset programmatically from your own application.
- Exports: download JSON, CSV, Excel or XML from the dataset view.

### Frequently Asked Questions

#### Can I scrape Fonecta.fi without a proxy?

Yes. The Actor reads public listings and needs no proxy for normal volumes. Apify Proxy is available for large or repeated runs.

#### Can I export Fonecta data to CSV or Excel?

Yes. Every Apify dataset can be downloaded as CSV, Excel, JSON or XML, and the field names map one to one to spreadsheet columns.

#### How do I get companies only?

Keep `contactType` at `company`. That keeps companies and their offices and drops private person records.

#### Why is Y-tunnus missing on some records?

`yTunnus` is written for company and office records only, because a person record carries the employer's business id rather than its own. The raw `businessId` is always saved when the source publishes it.

#### Why is email or turnover empty on some records?

Fonecta does not publish every field for every listing. The Actor omits a field when the source has no value; it never fills gaps with placeholders.

#### Can I use a profile page URL?

Yes. Paste any `https://www.fonecta.fi/profiili/...` URL and the Actor returns that single record.

#### Does the Actor follow the page number in my URL?

Yes. A URL ending in `?page=3` starts collection at the third page. `maxPages` then counts pages fetched from that starting point.

#### Can I run this Actor on a schedule?

Yes. Schedule daily or weekly runs in Apify Console to refresh a lead list or monitor new listings.

#### Is it legal to scrape Fonecta.fi?

The Actor collects public directory data. You are responsible for complying with applicable laws, the website terms and data protection rules, especially when person records are involved.

### Related Actors

- [Google Maps Business Scraper](https://apify.com/shahidirfan/google-maps-business-scraper) - collect local business profiles and contact details from Google Maps.
- [FindLaw Directory Scraper](https://apify.com/shahidirfan/findlaw-directory-scraper) - build lawyer and law firm lists from a legal directory.
- [Propertyfinder Agent Scraper](https://apify.com/shahidirfan/propertyfinder-agent-scraper) - extract real estate agent names, emails and phone numbers.

### Support

Report a broken run, a missing field or a new input form through the Issues tab on the Actor page. Include the input JSON and the run id so the problem can be reproduced.

### Legal Notice

This Actor is intended for legitimate collection of publicly available directory data. Users are responsible for how the data is stored, combined and used, and for compliance with Finnish and EU data protection rules when processing person records.

# Actor input Schema

## `urls` (type: `array`):

Fonecta search pages such as https://www.fonecta.fi/haku/taksi, profile pages under /profiili/, or plain search terms such as taksi. Keyword and location take precedence when supplied.

## `keyword` (type: `string`):

What you would type into the Fonecta search box, for example taksi, ravintola or putkimies. Takes precedence over the URLs above.

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

City or municipality added to the keyword, for example Helsinki. Leave empty for nationwide results.

## `contactType` (type: `string`):

Fonecta mixes companies, offices and private persons. Companies and offices is the default for lead lists.

## `enrichDetails` (type: `boolean`):

Fetch the full record for every listing to add credit rating, payment delays, offices and extra contacts. Adds one request per listing.

## `maxResults` (type: `integer`):

Maximum number of unique listings to save across all inputs.

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

Safety cap on result pages fetched for each URL or keyword. Each page holds up to 100 listings.

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

No proxy is needed for normal volumes. Use Apify Proxy if your runs start returning 429 responses.

## Actor input object example

```json
{
  "urls": [
    "https://www.fonecta.fi/haku/taksi"
  ],
  "contactType": "company",
  "enrichDetails": false,
  "maxResults": 20,
  "maxPages": 10,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (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 = {
    "urls": [
        "https://www.fonecta.fi/haku/taksi"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("shahidirfan/fonecta-fi-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 = { "urls": ["https://www.fonecta.fi/haku/taksi"] }

# Run the Actor and wait for it to finish
run = client.actor("shahidirfan/fonecta-fi-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 '{
  "urls": [
    "https://www.fonecta.fi/haku/taksi"
  ]
}' |
apify call shahidirfan/fonecta-fi-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,shahidirfan/fonecta-fi-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/U75ncbrpl6hgecWci/builds/3lTFPswFKuhe6nqgO/openapi.json
