# Finland Company Registry Lookup (Y-tunnus, PRH/YTJ) (`plainrecords/finland-company-registry`) Actor

Look up Finnish companies by Business ID (Y-tunnus), VAT number or name in the official PRH register, or list new companies by city, industry and date.

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

## Pricing

from $4.00 / 1,000 companies

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

## Finland Company Registry Lookup (Y-tunnus, PRH/YTJ)

Look up Finnish companies in the official register kept by the Finnish Patent and Registration Office (PRH) and the Tax Administration, and get one clean, consistent record per company: current and previous names, legal form, main line of business in English, street and postal address, website, VAT number, registers and status (active, bankrupt, in liquidation, dissolved).

Give it a Business ID (Y-tunnus), a FI VAT number or a company name. Or list companies by city, postal code, legal form, industry and registration date, for example every limited company registered in Tampere last month.

### What you get

One row per company. Every row has `query`, `status` (`ok`, `not_found` or `error`), `source` and `retrievedAt`, plus:

| Field | Example | Meaning |
|---|---|---|
| `companyId` | `0201364-9` | Business ID (Y-tunnus) |
| `vatNumber` | `FI02013649` | VAT number derived from the Business ID |
| `euId` | | EUID in the European business register network, when PRH has one |
| `name` | `Insinööriliitto IL ry, Ingenjörsförbundet IL rf` | Current company name |
| `otherNames` / `previousNames` | `["ILRY"]` | Parallel and auxiliary names, and earlier names |
| `legalForm` / `legalFormCode` | `Non-profit association` | Legal form in English, and PRH's numeric form code |
| `isActive` / `statusText` | `true` / `active` | `active`, `bankruptcy`, `liquidation`, `restructuring` or `dissolved` |
| `registrationDate` / `endDate` | `1978-06-30` | Date the Business ID was granted (normally the founding date) and dissolution date. `latestRegistrationDate` is the latest register entry |
| `industryCode` / `industryDescription` | `94200` / `Activities of trade unions` | Main line of business, TOL 2008, in English (Finnish in `industryDescriptionFi`) |
| `address` | `{ "street": "Ratavartijankatu 2", "postalCode": "00520", "city": "HELSINKI", ... }` | Street (visiting) address |
| `postalAddress` | `{ "street": "...", "postOfficeBox": null, ... }` | Postal address |
| `website` | `www.ilry.fi` | Website registered with PRH |
| `registers` | `[{ "register": "1", "entry": "Registered", "since": "..." }]` | Current register entries |
| `registryUrl` | link | The company's public page in the YTJ service |
| `license` | text | Licence and attribution for the data |

The same field names are used by our other company registry Actors, so results from several countries can go into one table.

### Use cases

- **Supplier and customer checks (KYB):** confirm that a Finnish company exists and is not bankrupt or in liquidation, and get its official name, address and VAT number.
- **New company leads:** list companies newly registered in a city or industry every week, for B2B sales, accounting firms, banks and insurers.
- **CRM enrichment:** turn Business IDs or names into legal form, industry, address and website.
- **Invoicing:** get the right VAT number and registered address for Finnish customers.
- **AI agents:** a small, predictable tool for "who is this Finnish company?" questions, callable over the Apify API or MCP.

### How to use

1. Paste Business IDs, VAT numbers or company names into **Queries**, one per line. To list companies by filters only, enter `*`.
2. Optionally set **City**, **Postal code**, **Company form**, **Industry** and the **Registered from/to** dates. Filters apply to name and `*` searches.
3. Set **Max companies per search** and **Max results** to cap the cost, then click **Start**. Results appear in the **Output** tab and can be exported as JSON, CSV or Excel.

#### Input example

```json
{
    "queries": ["*"],
    "location": "Tampere",
    "companyForm": "OY",
    "registeredFrom": "2026-10-01",
    "registeredTo": "2026-10-31",
    "maxResultsPerQuery": 500,
    "maxResults": 500
}
```

#### Output example

