# Finland Company Register — YTJ / PRH Lookup (`sourcerow/finland-company-register`) Actor

Look up Finnish companies by name or business ID — legal form, industry, addresses, current and former names, and register entries, from the official YTJ open data of PRH and the Tax Administration.

- **URL**: https://apify.com/sourcerow/finland-company-register.md
- **Developed by:** [SourceRow](https://apify.com/sourcerow) (community)
- **Categories:**
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$4.00 / 1,000 company resolveds

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?

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

Look up Finnish companies by name or business ID. Legal form, industry,
addresses, current and former names, and which registers they are entered in.
From the official YTJ open data, no key required.

### What it does

YTJ is the shared business information system of PRH and the Finnish Tax
Administration. It is open data, published in a shape built for Finnish systems:
every description arrives in three languages at once, names carry validity dates
rather than a current flag, addresses hide the city inside a nested multilingual
list, and statuses are bare numeric codes.

This Actor flattens that into one row per query with 31 fields, in English where
the source provides an English description.

### What you get

31 fields per row, including `business_id`, `name`, `legal_form`,
`main_business_line`, `street_city`, `registered_on`, `active_registrations`,
`situations`, `total_matches`, `name_match_score` and `matched_by`.

The table view shows 12 of them; all 31 are in the JSON, CSV and Excel
downloads.

`active_registrations` counts which registers the company is actually entered
in — trade register, VAT, prepayment, employer. A company can exist and be
registered for none of them.

### Input

| Field | Meaning |
|---|---|
| `businessIds` | Finnish business IDs, for example `0112038-9`. |
| `names` | Company names to search. |
| `queriesText` | A pasted list of either, one per line. |
| `maxCompanies` | Stop after this many. `0` removes the cap. |

```json
{
  "businessIds": ["0112038-9", "1927400-1"],
  "maxCompanies": 100
}
```

### Sample output

One complete record:

```json
{
  "query": "0112038-9",
  "matched_by": "business_id",
  "name_match_score": null,
  "business_id": "0112038-9",
  "name": "Nokia Oyj",
  "legal_form": "Public limited company",
  "main_business_line": "Activities of head offices",
  "street_city": "ESPOO",
  "registered_on": "1978-03-15",
  "active_registrations": 7,
  "situations": null,
  "issues": ""
}
```

### Pricing

| Event | Per 1,000 | Notes |
|---|---|---|
| Company resolved | $4.00 | Queries that find nothing are not charged |

There is no start fee and no per-row dataset fee.

### What it does not do

**No financials and no officers.** YTJ covers company identity, registrations
and addresses. Annual accounts and board members are not in the open data.

**Fragments of names do not work well.** `KONE Oyj` finds KONE. `Kone` matches
eleven thousand machine shops, because the word is common in Finnish.
`total_matches` reports how many, and the row returns the best one.

**Descriptions are English only where the source has English.** YTJ publishes
Finnish, Swedish and English versions of most descriptions; English is used when
present and the Finnish original when it is not.

**`situations` is usually empty.** It carries bankruptcy and restructuring
entries, which most companies do not have.

### Notes

Send business IDs where available. They are exact and remove the ambiguity
entirely.

Sort by `total_matches` descending to find the queries that were too vague to
trust.

`no_current_name` means every name on file has an end date, which usually
indicates a dissolved company.

### Support

Open the **Issues** tab with the exact query and the `matched_by`,
`total_matches` and `issues` values from the row.

### Licence and attribution

Company data from the Finnish Business Information System (YTJ), published as
open data by PRH (Finnish Patent and Registration Office) and the Finnish Tax
Administration under Creative Commons Attribution 4.0. Neither authority
endorses this Actor.

# Actor input Schema

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

Finnish business IDs, e.g. 0112038-9. A missing hyphen is put back for you.

## `names` (type: `array`):

Company names to search. The best match is returned, with a score.

## `queriesText` (type: `string`):

Paste a list here instead. Mixed is fine: each line is sorted out automatically.

## `maxCompanies` (type: `integer`):

Stop after this many. **0 removes the cap.**

## Actor input object example

```json
{
  "businessIds": [
    "0112038-9",
    "1927400-1"
  ],
  "names": [],
  "maxCompanies": 100
}
```

# Actor output Schema

## `companies` (type: `string`):

No description

## `summary` (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 = {
    "businessIds": [
        "0112038-9",
        "1927400-1"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("sourcerow/finland-company-register").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 = { "businessIds": [
        "0112038-9",
        "1927400-1",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("sourcerow/finland-company-register").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 '{
  "businessIds": [
    "0112038-9",
    "1927400-1"
  ]
}' |
apify call sourcerow/finland-company-register --silent --output-dataset

```

## MCP server setup

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

```

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/coXZPxDVmiSyg7Bme/builds/9f0bg12Tf9myHyp9d/openapi.json
