# Finland YTJ Company Search and Details (`scrapingmonkey/ytj-company-scraper`) Actor

Scrape YTJ company and business records. Search and collect record details. Export available fields to Excel, CSV or JSON.

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

## Pricing

from $1.00 / 1,000 results

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

Extract YTJ company and business records for company discovery, business research and directory exports. **Finland YTJ Company Search and Details** collects public information into one complete dataset table, ready to export as Excel, CSV or JSON.

Use search filters or individual public record links, set how many results you need and start the Actor. Search finds matching records; Details retrieves the available information for records you already know.

| At a glance | Details |
|---|---|
| 📥 Input | Search filters or individual public record links |
| 📋 Collection modes | Search companies; Get company details |
| 📤 Output | One row per record, or a failed row for an unsuccessful input |
| 📄 Result collection | Reads the available matching collection up to `maxResults` |
| 🔐 Website login | Not required |
| 💾 Export | One dataset view with all fields; Excel, CSV and JSON |

### What the YTJ scraper collects 📋

| Mode | What you receive |
|---|---|
| **Search companies** | Matching company and business records and the fields published in the search results. |
| **Get company details** | Available public information for each supplied record. The full output example below shows its actual fields. |

The field table and complete examples below show the information this Actor returns. Optional values depend on what the source publishes for the selected record.

Coverage for this Actor:

- Finnish Business Information System records. Searches are limited to 300 matches; enter a more specific company name when the limit is reached.

### How to scrape YTJ 🚀

1. Choose **Search companies** or **Get company details**.
2. Complete the search filters or individual public record links.
3. Set **Maximum results**. The minimum is 1.
4. Start the Actor and review the saved dataset.
5. Export the results or connect them to your workflow.

#### Search companies — input example

```json
{
  "mode": "search",
  "keywords": "nokia solutions",
  "maxResults": 900
}
```

#### Get company details — input example

```json
{
  "mode": "details",
  "recordUrls": [
    "https://tietopalvelu.ytj.fi/yritys/2058430-6"
  ],
  "maxResults": 1
}
```

`maxResults` limits all saved rows for each search or supplied record, including a failed row. It does not guarantee that the source has that many matching records. A detail lookup normally returns one record, although sources with multiple revisions or establishments can return more.

### YTJ data fields and complete output 📦

Each result stays in one row. Every returned field appears in the same dataset view, including list fields and additional published facts. Fields unavailable for a particular record remain empty.