```json
{
    "query": "*",
    "status": "ok",
    "country": "FI",
    "companyId": "0201364-9",
    "companyIdType": "Business ID (Y-tunnus)",
    "vatNumber": "FI02013649",
    "euId": null,
    "name": "Insinööriliitto IL ry, Ingenjörsförbundet IL rf",
    "otherNames": ["ILRY"],
    "previousNames": ["Uusi Insinööriliitto UIL ry, Nya Ingenjörsförbundet UIL rf"],
    "legalForm": "Non-profit association",
    "isActive": true,
    "statusText": "active",
    "registrationDate": "1978-06-30",
    "latestRegistrationDate": "2026-10-19",
    "industryCode": "94200",
    "industryCodeSystem": "TOL 2008",
    "industryDescription": "Activities of trade unions",
    "industryDescriptionFi": "Ammattiyhdistysten toiminta",
    "address": { "street": "Ratavartijankatu 2", "postalCode": "00520", "city": "HELSINKI", "municipalityCode": "091", "countryCode": "FI" },
    "website": "www.ilry.fi",
    "registryUrl": "https://tietopalvelu.ytj.fi/yritys/0201364-9",
    "lastUpdated": "2026-10-26T23:07:57",
    "source": "avoindata.prh.fi",
    "retrievedAt": "2026-11-14T17:27:56.202Z"
}
```

### Pricing

You pay per company returned with status `ok`. Rows with `not_found` or `error` are free. The price per 1,000 companies is shown on the **Pricing** tab and is lower on higher Apify plans. Use **Max results** to set a hard cap.

### Use from AI agents and the API

This Actor runs with limited permissions, so AI agents and MCP clients can call it directly. Call it with the Apify API or the Apify MCP server using the input above. A lookup by Business ID usually finishes in a few seconds.

### Data source and limits

- Source: PRH's open data service for the Finnish Business Information System (YTJ). Public data, no login. Licensed CC BY 4.0; keep the attribution in the `license` field when you republish.
- **No personal data.** The source does not publish private traders (sole proprietors), e-mail addresses or phone numbers, and this Actor returns no people.
- Municipalities, wellbeing services counties and tax partnerships are not in the source.
- Requests are paced to be gentle on the public service, so very large filter searches take a little longer.

### Support

Open an issue on the **Issues** tab. We answer within 24 hours and post what went wrong and when it is fixed.

# Actor input Schema

## `queries` (type: `array`):

One per line. A Business ID (Y-tunnus, e.g. 0112038-9) or FI VAT number returns that company. Other text is searched as a company name, including previous and auxiliary names. Use \* to list companies by the filters below only.

## `maxResultsPerQuery` (type: `integer`):

How many companies to return for each name or filter search. Business IDs always return one company.

## `onlyActive` (type: `boolean`):

Skip dissolved companies and companies in bankruptcy or liquidation.

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

Optional filter for name and \* searches, for example Helsinki.

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

Optional filter, for example 00100.

## `companyForm` (type: `string`):

Optional filter on legal form.

## `industryCode` (type: `string`):

Optional filter on main line of business, as a TOL 2008 code such as 62010, or a word to search.

## `registeredFrom` (type: `string`):

Optional. Only companies whose Business ID was granted on or after this date (YYYY-MM-DD), i.e. new companies.

## `registeredTo` (type: `string`):

Optional. Only companies whose Business ID was granted on or before this date (YYYY-MM-DD).

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

Stop after this many companies in total. Keeps the cost predictable.

## Actor input object example

```json
{
  "queries": [
    "0112038-9",
    "Marimekko"
  ],
  "maxResultsPerQuery": 5,
  "onlyActive": false,
  "maxResults": 20
}
```

# Actor output Schema

## `overview` (type: `string`):

All result rows in the overview table view.

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

Every field of every row, for the API and AI agents.

# 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 = {
    "queries": [
        "0112038-9",
        "Marimekko"
    ],
    "maxResultsPerQuery": 5,
    "maxResults": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("plainrecords/finland-company-registry").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 = {
    "queries": [
        "0112038-9",
        "Marimekko",
    ],
    "maxResultsPerQuery": 5,
    "maxResults": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("plainrecords/finland-company-registry").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 '{
  "queries": [
    "0112038-9",
    "Marimekko"
  ],
  "maxResultsPerQuery": 5,
  "maxResults": 20
}' |
apify call plainrecords/finland-company-registry --silent --output-dataset

```

## MCP server setup

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

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/bGveX0ro5ogSH231c/builds/KxigOwPMltaahxfRO/openapi.json
