# Baltic Tenders Scraper: Estonia & Latvia Public Procurement (`steadyscrape/baltic-tenders-scraper`) Actor

Public tenders and contract awards of Estonia (riigihanked.riik.ee) and Latvia (EIS, eis.gov.lv) from their official open data: buyer, registry code, CPV, deadline, estimated value, winners and amounts, daily monitoring of new notices. Export to JSON, CSV or Excel, or via API.

- **URL**: https://apify.com/steadyscrape/baltic-tenders-scraper.md
- **Developed by:** [Steady Scrape](https://apify.com/steadyscrape) (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 $3.00 / 1,000 tender notices

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

## Baltic Tenders Scraper: Estonia & Latvia Public Procurement

**Baltic Tenders Scraper** exports public tenders and contract awards of **Estonia** and **Latvia** from each state's
official open data: Estonia's public procurement register (Riigihangete register, riigihanked.riik.ee) and Latvia's
Electronic Procurement System (EIS, eis.gov.lv, published on data.gov.lv). Every call for tenders (hanketeade,
iepirkuma izsludināšana) from ministries, cities, municipalities, hospitals, state companies and every other public
buyer, and every award and signed contract with the winning companies, their registry codes and the amounts. One schema
for both countries, filtered by keyword, CPV code, buyer, contract nature, deadline and value. Export to JSON, CSV or
Excel, or use it via API.

### What Baltic tender data you get

- **Tenders**: title (and the English title when the notice has one), description, buyer with its registry code,
  address, city and website, the parent ministry (Latvia), CPV codes, contract nature (works, supplies, services),
  procedure, legal basis, place of performance and NUTS region (Estonia), tender deadline, estimated value, lots, and
  the contact person with email and phone (Latvia).
- **Awards and contracts**: each winner with its registry code, country, city and size (Estonia), the lots it won and
  its amount, the total awarded, the award or signing date; contract changes and terminations as rows of their own.
- **Links**: the notice page in the register or in EIS, the documents page (Estonia), the official publication
  (Latvia).
- **Changes**: a change notice is its own row, marked `isChange`, with the notice it changes and why.

Both registers publish their open data overnight, so the newest day is yesterday. Lithuania is not covered.

### Use cases for Baltic public tenders

- **Bid monitoring**: a daily schedule with your CPV codes or keywords and **Only new notices** gets each new Estonian
  and Latvian tender once, ready for email, Slack or a CRM.
- **Lead generation**: winners of public contracts with their registry codes and amounts, buyers with their contacts.
- **Market research**: who buys what in the Baltics, how much, from whom, by CPV, buyer and region.
- **Competitor tracking**: which contracts a company won, by its registry code.

### How to scrape Estonian and Latvian tenders

1. Pick the **countries** (both by default) and the **notice kinds**: tenders, awards, or both.
2. Pick the days: **Published in the last days** (7 by default, 1 = yesterday only), or a range up to 31 days.
3. Narrow it with **keywords** (Estonian, Latvian or English; accents do not matter, so `buvdarbi` finds
   `būvdarbi`), **CPV codes** (`45` for construction, `72` for IT), **buyers** (a name or a registry code),
   **contract nature**, **only tenders still open**, a **minimum value** or **only awards that name a winner**.
4. Run it, and download the rows as JSON, CSV or Excel, or read them through the API.

Input example:

```json
{
    "countries": ["estonia", "latvia"],
    "noticeKinds": ["tender"],
    "publishedInLastDays": 7,
    "cpvCodes": ["45"],
    "onlyOpen": true,
    "onlyNewNotices": true,
    "maxResults": 500
}
```

### Baltic tender output example

An Estonian tender (shortened):

```json
{
    "rowType": "notice",
    "country": "EE",
    "countryName": "Estonia",
    "noticeId": "3b1f7f40-f102-40db-ae57-eb68ee16c371",
    "noticeKind": "tender",
    "noticeType": "cn-standard",
    "referenceNumber": "317978",
    "title": "Põlevkiviõli veoteenused",
    "contractNature": "services",
    "procedureType": "oth-single",
    "cpvCodes": ["60181000"],
    "buyerName": "Enefit Industry OÜ",
    "buyerRegistrationId": "10579981",
    "buyerCity": "Narva-Jõesuu linn",
    "placeNuts": ["EE00A"],
    "publishedDate": "2026-11-17",
    "submissionDeadline": "2026-11-25T09:00:00.000Z",
    "estimatedValue": 18000,
    "currency": "EUR",
    "noticeUrl": "https://riigihanked.riik.ee/rhr-web/#/procurement-ref/317978",
    "documentsUrl": "https://riigihanked.riik.ee/rhr-web/#/procurement/11081224/documents?group=B",
    "unreadFields": [],
    "license": "CC BY-SA 3.0 EE (Creative Commons Attribution-ShareAlike 3.0 Estonia), as the register publishes its open data",
    "attribution": "Riigihangete register, Rahandusministeerium (riigihanked.riik.ee)"
}
```

A Latvian contract (shortened):

```json
{
    "rowType": "notice",
    "country": "LV",
    "noticeId": "185046-2026-11-17-contract",
    "noticeKind": "award",
    "noticeType": "contract",
    "title": "Interaktīvā displeja piegāde Viesītes vidusskolai",
    "buyerName": "Jēkabpils novada pašvaldība",
    "buyerRegistrationId": "90000024205",
    "cpvCodes": ["30231300"],
    "contractNature": "supplies",
    "winners": [{ "name": "\"ProVision Baltic\" SIA", "registrationId": "40103888490", "country": "LVA", "amount": 1098 }],
    "awardedValue": 1098,
    "currency": "EUR",
    "awardDate": "2026-11-17",
    "noticeUrl": "https://www.eis.gov.lv/EKEIS/Supplier/Procurement/185046",
    "license": "CC0 1.0 (Creative Commons Zero), as data.gov.lv publishes the EIS datasets"
}
```

### Fields

| field | what it is |
|---|---|
| `rowType` | `notice`, or `status` for a free row that says why a search found nothing or a source stopped |
| `country`, `countryName` | `EE` Estonia or `LV` Latvia |
| `noticeId` | Estonia: the eForms notice id. Latvia: the EIS procurement id for a tender, the id with the day and document type for a contract |
| `noticeKind` | `tender` or `award` (the event it is charged as) |
| `noticeType` | Estonia: the eForms notice type (`cn-standard`, `can-standard`, `can-modif`…). Latvia: `contract`, `contract-change`, `contract-termination` for awards |
| `isChange`, `changesNoticeId`, `changeText` | a change of an earlier notice or contract, the notice it changes, the reason given |
| `procurementId`, `referenceNumber` | the procurement the notice belongs to and the buyer's or register's reference number |
| `status` | Latvia: the procurement's current status as EIS writes it. On a status row: why it is there (see below) |
| `title`, `titleEnglish`, `description` | as the notice writes them (Latvia's datasets carry no description) |
| `contractNature`, `procedureType`, `legalBasis`, `cpvCodes` | what is bought and how |
| `buyerName`, `buyerRegistrationId`, `parentOrganization`, `buyerAddress`, `buyerPostalCode`, `buyerCity`, `buyerNuts`, `buyerWebsite` | the buyer (address and website: Estonia; parent ministry: Latvia) |
| `contactName`, `contactEmail`, `contactPhone` | Latvia's contact person; Estonia's open data names none |
| `placeNuts`, `placeOfPerformance` | where the contract is performed |
| `publishedDate`, `issueDate`, `submissionDeadline` | publication day, the notice's own issue day (Estonia), tender deadline (UTC) |
| `estimatedValue`, `estimatedValueTo`, `currency` | estimated value, or a range |
| `lots` | each lot's id, title, CPV codes, estimated value, deadline and status |
| `awardDate`, `awardedValue`, `offersReceived`, `winners` | award or signing date, total awarded, offers received (see Limits), each winner with `name`, `registrationId`, `country`, `city`, `size`, `lotIds`, `amount` |
| `noticeUrl`, `documentsUrl`, `publicationUrl` | the notice page, the procurement documents, the official publication |
| `unreadFields` | fields the source stopped showing in a way the Actor reads (normally empty) |
| `license`, `attribution` | the licence the source publishes its data under, and whom to credit |
| `scrapedAt` | when the run read the row (UTC) |

A run that finds nothing, or a source that does not answer, ends with one free row (`rowType: "status"`) giving the
reason in `status` (`no_results`, `not_covered`, `source_unavailable`, `source_changed` or `spending_limit`), the
country it is about in `country` (`null` for the whole run), the explanation in `reason` and the search as the run
understood it in `search`.

### Pricing

US$0.003 per tender and US$0.002 per award. Status rows are free and there is no start fee. A run stops at your
maximum cost per run and says so.

### Scheduling Estonian and Latvian tender monitoring

Schedule a daily run with **Published in the last days** `7` and **Only new notices** on: each run delivers only the
notices that earlier runs of the same search did not, so you pay once per notice. Keep the window at a week, not `1`:
Estonia's register adds some notices to its file a day or more after the issue day they carry (13 of the tenders issued
on Friday 2026-10-30 arrived only after the weekend), and a one-day window would never see them. A week costs no more
to read, because Estonia's month file is read whole either way. The list of delivered notices lives in a key-value store
of your account named `steadyscrape-baltic-tenders-scraper-state`, one record per search.

### Limits

- **Countries**: Estonia and Latvia. **Lithuania is not covered.**
- **Days**: one run reads up to 31 days. Estonia's register writes eForms open data from 2023-06-01; data.gov.lv's
  searchable EIS files start in 2017 for tenders and 2018 for contracts. Days before that end with a free
  `not_covered` row.
- **Estonia** publishes one file per month and kind, and gives each notice its issue day: a notice is dated by that day,
  and never before the first day of the month whose file holds it. Some notices reach the file a day or more after
  that day, so yesterday's Estonian notices are not all in yet; a week's window with **Only new notices** catches them.
  Its open data names no contact person.
- **Offers received** (`offersReceived`) stay empty for now: Estonia prints its counts without saying what each one
  counts, and Latvia's datasets carry none.
- **Latvia**: tenders carry the buyer's contact person; contracts take their CPV code, nature and estimate from the
  tender they came from (about 19 in 20 find it). A natural person's code is never delivered.
- **Values** are compared in euros: every amount of both registers was in euros in November 2026.

### Is it legal to scrape Estonian and Latvian tenders?

Both sources are official open data published for reuse. Estonia's register publishes its open data under Creative
Commons Attribution-ShareAlike 3.0 Estonia (CC BY-SA 3.0 EE): credit the Riigihangete register and share what you build
on it under the same licence. Latvia's EIS datasets are published on data.gov.lv under CC0 1.0, free of conditions.
Every row carries its `license` and `attribution`. Personal identity codes of natural persons are not delivered. The
Actor reads only the published open data files and API, and identifies itself in every request.

Baltic Tenders Scraper is an independent tool. It is not affiliated with, endorsed by or connected to Estonia's Ministry
of Finance (Rahandusministeerium) or its Riigihangete register, nor to Latvia's State Digital Development Agency (VDAA),
the Electronic Procurement System (EIS) or data.gov.lv.

# Actor input Schema

## `countries` (type: `array`):

Estonia (Riigihangete register, riigihanked.riik.ee) and Latvia (Elektronisko iepirkumu sistēma, EIS, through data.gov.lv). Empty reads both. Lithuania is not covered.

## `noticeKinds` (type: `array`):

Tenders (<code>tender</code>: contract notices, prior information and market consultations, with their deadline) and awards (<code>award</code>: contract award notices and signed contracts with the winning companies, their registry codes and the amount; also contract changes and terminations). Empty keeps both.

## `publishedInLastDays` (type: `integer`):

Notices published in the latest N days. Both registers publish their open data overnight, so <code>1</code> is yesterday. For a daily schedule keep <code>7</code> with <b>Only new notices</b>: Estonia adds some notices a day or more after the day they carry, a week catches them, and each notice is still delivered and charged once. Ignored when <b>Published from</b> or <b>Published to</b> is set.

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

First publication day (YYYY-MM-DD). One run reads at most 31 days: a longer range is cut to its last 31 days, and the run says so. Estonia's register writes its open data from 2023-06-01 (eForms); data.gov.lv's searchable EIS files start in 2017 for tenders and 2018 for contracts.

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

Last publication day (YYYY-MM-DD), included. Empty means the newest day published (yesterday).

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

Keep notices whose title or description (of the notice or a lot) has any of these keywords, in Estonian, Latvian or English: <code>ehitus</code>, <code>remonts</code>, <code>software</code>. Case and accents do not matter (ē = e, š = s, õ = o) and a keyword matches inside longer words (remont finds remontdarbi). A keyword of several words needs all of them; words of 3 letters or fewer (IT) match whole words only.

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

Keep notices with a CPV code starting with any of these: <code>45</code> (construction work), <code>4523</code>, <code>72000000</code> (IT services). Trailing zeros and the check digit are ignored (<code>45000000-7</code> means 45).

## `buyers` (type: `array`):

Keep notices whose buyer (hankija, pasūtītājs) has any of these in its name, or this registry code: <code>Riigi Tugiteenuste Keskus</code>, <code>Latvijas valsts meži</code>, <code>40003466281</code>.

## `contractNatures` (type: `array`):

Keep notices for works (ehitustööd, būvdarbi), supplies (asjad, piegāde) or services (teenused, pakalpojumi). Empty keeps all.

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

Keep only tenders whose deadline has not passed: the tender deadline, else the deadline for requests to participate. Tenders without a deadline are left out; awards pass.

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

Keep notices whose estimated value (for awards, the awarded amount) is at least this many euros. Notices that print no value are left out when you set this.

## `onlyAwardsWithWinners` (type: `boolean`):

Leave out award notices that name no winning company (procedures closed without a contract).

## `onlyNewNotices` (type: `boolean`):

Skip notices an earlier run of this same search already delivered, so a scheduled run is charged only for new ones. The list lives in a key-value store of your account named <code>steadyscrape-baltic-tenders-scraper-state</code>, one record per search (the dates do not count, the filters do).

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

Stop after this many notices, newest published first. Each notice is charged once; status rows are free.

## Actor input object example

```json
{
  "countries": [
    "estonia",
    "latvia"
  ],
  "noticeKinds": [
    "tender"
  ],
  "publishedInLastDays": 7,
  "onlyOpen": false,
  "onlyAwardsWithWinners": false,
  "onlyNewNotices": false,
  "maxResults": 10
}
```

# Actor output Schema

## `notices` (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 = {
    "countries": [
        "estonia",
        "latvia"
    ],
    "noticeKinds": [
        "tender"
    ],
    "publishedInLastDays": 7,
    "maxResults": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("steadyscrape/baltic-tenders-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 = {
    "countries": [
        "estonia",
        "latvia",
    ],
    "noticeKinds": ["tender"],
    "publishedInLastDays": 7,
    "maxResults": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("steadyscrape/baltic-tenders-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 '{
  "countries": [
    "estonia",
    "latvia"
  ],
  "noticeKinds": [
    "tender"
  ],
  "publishedInLastDays": 7,
  "maxResults": 10
}' |
apify call steadyscrape/baltic-tenders-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,steadyscrape/baltic-tenders-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/egw6jODURml1pi4Kp/builds/DI6MmQY1SMwdJaBIf/openapi.json