| Field | Included data |
|---|---|
| `result_type` | Selected collection mode. |
| `input` | Submitted search settings, record link or record number. |
| `status` | Record processing status. |
| `error_code` | Failure category for an unsuccessful input. |
| `error_message` | Readable explanation for an unsuccessful input. |
| `record_id` | Stable source identifier. |
| `url` | Public source record URL. |
| `name` | Registered or published name. |
| `business_id` | Business id, when published. |
| `legal_form` | Legal form, when published. |
| `municipality` | Municipality, when published. |
| `main_activity` | Main activity, when published. |
| `additional_fields.name` | Names of additional published fields, when present. |
| `additional_fields.value` | Their corresponding values in the same order. |
| `euid` | Euid, when published. |
| `registration_date` | Registration date, when published. |
| `legal_forms.name` | Legal forms / name, when published. |
| `legal_forms.infoSource` | Legal forms / info source, when published. |
| `legal_forms.startDate` | Legal forms / start date, when published. |
| `legal_forms.endDate` | Legal forms / end date, when published. |
| `municipalities.name` | Municipalities / name, when published. |
| `municipalities.infoSource` | Municipalities / info source, when published. |
| `municipalities.startDate` | Municipalities / start date, when published. |
| `municipalities.endDate` | Municipalities / end date, when published. |
| `activities.name` | Activities / name, when published. |
| `activities.businessLineCategory` | Activities / business line category, when published. |
| `activities.infoSource` | Activities / info source, when published. |
| `activities.startDate` | Activities / start date, when published. |
| `activities.endDate` | Activities / end date, when published. |
| `street_address.domestic.startDate` | Street address / domestic / start date, when published. |
| `street_address.domestic.endDate` | Street address / domestic / end date, when published. |
| `street_address.domestic.language` | Street address / domestic / language, when published. |
| `street_address.domestic.coAddress` | Street address / domestic / co address, when published. |
| `street_address.domestic.streetName` | Street address / domestic / street name, when published. |
| `street_address.domestic.houseNumber` | Street address / domestic / house number, when published. |
| `street_address.domestic.postOfficeBox` | Street address / domestic / post office box, when published. |
| `street_address.domestic.stair` | Street address / domestic / stair, when published. |
| `street_address.domestic.apartmentNumber` | Street address / domestic / apartment number, when published. |
| `street_address.domestic.hyphenationLetter` | Street address / domestic / hyphenation letter, when published. |
| `street_address.domestic.postCode` | Street address / domestic / post code, when published. |
| `street_address.domestic.location` | Street address / domestic / location, when published. |
| `street_address.domestic.countryCode` | Street address / domestic / country code, when published. |
| `street_address.domestic.infoSource` | Street address / domestic / info source, when published. |
| `street_address.domestic.isActive` | Street address / domestic / is active, when published. |
| `street_address.domestic.formattedAddress` | Street address / domestic / formatted address, when published. |
| `street_address.foreign` | Street address / foreign, when published. |
| `street_address.nonStandardDomestic` | Street address / non standard domestic, when published. |
| `postal_address.domestic.startDate` | Postal address / domestic / start date, when published. |
| `postal_address.domestic.endDate` | Postal address / domestic / end date, when published. |
| `postal_address.domestic.language` | Postal address / domestic / language, when published. |
| `postal_address.domestic.coAddress` | Postal address / domestic / co address, when published. |
| `postal_address.domestic.streetName` | Postal address / domestic / street name, when published. |
| `postal_address.domestic.houseNumber` | Postal address / domestic / house number, when published. |
| `postal_address.domestic.postOfficeBox` | Postal address / domestic / post office box, when published. |
| `postal_address.domestic.stair` | Postal address / domestic / stair, when published. |
| `postal_address.domestic.apartmentNumber` | Postal address / domestic / apartment number, when published. |
| `postal_address.domestic.hyphenationLetter` | Postal address / domestic / hyphenation letter, when published. |
| `postal_address.domestic.postCode` | Postal address / domestic / post code, when published. |
| `postal_address.domestic.location` | Postal address / domestic / location, when published. |
| `postal_address.domestic.countryCode` | Postal address / domestic / country code, when published. |
| `postal_address.domestic.infoSource` | Postal address / domestic / info source, when published. |
| `postal_address.domestic.isActive` | Postal address / domestic / is active, when published. |
| `postal_address.domestic.formattedAddress` | Postal address / domestic / formatted address, when published. |
| `postal_address.foreign` | Postal address / foreign, when published. |
| `postal_address.nonStandardDomestic` | Postal address / non standard domestic, when published. |
| `trade_names.tradeNames.name` | Trade names / trade names / name, when published. |
| `trade_names.tradeNames.startDate` | Trade names / trade names / start date, when published. |
| `trade_names.tradeNames.endDate` | Trade names / trade names / end date, when published. |
| `trade_names.tradeNames.infoSource` | Trade names / trade names / info source, when published. |
| `trade_names.previousTradeNames.name` | Trade names / previous trade names / name, when published. |
| `trade_names.previousTradeNames.startDate` | Trade names / previous trade names / start date, when published. |
| `trade_names.previousTradeNames.endDate` | Trade names / previous trade names / end date, when published. |
| `trade_names.previousTradeNames.infoSource` | Trade names / previous trade names / info source, when published. |
| `trade_names.parallelTradeNames` | Trade names / parallel trade names, when published. |
| `trade_names.previousParallelTradeNames` | Trade names / previous parallel trade names, when published. |
| `trade_names.auxiliaryTradeNames.name` | Trade names / auxiliary trade names / name, when published. |
| `trade_names.auxiliaryTradeNames.startDate` | Trade names / auxiliary trade names / start date, when published. |
| `trade_names.auxiliaryTradeNames.endDate` | Trade names / auxiliary trade names / end date, when published. |
| `trade_names.auxiliaryTradeNames.infoSource` | Trade names / auxiliary trade names / info source, when published. |
| `trade_names.auxiliaryTradeNameTranslations` | Trade names / auxiliary trade name translations, when published. |
| `registrations.registry` | Registrations / registry, when published. |
| `registrations.registryStatus` | Registrations / registry status, when published. |
| `registrations.authority` | Registrations / authority, when published. |
| `registrations.registrationDate` | Registrations / registration date, when published. |
| `registrations.startDate` | Registrations / start date, when published. |
| `registrations.endDate` | Registrations / end date, when published. |
| `registration_history.registry` | Registration history / registry, when published. |
| `registration_history.registryStatus` | Registration history / registry status, when published. |
| `registration_history.authority` | Registration history / authority, when published. |
| `registration_history.registrationDate` | Registration history / registration date, when published. |
| `registration_history.startDate` | Registration history / start date, when published. |
| `registration_history.endDate` | Registration history / end date, when published. |
| `business_id_history.type` | Business id history / type, when published. |
| `business_id_history.oldBusinessId` | Business id history / old business id, when published. |
| `business_id_history.newBusinessId` | Business id history / new business id, when published. |
| `business_id_history.date` | Business id history / date, when published. |
| `business_id_history.event` | Business id history / event, when published. |
| `prepayment_registered` | Prepayment registered, when published. |
| `record_data.name` | Record data / name, when published. |
| `record_data.value` | Record data / value, when published. |

