# Estonia Tenders Scraper: Riigihanked Procurement to Excel (`tenderfeed/estonia-riigihanked-tenders`) Actor

Export Estonian public tenders (riigihanked) and contract awards from the official Riigihangete register open data: EU-wide and national procedures (lihthange, väikehange). Filter by keyword, CPV, region, value, deadline. GDPR-safe. Excel, CSV, JSON.

- **URL**: https://apify.com/tenderfeed/estonia-riigihanked-tenders.md
- **Developed by:** [TenderFeed](https://apify.com/tenderfeed) (community)
- **Categories:** Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 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.

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

## Estonia Tenders Scraper: Riigihanked Procurement to Excel

**Export Estonian public tenders (riigihanked) and contract awards to Excel, CSV or JSON, with no API key.** The **Riigihangete register** ([riigihanked.riik.ee](https://riigihanked.riik.ee)) is Estonia's official e-procurement register, run by the State Support Services Centre (Riigi Tugiteenuste Keskus) for the Ministry of Finance. Every notice is published there in the EU **eForms** standard, and the register releases them as official open data, refreshed daily. This Actor downloads that open data and returns one clean row per notice: buyer, title, description, CPV codes, region, procedure, submission deadline, estimated value, and for award notices the winning suppliers, awarded value and number of tenders received.

It covers **EU-wide and national below-threshold procedures** (lihthange, väikehange, social and special services, purchases by grant recipients) — many of these never reach TED. Measured 1–18 November 2026: **564 calls for tenders and 651 contract award notices** (about 40–60 calls and 40–90 awards per working day).

Built by **TenderFeed** ([apify.com/tenderfeed](https://apify.com/tenderfeed)). No login, no browser, no HTML scraping.

### Source and licence

- Data: **Riigihangete register open data** (`riigihanked.riik.ee/rhr/api/public/v1/opendata`), listed on the Estonian open data portal [andmed.eesti.ee](https://andmed.eesti.ee) with daily updates.
- Licence: **[Creative Commons Attribution-ShareAlike 3.0](https://creativecommons.org/licenses/by-sa/3.0/)** — commercial reuse allowed with attribution and share-alike. Every row carries a ready-made `attribution` string; please keep it when you republish.
- This Actor is not affiliated with or endorsed by Riigi Tugiteenuste Keskus, the Ministry of Finance or the Government of Estonia. Data is provided "as is" by the publisher.
- The open data contains organization-level details only (buyer name, registry code, address, website); contact persons are left empty by the register.

### What can you do with it?

- **Daily tender alerts**: schedule the Actor with `onlyNew` and get only new Estonian calls for tenders that match your keywords, CPV codes or region.
- **Competitor intelligence**: who wins Estonian public contracts, at what value and against how many tenders.
- **Find your buyers**: which ministries, cities (Tallinna, Tartu), RMK, Riigi Kinnisvara, hospitals and schools buy what you sell.
- **Small contracts TED does not show**: lihthange and väikehange procedures below the EU thresholds.
- **AI agents**: use it as an **MCP tool** (Apify MCP server) and ask *"Which open Estonian IT tenders close in the next two weeks?"*

### Input example

```json
{
  "keywords": ["tarkvara", "IT", "infosüsteem"],
  "stages": ["tender"],
  "cpvCodes": ["72", "48"],
  "regions": ["Tallinn"],
  "publishedFrom": "30 days",
  "onlyOpen": true,
  "maxResults": 20
}
```

- `keywords`: match title, description, lot titles and the English translation when the buyer adds one (word-start, case-insensitive); `keywordMode` `any` / `all`.
- `stages`: `tender` (calls for tenders, default) and/or `award` (contract award notices with winners).
- `contractTypes`: `works`, `services`, `goods`. `cpvCodes`: prefixes, e.g. `"72"` = IT services, `"45"` = construction.
- `regions`: NUTS codes `EE001` Põhja-Eesti (Tallinn, Harjumaa), `EE004` Lääne-Eesti, `EE008` Lõuna-Eesti (Tartu), `EE009` Kesk-Eesti, `EE00A` Kirde-Eesti (Ida-Virumaa), or those names.
- `buyer`: buyer name contains. `onlyOpen`: keep only calls whose submission deadline is still in the future.
- `publishedFrom` / `publishedTo`: `YYYY-MM-DD` or relative like `"7 days"` (default: last 2 days, up to 400 days per run).
- `minValue` / `maxValue` in EUR (estimated value, or awarded value for awards); `includeUnknownValue`.
- `onlyNew` + `monitoringId`: monitoring mode, returns (and charges) only notices you have not received yet.
- `includeBuyerContacts` (off by default, GDPR data minimisation).
- **Default run (`{}`)**: up to 50 calls for tenders from the last 2 days, newest first (~10 s).

### Output

Each row follows the TenderFeed schema (`source`, `sourceId`, `title`, `description`, `buyerName`, `buyerCountry`, `buyerCity`, `cpvCodes`, `publishedAt`, `deadlineAt`, `estimatedValue`, `currency`, `awardedValue`, `awardees`, `url`, `documentsUrl`, `submissionUrl`...) plus Estonian fields: `stage`, `referenceNumber` (viitenumber), `procurementId`, `titleEnglish`, `descriptionEnglish`, `buyerRegistryCode`, `buyerNuts`, `buyerRegion`, `buyerWebsite`, `awardDate`, `numberOfLots`, `numberOfTenders`, `noticeLanguage`, `attribution`.

```json
{
  "source": "ee-riigihanked",
  "stage": "tender",
  "title": "Ventilatsioonimaterjalid",
  "buyerName": "sihtasutus Tartu Ülikooli Kliinikum",
  "buyerRegistryCode": "90001478",
  "procedureType": "Lihthange (other single-stage procedure)",
  "contractType": "goods",
  "cpvCodes": ["42520000"],
  "placeOfPerformance": "Tartu",
  "publishedAt": "2026-11-18T12:52:09Z",
  "deadlineAt": "2026-12-04T11:00:00+02:00",
  "estimatedValue": 65000.0,
  "currency": "EUR",
  "referenceNumber": "318045",
  "url": "https://riigihanked.riik.ee/rhr-web/#/procurement/11088284/general-info"
}
```

A `RUN_SUMMARY` record in the key-value store reports results, monthly files downloaded, notices scanned and notices skipped in monitoring mode.

### Pricing

Pay per result: **$2.50 per 1,000 rows** (plus a tiny Apify actor-start fee). Use `maxResults` to cap cost.

### Other TenderFeed Actors

TED EU Tenders, UK Tenders, Ireland eTenders, France BOAMP, Germany, Netherlands TenderNed, Spain PLACSP, Poland BZP, Switzerland SIMAP, SAM.gov and more: [apify.com/tenderfeed](https://apify.com/tenderfeed).

# Actor input Schema

## `keywords` (type: `array`):

Words to look for in title, description and lot titles (and the English translation when the buyer adds one). Notices are mostly in Estonian, e.g. \["tarkvara", "ehitustööd", "koristus"]. Matches word starts, so "koristus" also finds "koristusteenus".

## `keywordMode` (type: `string`):

Match ANY or ALL keywords.

## `stages` (type: `array`):

tender = calls for tenders (hanketeated), award = contract award notices with winners, awarded value and number of tenders.

## `contractTypes` (type: `array`):

Empty = all.

## `cpvCodes` (type: `array`):

CPV codes or prefixes; 72000000 or 72 = all IT services, 45 = construction works, 90911 = cleaning.

## `regions` (type: `array`):

NUTS prefix of the buyer or place of performance: EE001 Põhja-Eesti (Harjumaa, Tallinn), EE004 Lääne-Eesti, EE008 Lõuna-Eesti (Tartu), EE009 Kesk-Eesti, EE00A Kirde-Eesti (Ida-Virumaa). Names like "Tallinn", "Tartu" or "Ida-Viru" are accepted.

## `buyer` (type: `string`):

e.g. "Tallinna", "Riigi Kinnisvara" or "Ülikool".

## `publishedFrom` (type: `string`):

YYYY-MM-DD or relative ("7 days"). Default: last 2 days.

## `publishedTo` (type: `string`):

YYYY-MM-DD. Default: today (the register refreshes its open data daily).

## `onlyOpen` (type: `boolean`):

Keep only notices whose submission deadline is still in the future.

## `minValue` (type: `integer`):

Estimated value (or awarded value for award notices) in EUR when the buyer publishes it. About half of Estonian calls for tenders publish a value.

## `maxValue` (type: `integer`):

Estimated value (or awarded value for award notices) in EUR when the buyer publishes it. About half of Estonian calls for tenders publish a value.

## `includeUnknownValue` (type: `boolean`):

Keep notices that publish no value when a value filter is set.

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

0 = no limit. Default 50. The register publishes about 40-60 calls for tenders and 40-90 award notices per working day.

## `includeBuyerContacts` (type: `boolean`):

Include named contact persons, emails and phone numbers if the open-data notice carries them (buyerContactName/Email/Phone). The register's open data currently leaves contact persons empty, so this rarely adds anything. Off by default for GDPR data minimisation: you get organization-level info (buyer name, registry code, city, region, notice and document links).

## `onlyNew` (type: `boolean`):

Remember what earlier runs delivered and return (and charge for) only notices you have not received yet. Ideal for scheduled daily alerts.

## `monitoringId` (type: `string`):

Name of the watch-list memory used by 'Only new'. Use a different ID per saved search/schedule.

## Actor input object example

```json
{
  "keywordMode": "any",
  "stages": [
    "tender"
  ],
  "onlyOpen": false,
  "includeUnknownValue": true,
  "maxResults": 20,
  "includeBuyerContacts": false,
  "onlyNew": false
}
```

# Actor output Schema

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

All normalized records from the default dataset, opened in the Overview view.

# 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 = {
    "maxResults": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("tenderfeed/estonia-riigihanked-tenders").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 = { "maxResults": 20 }

# Run the Actor and wait for it to finish
run = client.actor("tenderfeed/estonia-riigihanked-tenders").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 '{
  "maxResults": 20
}' |
apify call tenderfeed/estonia-riigihanked-tenders --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,tenderfeed/estonia-riigihanked-tenders"
        }
    }
}
```

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/6e5MGz31idFrQclQy/builds/AhVBdzIpunzfUlpNo/openapi.json
