# Hilma Finland Scraper — Public Procurement Tenders (`studio-amba/hankintailmoitukset-scraper`) Actor

Search and extract Finnish public procurement notices from hankintailmoitukset.fi (Hilma). Filter by keyword, notice type, category, region, or value. Returns buyer info, deadlines, CPV codes, and award winners. No API key, no login required.

- **URL**: https://apify.com/studio-amba/hankintailmoitukset-scraper.md
- **Developed by:** [Studio Amba](https://apify.com/studio-amba) (community)
- **Categories:** Business, Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 result scrapeds

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?

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

## Finland Procurement Scraper — Hilma Tender Notices

Search and extract Finnish public procurement notices from hankintailmoitukset.fi (Hilma), Finland's official government tender portal operated by Hansel Oy. Filter by keyword, notice type, procurement category, region, or estimated value. Returns notice title, buyer organisation, deadline, estimated value, CPV codes, NUTS region, and award winners. No API key, no cookies, no login required.

### How to scrape Hankintailmoitukset.fi data

This actor reads notice data directly from Hilma's own public search API — the same data source that powers the site's search page, requested as structured JSON rather than scraped from rendered HTML. Every Finnish public body (municipalities, government agencies, hospital districts, state-owned companies) is required to publish procurement notices above the relevant threshold here, making it the single most complete source for Finnish public-sector contract opportunities.

Enter your search keywords, pick optional filters, and run. Because Hilma's search API returns full notice detail — title, description, buyer, CPV codes, value, dates, and (for awarded contracts) the winning suppliers — in the same response used to list results, there's no separate detail-page fetch per notice. That makes runs faster and less prone to breaking than portals that require opening each result individually.

#### Who benefits from this data?

- **Government contractors** — Monitor new procurement opportunities daily across Finnish municipalities, government agencies, and state-owned companies. Never miss a relevant tender in your industry.
- **Market researchers** — Analyze Finnish public spending patterns, procurement volumes, and contract award trends across sectors and regions.
- **B2B sales teams** — Identify which Finnish public bodies are buying what you sell. Build targeted prospect lists across the Finnish public procurement market.
- **Consultancies and advisory firms** — Track procurement activity by category, region, or buyer to advise clients on Finnish market entry and bidding strategy.
- **Compliance and legal teams** — Monitor competitor contract awards via the `winnerOrganisations` field.
- **EU/EEA market intelligence** — Larger Finnish tenders above EU thresholds are eForms-standard notices, cross-referenced with TED; this actor flags `isEuProcurement` on every record.

#### Search by keyword

Enter any keyword to find relevant notices. The search matches against the notice title, description, and organisation name (Finnish, Swedish, and English fields). Examples: "rakentaminen" (construction), "ohjelmisto" (software), "terveyspalvelut" (health services), "siivous" (cleaning), "IT-palvelut" (IT services).

#### Filter by notice type

- **Contract Notices** — open calls for tenders, bids currently being accepted
- **Contract Award Notices** — completed procurements, includes `winnerOrganisations` — competitor intelligence
- **Prior Information Notices** — early market-sounding notices before a formal tender opens
- **Procurement Plans**, **Contract Modifications**, **National Notices** — additional notice categories

#### Filter by procurement type and region

- **Procurement type**: Services, Supplies, or Works
- **Region**: Finnish NUTS region code prefix, e.g. `FI1B` (Helsinki-Uusimaa), `FI1C` (Southwest Finland), `FI19` (Western Finland), `FI1D` (Northern & Eastern Finland)

#### Filter by date and value

Use `publishedAfter`/`publishedBefore` to monitor new publications within a window, and `estimatedValueMin`/`estimatedValueMax` to target contracts of a certain size. Set `openOnly` to `true` to exclude cancelled notices and notices whose submission deadline has already passed.

### Input parameters

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `searchQuery` | String | `rakentaminen` | Keyword matched against title, description, and organisation name |
| `mainType` | Enum | `all` | `all`, `ContractNotices`, `ContractAwardNotices`, `PriorInformationNotices`, `ProcurementPlan`, `Modification`, `NationalNotices` |
| `procurementTypeCode` | Enum | `all` | `all`, `services`, `supplies`, `works` |
| `region` | String | — | Finnish NUTS region code prefix (e.g. `FI1B`) |
| `openOnly` | Boolean | `false` | Only notices not cancelled, with a future submission deadline |
| `publishedAfter` / `publishedBefore` | String | — | Publication date range, YYYY-MM-DD |
| `estimatedValueMin` / `estimatedValueMax` | Integer | — | Estimated contract value range, EUR |
| `maxResults` | Integer | `50` | Maximum number of notices to return (1–5,000) |
| `proxyConfiguration` | Object | Apify proxy | Apify proxy settings |

### What data does this scraper extract?

| Field | Type | Description |
|-------|------|--------------|
| `itemTitle` | String | Notice title |
| `referenceNumber` | String | Hilma notice ID (e.g. `EF-55935`) |
| `organization` | String | Buyer organisation name |
| `status` | String | Open, Closed, Awarded, Cancelled, Prior information, Planned, Modified |
| `publicationDate` | String | Date the notice was published |
| `deadline` | String | Bid submission deadline (empty for award notices — no deadline applies) |
| `estimatedValue` | String | Estimated contract value, when disclosed |
| `currency` | String | Almost always `EUR` |
| `category` | String | Procurement type (services, supplies, works) |
| `cpvCodes` | Array | CPV classification codes with descriptions |
| `region` | String | Finnish NUTS region code(s) |
| `itemDescription` | String | Full notice description |
| `contactInfo` | Object | Buyer organisation name, address, and Finnish business ID |
| `url` | String | Direct link to the notice on hankintailmoitukset.fi |
| `scrapedAt` | String | ISO timestamp of when the data was scraped |
| `noticeType` | String | Human-readable notice type label |
| `isEuProcurement` | Boolean | Whether the notice is above the EU procurement threshold |
| `winnerOrganisations` | String | Winning supplier(s), populated on award notices |
| `procurementDocumentsUrl` | String | Link to the buyer's tendering platform for full documents |

### Example output

```json
{
    "itemTitle": "Aurinkotien, Ratakadun ja Tuulensuunkadun kadunrakennus",
    "referenceNumber": "EF-55935",
    "organization": "Naantalin kaupunki",
    "status": "Open",
    "publicationDate": "2026-08-31T10:53:24.946Z",
    "deadline": "2026-09-23T07:00:00Z",
    "estimatedValue": "1500000",
    "currency": "EUR",
    "category": "works",
    "cpvCodes": [
        { "code": "45200000", "description": "" }
    ],
    "region": "FI1C1",
    "itemDescription": "Aurinkotien, Ratakadun ja Tuulensuunkadun kadunrakennus. Tämä hankintailmoitus on ilmoitus urakan tarjouskilpailun käynnistämisestä...",
    "contactInfo": {
        "organization": "Naantalin kaupunki",
        "address": "Käsityöläiskatu 2 21100 Naantali FIN",
        "businessId": "0135457-2"
    },
    "url": "https://www.hankintailmoitukset.fi/fi/public/procedure/36490/enotice/55935/",
    "scrapedAt": "2026-08-31T14:10:00.000Z",
    "noticeType": "Contract notice",
    "isEuProcurement": false,
    "winnerOrganisations": "",
    "procurementDocumentsUrl": "https://tarjouspalvelu.fi/naantali?id=623571&tpk=30d6c4e6-434f-4e26-b6dd-1e08c9db2066"
}
```

### Tips for best results

- **Daily monitoring**: Run on a schedule to catch new notices within hours of publication. Set `publishedAfter` to yesterday's date for fresh opportunities only.
- **Notice type targeting**: Filter to `ContractNotices` for live bidding opportunities, or `ContractAwardNotices` to track who's winning contracts in your sector.
- **Competitor intelligence**: Search for a competitor's name to find contracts they've won via `winnerOrganisations`, or contracts they're likely bidding on.
- **Combine with our other Nordic/Baltic procurement actors**: Pair with DOFFIN (Norway) or TED (EU-wide) for broader Nordic and European coverage.

### How much does it cost to run?

Hilma's search API is free and requires no login. Your only cost is Apify compute time. Because full notice detail comes from a single search request (no per-item detail fetch), this actor is cheap and fast to run — one API call covers up to 1,000 notices.

| Search size | Estimated time | Estimated cost |
|-------------|---------------|----------------|
| 20 notices | ~5 seconds | ~$0.005 |
| 100 notices | ~10 seconds | ~$0.01 |
| 1,000 notices | ~30 seconds | ~$0.03 |

Actual cost depends on Apify plan; a run's final usage cost only settles after the run reports SUCCEEDED — reading the dataset mid-run will undercount it. Cost per result stays roughly flat around $0.00025–$0.0003 regardless of run size, since notices come back in bulk pages rather than one request per item.

### Use as an API

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_API_TOKEN")

run = client.actor("studio-amba/hankintailmoitukset-scraper").call(run_input={
    "searchQuery": "rakentaminen",
    "mainType": "ContractNotices",
    "maxResults": 50,
})

for notice in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(f"{notice['itemTitle']} | {notice['organization']} | Deadline: {notice['deadline']}")
```

### Limitations

- **Estimated value often absent**: Finnish national-threshold procurements (below the EU threshold) frequently don't disclose an estimated contract value on the notice — this is how buyers publish, not a gap in the actor.
- **Description text is Finnish by default**: Hilma primarily publishes in Finnish; Swedish/English titles and descriptions are used as fallback only when the Finnish field is empty.
- **CPV description**: some notices publish the CPV code without an accompanying description string, in which case only the code is returned.
- **Legacy notices**: notices published before Finland's ~2023 move to the EU eForms standard use a slightly different detail URL pattern; the actor detects and builds the correct link automatically.

### Other European procurement scrapers

Check the [Studio AMBA actor catalog](https://apify.com/studio-amba) for more European public procurement data, including eTenders (Ireland), DOFFIN (Norway), TenderNed (Netherlands), TED (EU-wide), and Belgian public procurement.

### Your feedback

Found a bug or want a feature? Open an issue on the [Issues tab](https://console.apify.com/actors/studio-amba~hankintailmoitukset-scraper/issues).

# Actor input Schema

## `searchQuery` (type: `string`):

Search notices by keyword, matched against the title, description, and organisation name (Finnish/Swedish/English). Examples: 'rakentaminen' (construction), 'ohjelmisto' (software), 'terveyspalvelut' (health services), 'siivous' (cleaning).

## `mainType` (type: `string`):

Filter by notice type. 'Contract Notices' = open calls for tenders, 'Contract Award Notices' = completed procurements with winners.

## `procurementTypeCode` (type: `string`):

Filter by procurement type.

## `region` (type: `string`):

Filter by Finnish NUTS region code prefix. Examples: 'FI1B' (Helsinki-Uusimaa), 'FI1C' (Southwest Finland), 'FI19' (Western Finland), 'FI1D' (Northern & Eastern Finland). Leave empty for all regions.

## `openOnly` (type: `boolean`):

Only return notices that are not cancelled and have a submission deadline in the future.

## `publishedAfter` (type: `string`):

Only notices published on or after this date. Format: YYYY-MM-DD.

## `publishedBefore` (type: `string`):

Only notices published on or before this date. Format: YYYY-MM-DD.

## `estimatedValueMin` (type: `integer`):

Only notices with an estimated contract value at or above this amount, in EUR.

## `estimatedValueMax` (type: `integer`):

Only notices with an estimated contract value at or below this amount, in EUR.

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

Maximum number of notices to return. All fields (including CPV codes, award winners, and full description) come from a single search request — no extra per-item requests needed.

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

Apify proxy configuration.

## Actor input object example

```json
{
  "searchQuery": "rakentaminen",
  "mainType": "all",
  "procurementTypeCode": "all",
  "openOnly": false,
  "maxResults": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (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 = {
    "searchQuery": "rakentaminen",
    "maxResults": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("studio-amba/hankintailmoitukset-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 = {
    "searchQuery": "rakentaminen",
    "maxResults": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("studio-amba/hankintailmoitukset-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 '{
  "searchQuery": "rakentaminen",
  "maxResults": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call studio-amba/hankintailmoitukset-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,studio-amba/hankintailmoitukset-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/mfr8k4dQzHFlV1Lee/builds/o9nAiUTyJqjivjXRU/openapi.json