The complete result below is included for every mode. Text and lists are not shortened. These are examples from validation runs; the source can change.

#### Search companies — complete JSON result

```json
{
  "result_type": "search",
  "input": "{\"keywords\": \"nokia solutions\"}",
  "status": "success",
  "record_id": "2058430-6",
  "url": "https://tietopalvelu.ytj.fi/yritys/2058430-6",
  "name": "Nokia Solutions and Networks Oy",
  "business_id": "2058430-6",
  "legal_form": "Limited company",
  "municipality": "HELSINKI",
  "main_activity": "Manufacture of computers and peripheral equipment",
  "additional_fields.name": [],
  "additional_fields.value": []
}
```

#### Get company details — complete JSON result

```json
{
  "result_type": "details",
  "input": "https://tietopalvelu.ytj.fi/yritys/2058430-6",
  "status": "success",
  "record_id": "2058430-6",
  "url": "https://tietopalvelu.ytj.fi/yritys/2058430-6",
  "name": "Nokia Solutions and Networks Oy",
  "business_id": "2058430-6",
  "euid": "FIFPRO.2058430-6",
  "registration_date": "2006-09-07T00:00:00",
  "legal_forms.name": [
    "Limited company"
  ],
  "legal_forms.infoSource": [
    "Finnish Patent and Registration Office"
  ],
  "legal_forms.startDate": [
    "2006-09-13T00:00:00"
  ],
  "legal_forms.endDate": [
    null
  ],
  "municipalities.name": [
    "HELSINKI"
  ],
  "municipalities.infoSource": [
    "Finnish Patent and Registration Office"
  ],
  "municipalities.startDate": [
    "2006-09-13T00:00:00"
  ],
  "municipalities.endDate": [
    null
  ],
  "activities.name": [
    "Manufacture of computers and peripheral equipment"
  ],
  "activities.businessLineCategory": [
    "26200"
  ],
  "activities.infoSource": [
    "Tax Administration"
  ],
  "activities.startDate": [
    "2026-01-01T00:00:00"
  ],
  "activities.endDate": [
    null
  ],
  "street_address.domestic.startDate": "2019-07-01T00:00:00",
  "street_address.domestic.endDate": null,
  "street_address.domestic.language": "Finnish",
  "street_address.domestic.coAddress": "",
  "street_address.domestic.streetName": "Karakaari",
  "street_address.domestic.houseNumber": "7",
  "street_address.domestic.postOfficeBox": null,
  "street_address.domestic.stair": "",
  "street_address.domestic.apartmentNumber": "",
  "street_address.domestic.hyphenationLetter": "",
  "street_address.domestic.postCode": "02610",
  "street_address.domestic.location": "ESPOO",
  "street_address.domestic.countryCode": null,
  "street_address.domestic.infoSource": "Common",
  "street_address.domestic.isActive": true,
  "street_address.domestic.formattedAddress": [
    "Karakaari 7",
    "02610 ESPOO"
  ],
  "street_address.foreign": null,
  "street_address.nonStandardDomestic": null,
  "postal_address.domestic.startDate": "2016-03-09T00:00:00",
  "postal_address.domestic.endDate": null,
  "postal_address.domestic.language": "Finnish",
  "postal_address.domestic.coAddress": "",
  "postal_address.domestic.streetName": "",
  "postal_address.domestic.houseNumber": "",
  "postal_address.domestic.postOfficeBox": "226",
  "postal_address.domestic.stair": "",
  "postal_address.domestic.apartmentNumber": "",
  "postal_address.domestic.hyphenationLetter": "",
  "postal_address.domestic.postCode": "00045",
  "postal_address.domestic.location": "NOKIA GROUP",
  "postal_address.domestic.countryCode": null,
  "postal_address.domestic.infoSource": "Common",
  "postal_address.domestic.isActive": true,
  "postal_address.domestic.formattedAddress": [
    "P.O. Box 226",
    "00045 NOKIA GROUP"
  ],
  "postal_address.foreign": null,
  "postal_address.nonStandardDomestic": null,
  "trade_names.tradeNames.name": [
    "Nokia Solutions and Networks Oy"
  ],
  "trade_names.tradeNames.startDate": [
    "2013-08-19T00:00:00"
  ],
  "trade_names.tradeNames.endDate": [
    null
  ],
  "trade_names.tradeNames.infoSource": [
    "Finnish Patent and Registration Office"
  ],
  "trade_names.previousTradeNames.name": [
    "Nokia Siemens Networks Oy"
  ],
  "trade_names.previousTradeNames.startDate": [
    "2007-04-01T00:00:00"
  ],
  "trade_names.previousTradeNames.endDate": [
    "2013-08-18T00:00:00"
  ],
  "trade_names.previousTradeNames.infoSource": [
    "Finnish Patent and Registration Office"
  ],
  "trade_names.parallelTradeNames": [],
  "trade_names.previousParallelTradeNames": [],
  "trade_names.auxiliaryTradeNames.name": [
    "NSN Finland"
  ],
  "trade_names.auxiliaryTradeNames.startDate": [
    "2007-04-01T00:00:00"
  ],
  "trade_names.auxiliaryTradeNames.endDate": [
    null
  ],
  "trade_names.auxiliaryTradeNames.infoSource": [
    "Finnish Patent and Registration Office"
  ],
  "trade_names.auxiliaryTradeNameTranslations": [],
  "registrations.registry": [
    "Trade register",
    "Tax Administration",
    "Prepayment register",
    "Value added tax-liability",
    "Value added tax-liability",
    "Employer register"
  ],
  "registrations.registryStatus": [
    "Registered",
    "Registered",
    "Registered",
    "VAT-liable for business activity",
    "VAT-obliged for the transfer of rights to use immovable property",
    "Registered"
  ],
  "registrations.authority": [
    "Finnish Patent and Registration Office",
    "Tax Administration",
    "Tax Administration",
    "Tax Administration",
    "Tax Administration",
    "Tax Administration"
  ],
  "registrations.registrationDate": [
    "2006-09-13T00:00:00",
    "2026-08-19T00:00:00",
    "2017-02-16T00:00:00",
    "2009-12-15T00:00:00",
    "2009-12-15T00:00:00",
    "2006-10-20T00:00:00"
  ],
  "registrations.startDate": [
    "2006-09-13T00:00:00",
    "2006-09-12T00:00:00",
    "2006-09-07T00:00:00",
    "2006-09-07T00:00:00",
    "2009-12-11T00:00:00",
    "2006-09-07T00:00:00"
  ],
  "registrations.endDate": [
    null,
    null,
    null,
    null,
    null,
    null
  ],
  "registration_history.registry": [
    "Trade register"
  ],
  "registration_history.registryStatus": [
    "Unregistered"
  ],
  "registration_history.authority": [
    "Finnish Patent and Registration Office"
  ],
  "registration_history.registrationDate": [
    "2006-09-11T00:00:00"
  ],
  "registration_history.startDate": [
    "2006-09-07T00:00:00"
  ],
  "registration_history.endDate": [
    "2006-09-12T00:00:00"
  ],
  "business_id_history.type": [
    "TunnusAnnettu",
    "Sulautuminen",
    "Sulautuminen"
  ],
  "business_id_history.oldBusinessId": [
    null,
    "0114117-1",
    "2421900-7"
  ],
  "business_id_history.newBusinessId": [
    null,
    "2058430-6",
    "2058430-6"
  ],
  "business_id_history.date": [
    "2006-09-07T00:00:00",
    "2018-01-01T00:17:16",
    "2023-11-01T00:01:34"
  ],
  "business_id_history.event": [
    "ID given",
    "Fusion",
    "Fusion"
  ],
  "prepayment_registered": true,
  "record_data.name": [
    "languages",
    "canCheckTaxDebt",
    "authenticationRequiredForTaxDebt"
  ],
  "record_data.value": [
    [
      {
        "name": "Finnish",
        "infoSource": "Tax Administration",
        "startDate": "2006-09-12T00:00:00",
        "endDate": null
      }
    ],
    true,
    false
  ],
  "additional_fields.name": [],
  "additional_fields.value": []
}
```

