# Finland Company Search — PRH / YTJ Business Register (`openregistry/finland-company-search`) Actor

Find Finnish companies in the official PRH/YTJ open data API by name, Business ID (Y-tunnus), TOL/NACE industry code, city, postcode, company form and registration date. Returns address, industry, status, liquidation or bankruptcy, VAT and employer registers. Pay per company.

- **URL**: https://apify.com/openregistry/finland-company-search.md
- **Developed by:** [Mahé Perrin](https://apify.com/openregistry) (community)
- **Categories:** Lead generation, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.00 / 1,000 finnish company delivereds

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

## Finland Company Search — PRH / YTJ Business Register

Search **Finnish companies** in the official open data of the Finnish Patent and Registration Office (PRH) and the Business Information System (YTJ). Filter by name, Business ID (Y-tunnus), industry code, city, postcode, company form and registration date, and get clean rows ready for a CRM, a spreadsheet or a KYC check.

- **Official source**: the PRH open data API (`avoindata.prh.fi`, YTJ v3), free, no key, licensed CC BY 4.0. No scraping, no login, no proxy.
- **Lead lists**: every new IT company registered in Tampere this quarter, all construction firms in Oulu, all public limited companies in Helsinki.
- **Risk and compliance**: liquidation, bankruptcy and re-organisation flags, trade register status, VAT, employer and prepayment registers, former names.
- **Bulk lookups**: paste a list of Business IDs (check digit validated) and get the full record for each.

### Input example

```json
{
  "industryCodes": ["62"],
  "city": "Tampere",
  "companyForms": ["OY"],
  "registeredAfter": "2026-09-01",
  "status": "active",
  "maxResults": 500
}
```

| Field | What it does |
|---|---|
| `query` | Words in the current or former name, parallel or auxiliary names |
| `businessIds` | Business IDs to fetch directly (e.g. `0112038-9`) |
| `industryCodes` | TOL 2008 (NACE-based) code prefixes: `62` IT services, `41` construction, `56` restaurants |
| `city`, `postCode` | Registered office town, postcode |
| `companyForms` | OY, OYJ, KY, AY, OK, SÄÄ, AOY, KOY, SL… (several = several searches) |
| `registeredAfter`, `registeredBefore`, `businessIdGrantedAfter`, `businessIdGrantedBefore` | Dates, YYYY-MM-DD |
| `status` | Active only (default), all, not active, in liquidation, bankrupt, in re-organisation |
| `maxResults`, `maxPagesPerSearch` | Cap the run and therefore the cost |

### Output example

Real row from a run on 17 November 2026:

```json
{
  "businessId": "3645244-7",
  "name": "Parmance Oy",
  "otherNames": [],
  "previousNames": [],
  "companyForm": "OY",
  "companyFormDescription": "Limited company",
  "industryCode": "62200",
  "industryDescription": "Computer consultancy and computer facilities management activities",
  "industryDescriptionFi": "Laitteistokonsultointi ja käyttö- ja hallintapalvelut",
  "status": "active",
  "ytjStatus": "valid",
  "tradeRegisterStatus": "registered",
  "situations": [],
  "registrationDate": "2026-09-03",
  "businessIdGrantedOn": "2026-08-06",
  "address": "Hermiankatu 6-8 D",
  "postCode": "33720",
  "city": "TAMPERE",
  "municipalityCode": "837",
  "postalAddress": "Hermiankatu 1, 33720 TAMPERE",
  "website": "https://parmance.com",
  "vatRegistered": true,
  "employerRegistered": false,
  "prepaymentRegistered": true,
  "euId": "FIFPRO.3645244-7",
  "lastModified": "2026-09-15T07:34:26",
  "sourceUrl": "https://tietopalvelu.ytj.fi/yritys/3645244-7",
  "source": "Finnish Patent and Registration Office (PRH), YTJ open data, CC BY 4.0"
}
```

### Good to know

- **Sole traders are not in the open data**, nor are e-mail addresses and phone numbers (PRH does not publish them). The website is returned when the company registered one.
- The official API matches an industry code anywhere in the code (`62` also returns `86220`); the Actor keeps only codes that **start** with what you typed, so the count "matching the search" in the log can be higher than the rows delivered.
- Status filtering happens after reading: an "active only" search over a big city reads every page of that city. `maxPagesPerSearch` (200 pages = 20,000 companies) bounds it, and the log tells you when it is reached.
- PRH updates the open data once a day.

**Licence and terms**: data licensed under [Creative Commons Attribution 4.0](https://creativecommons.org/licenses/by/4.0/), as stated in the API specification at <https://avoindata.prh.fi/en/ytj/swagger-ui>. PRH's open data FAQ (<https://avoindata.prh.fi/faq.html>) asks reusers to cite the original source and not to use the PRH or YTJ logos; every row carries the source and the official YTJ link. This Actor is not affiliated with PRH.

### Pricing

**$0.002 per company** ($2 per 1,000). Set a maximum charge per run in the Apify console and the Actor stops cleanly when it is reached.

# Actor input Schema

## `query` (type: `string`):

Words in the current or previous company name, parallel or auxiliary names, e.g. "nokia" or "rakennus". Optional if you use another criterion.

## `businessIds` (type: `array`):

Finnish Business IDs to look up directly, e.g. 0112038-9. Other criteria are ignored when this list is filled.

## `industryCodes` (type: `array`):

Statistics Finland TOL 2008 codes (NACE-based). A prefix matches all sub-codes: 62 = IT services, 41 = construction of buildings, 56 = restaurants, 69201 = accounting.

## `city` (type: `string`):

Place of the registered office, e.g. Helsinki, Espoo, Tampere, Turku, Oulu.

## `postCode` (type: `string`):

5-digit postcode of the street or postal address, e.g. 00100.

## `companyForms` (type: `array`):

OY (limited company), OYJ (public limited), KY (limited partnership), AY (partnership), OK (co-operative), SÄÄ (foundation), AOY (housing company), KOY (property company), SL (foreign branch), TYH, AYH… Sole traders are not in the open data.

## `registeredAfter` (type: `string`):

Company registration date (YYYY-MM-DD). Use it to find new companies.

## `registeredBefore` (type: `string`):

Company registration date (YYYY-MM-DD).

## `businessIdGrantedAfter` (type: `string`):

Date the Business ID was granted (YYYY-MM-DD).

## `businessIdGrantedBefore` (type: `string`):

Date the Business ID was granted (YYYY-MM-DD).

## `status` (type: `string`):

Applied after reading, from the status, trade register status and situations published by PRH.

## `maxPagesPerSearch` (type: `integer`):

100 companies per page. Bounds very broad searches (all of Helsinki is 900+ pages).

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

The run stops once this many companies are delivered. Caps the cost.

## Actor input object example

```json
{
  "query": "nokia",
  "status": "active",
  "maxPagesPerSearch": 200,
  "maxResults": 100
}
```

# Actor output Schema

## `companies` (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 = {
    "query": "nokia"
};

// Run the Actor and wait for it to finish
const run = await client.actor("openregistry/finland-company-search").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 = { "query": "nokia" }

# Run the Actor and wait for it to finish
run = client.actor("openregistry/finland-company-search").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 '{
  "query": "nokia"
}' |
apify call openregistry/finland-company-search --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,openregistry/finland-company-search"
        }
    }
}
```

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/wHeIO0JHFHBJcbIfu/builds/BVPqQ6W5LMaLR51eu/openapi.json