### Input settings ⚙️

| Setting | What to enter |
|---|---|
| **What to collect** (`mode`) | Choose the information you need. |
| **Maximum results per search or link** (`maxResults`) | Collect up to this many saved results for each search or record link. Minimum: 1. |
| **Company name** (`keywords`) | Enter a name or words supported by the public register. |
| **Company links** (`recordUrls`) | Paste one individual public record link per line. Use this field in Details mode. |

### YTJ scraping use cases 🎯

#### Build a company research list

Use the supported name, category or location fields to collect relevant companies. Export the available business information with source references.

#### Collect company profiles

Retrieve known public records and review the published company facts, business descriptions and contact information that this source provides.

#### Keep a business dataset current

Schedule repeated exports and compare stable company IDs. Missing fields remain empty instead of being guessed.

### Pricing and saved-result behavior 💰

See the Actor’s **Pricing** tab for the current rate. Under dataset-item pricing:

- Each saved record is one result. Lists and additional details attached to it do not create extra rows.
- A saved `failed` row is also one billable dataset item. This includes invalid inputs, unavailable records, empty searches and exhausted retries.
- At most one failed row is saved per input. Retry attempts do not create additional dataset rows.
- `maxResults` caps all saved rows for the input. Duplicate copies of the same input are processed once.

### YTJ scraper API and integrations 🔌

Replace `$ACTOR_ID` with the ID shown in the Actor’s API tab and `$APIFY_TOKEN` with your Apify token.

```bash
curl -X POST "https://api.apify.com/v2/acts/$ACTOR_ID/runs?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"mode":"search","keywords":"nokia solutions","maxResults":900}'
```

Use Apify schedules for recurring collection, webhooks for completion notifications, and integrations for Google Sheets, Make, Zapier, cloud storage or your own application.

### Reliability and public-data limits ⚠️

Temporary request failures are retried up to five total attempts. Invalid record inputs save a failed row without a website request. Confirmed missing records are not retried unnecessarily. If a later request fails, records already saved remain in the dataset. Normal pagination completion does not add a failed row. Collection stops after two consecutive pages return no new records. Configuration, data-saving or request-scheduling failures stop the run.

YTJ controls the available records and fields. Search records can contain less information than a full public card. The Actor preserves published values and does not fill missing facts with estimates.

### Frequently asked questions ❓

#### Do I need a YTJ account?

No. This Actor collects the supported public information without your website login.

#### Which search filters can I use?

The input form supports company name. Only the displayed filters are supported.

#### How many records can I collect?

Set `maxResults` to the maximum saved rows you want for each input. The minimum is 1. Collection can finish earlier when the source runs out of results or stops returning new records.

#### Why are some fields empty?

The source may not publish a value for that record or mode. Optional information remains empty.

#### Can I export all the fields?

Yes. All returned fields are included in one dataset view. Nested lists remain attached to their parent record.

### Support 🛟

For a reproducible issue, share the run ID, selected mode and a safe public example through the Actor’s support channel. Keep tokens, passwords and proxy credentials private.

# Actor input Schema

## `mode` (type: `string`):

Choose the information you need.

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

Collect up to this many saved results for each search or record link. Minimum: 1.

## `keywords` (type: `string`):

Enter a name or words supported by the public register.

## `recordUrls` (type: `array`):

Paste one individual public record link per line. Use this field in Details mode.

## Actor input object example

```json
{
  "mode": "search",
  "maxResults": 10,
  "keywords": "nokia solutions",
  "recordUrls": [
    "https://tietopalvelu.ytj.fi/yritys/2058430-6"
  ]
}
```

# Actor output Schema

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

Results and failed input outcomes, with all returned fields.

# 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 = {
    "mode": "search",
    "maxResults": 10,
    "keywords": "nokia solutions",
    "recordUrls": [
        "https://tietopalvelu.ytj.fi/yritys/2058430-6"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapingmonkey/ytj-company-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 = {
    "mode": "search",
    "maxResults": 10,
    "keywords": "nokia solutions",
    "recordUrls": ["https://tietopalvelu.ytj.fi/yritys/2058430-6"],
}

# Run the Actor and wait for it to finish
run = client.actor("scrapingmonkey/ytj-company-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 '{
  "mode": "search",
  "maxResults": 10,
  "keywords": "nokia solutions",
  "recordUrls": [
    "https://tietopalvelu.ytj.fi/yritys/2058430-6"
  ]
}' |
apify call scrapingmonkey/ytj-company-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapingmonkey/ytj-company-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/5l6CbZazuitvfHPzy/builds/Spc3KafT398e6vK5e/openapi.json
