# Greek Government Decisions Search (Diavgeia) (`jimkarageo/greek-diavgeia-search`) Actor

Search official Greek government decisions, public contract awards and tenders from Diavgeia. Returns structured data with amounts, contractors and PDF links.

- **URL**: https://apify.com/jimkarageo/greek-diavgeia-search.md
- **Developed by:** [Dimitris Karageorgis](https://apify.com/jimkarageo) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.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.

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

## Greek Government Decisions Search (Diavgeia)

Search every decision published by Greek public bodies on **Diavgeia** (Δι@ύγεια, `diavgeia.gov.gr`) — the mandatory transparency portal where every Greek state decision must be published — and get back clean, structured JSON with amounts, contractors, CPV codes and PDF links.

Built on the official Diavgeia OpenData API. No HTML scraping, no login, no API key.

***

### What you get

Search **5,400+ Greek public bodies** — ministries, municipalities, regions, hospitals, universities, utilities — across millions of published decisions, filtered by keyword, organization, decision type, date range and minimum contract value.

**Use cases**

- **Contractors & suppliers** — find public contract awards and tender notices in your sector before your competitors do.
- **Tender consultants** — monitor awards by a specific ministry or municipality.
- **Accountants & auditors** — trace payments, expense approvals and budget commitments for a client.
- **Journalists & researchers** — follow public spending by body, amount or time period.
- **AI agents** — Greek public procurement data as a tool call, available through the Apify MCP server.

***

### Input

| Field | Type | Description |
|---|---|---|
| `keywords` | array of strings | Words to match in the decision subject. Each entry is searched separately and results merged. |
| `organization` | string | Public body name, Diavgeia code, or 9-digit organization VAT number (ΑΦΜ). |
| `decisionTypes` | array of strings | Which kinds of decisions to return (see list below). |
| `dateFrom` | string | Earliest issue date, `YYYY-MM-DD`. Defaults to 6 months before `dateTo`. |
| `dateTo` | string | Latest issue date, `YYYY-MM-DD`. Defaults to today. |
| `minAmount` | integer | Only return decisions worth at least this much (EUR). |
| `maxResults` | integer | Maximum decisions to return. Default `100`. |

All fields are optional. With no input at all you get the last 6 months of decisions, capped at `maxResults`.

#### Decision types

| Value | Greek decision type |
|---|---|
| `awards` | Αναθέσεις έργων / προμηθειών / υπηρεσιών / μελετών (Δ.1) |
| `tenders` | Περίληψη διακήρυξης / Διακήρυξη (Δ.2.1) |
| `contract_awards` | Κατακύρωση (Δ.2.2) |
| `contracts` | Σύμβαση (Γ.3.4) |
| `payments` | Οριστικοποίηση πληρωμής (Β.2.2) |
| `expense_approvals` | Έγκριση δαπάνης (Β.2.1) |
| `commitments` | Ανάληψη υποχρέωσης (Β.1.3) |
| `grants` | Δωρεά - Επιχορήγηση (Β.4) |
| `investment_approvals` | Πράξη υπαγωγής επενδύσεων (Ε.1) |
| `regulatory` | Κανονιστική πράξη (Α.2) |
| `circulars` | Εγκύκλιος (Α.3) |
| `appointments` | Διορισμός (Γ.3.3) |
| `job_postings` | Προκήρυξη πλήρωσης θέσεων (Γ.3.1) |

A raw Diavgeia type code such as `Δ.1` is also accepted, so you can target any of the 35 published types.

#### Example input

Find IT and software contracts over €50,000 awarded in the first half of 2025:

```json
{
  "keywords": ["προμηθεία υπολογιστών", "προμήθεια λογισμικού"],
  "decisionTypes": ["awards", "contract_awards"],
  "dateFrom": "2025-01-01",
  "dateTo": "2025-06-30",
  "minAmount": 50000,
  "maxResults": 100
}
```

Everything the City of Athens awarded in June 2025:

```json
{
  "organization": "Δήμος Αθηναίων",
  "decisionTypes": ["awards"],
  "dateFrom": "2025-06-01",
  "dateTo": "2025-06-30",
  "maxResults": 200
}
```

***

### Output

One record per decision:

```json
{
  "ada": "9ΕΤΖ469Β7Η-ΘΗΖ",
  "subject": "ΣΥΜΒΑΣΗ ΓΙΑ ΤΗΝ ΠΡΟΜΗΘΕΙΑ «Η/Υ ΚΑΙ ΗΛΕΚΤΡΟΝΙΚΟΥ ΕΞΟΠΛΙΣΜΟΥ»",
  "issueDate": "2025-04-16",
  "publishDate": "2025-04-16",
  "organizationId": "99206981",
  "organizationName": "ΠΑΝΕΠΙΣΤΗΜΙΟ ΙΩΑΝΝΙΝΩΝ",
  "decisionTypeId": "Δ.1",
  "decisionTypeLabel": "ΑΝΑΘΕΣΗ ΕΡΓΩΝ / ΠΡΟΜΗΘΕΙΩΝ / ΥΠΗΡΕΣΙΩΝ / ΜΕΛΕΤΩΝ",
  "protocolNumber": "9914/11-02-2025",
  "amount": 218879.84,
  "currency": "EUR",
  "contractorName": "ΑΝΑΔΟΧΟΣ ΕΤΑΙΡΕΙΑ Α.Ε.",
  "contractorVat": "094222211",
  "assignmentType": "Προμήθειες",
  "cpvCodes": ["30200000-1"],
  "thematicCategoryIds": ["20"],
  "decisionUrl": "https://diavgeia.gov.gr/decision/view/9%CE%95%CE%A4%CE%96469%CE%927%CE%97-%CE%98%CE%97%CE%96",
  "pdfUrl": "https://diavgeia.gov.gr/doc/9%CE%95%CE%A4%CE%96469%CE%927%CE%97-%CE%98%CE%97%CE%96",
  "source": "diavgeia.gov.gr"
}
```

`ada` is the **ΑΔΑ** (Αριθμός Διαδικτυακής Ανάρτησης), the unique identifier every published Greek public decision carries. Use it to cite or re-fetch a decision.

`decisionUrl` and `pdfUrl` are **percent-encoded**, because an ΑΔΑ is Greek text and `diavgeia.gov.gr/doc/` serves a broken redirect if it receives raw UTF-8 bytes. Both links are ready to fetch as-is; use the `ada` field when you need the readable identifier. `pdfUrl` returns `application/pdf` directly.

#### Fields that can be null

`amount`, `contractorName`, `contractorVat`, `cpvCodes` and `assignmentType` come from each decision's structured metadata, which **varies by decision type and is often incomplete**. Roughly 4 out of 5 award and contract-award decisions carry an amount; fewer carry a contractor VAT number, and many publishing bodies omit the contractor name entirely. Administrative decision types carry no amount at all. The decision PDF usually contains what the metadata omits.

***

### How to search effectively

**Diavgeia matches the exact word form. There is no stemming.** This is the single most important thing to know. Searching `υπολογιστη` returns **nothing**, while `υπολογιστών` returns results. Use the inflected form that actually appears in Greek documents, and try more than one:

```json
{ "keywords": ["προμηθεία", "προμήθεια", "προμηθειών"] }
```

A multi-word keyword is matched as an **exact phrase**, so `"προμηθεία υπολογιστών"` only matches decisions containing that exact sequence.

**Organization names** are resolved against the official Diavgeia catalogue, ignoring accents and capitalisation — `Δήμος Αθηναίων`, `ΔΗΜΟΣ ΑΘΗΝΑΙΩΝ` and `municipality of athens` all resolve to code `6013`. When a name is ambiguous the run logs the alternatives; pass the Diavgeia code to pin an exact body.

**`minAmount` is applied after fetching**, because the Diavgeia API has no server-side amount filter. A run with a high `minAmount` reads many decisions to return a few, so give it a `maxResults` you actually need.

***

### Pricing

Pay per result. You pay for the decisions you receive, not for compute time or run duration.

The source data is free public information; this Actor is paid for handling the API's undocumented behaviour — pagination, the 500-record page cap, the silent 6-month default window, single-value type and keyword parameters, organization code resolution, and Greek text normalisation.

***

### Related Actors

- **[Greek Public Tenders Monitor & Alerts](https://apify.com/jimkarageo/greek-tenders-monitor)** — the same search, running on a schedule. It remembers what it already reported, so you are told only about genuinely new decisions, by email or webhook. Use it when you want to be notified rather than to go looking.
- [Greek Public Contractor Profile](https://apify.com/jimkarageo/greek-contractor-profile) — one company's whole record with the Greek state from its VAT number: total won, which authorities award it, direct-award share and yearly trend.
- [Greek Public Contracts & Tenders Search (KIMDIS)](https://apify.com/jimkarageo/greek-public-contracts-kimdis) — Greece's procurement-specific registry. Better than this Actor for tenders and contracts: it filters by amount server-side, searches contractors by VAT number, supports CPV codes, and almost always names the contractor.

***

### Limitations & disclaimer

- Data comes from the official Diavgeia OpenData API and is served **as published**. Public bodies upload their own decisions, so completeness, accuracy and metadata quality are theirs, not ours. **No guarantee of completeness is given or implied.**
- Structured metadata is frequently incomplete — see *Fields that can be null* above.
- Only decisions with status *published* (`Αναρτημένη`) are returned. Withdrawn or corrected versions are not tracked.
- Coverage starts when the Greek transparency law took effect in late 2010, so 2011 is the first full year. 2010 holds only a few thousand decisions in total, against over 1.2 million for 2011 — do not read a thin result set for 2010 as an absence of activity.
- This tool searches **decisions and public bodies**. It is not a people-search tool: there is no function to profile a private individual, and the Diavgeia API provides no way to filter by a person's VAT number. Decision text published by Greek public bodies may nevertheless contain names of natural persons, because Greek transparency law requires their publication. Handle any personal data appearing in results in line with the GDPR and the portal's own [terms of use](https://diavgeia.gov.gr/terms).
- Not affiliated with, endorsed by, or operated by the Greek Ministry of Digital Governance.

***

***

## Ελληνικά

### Τι κάνει

Ψάχνει αποφάσεις ελληνικών δημόσιων φορέων στη **Δι@ύγεια** (`diavgeia.gov.gr`) και επιστρέφει καθαρά, δομημένα δεδομένα: ΑΔΑ, θέμα, φορέα, τύπο πράξης, ημερομηνία, ποσό, ανάδοχο και ΑΦΜ αναδόχου, κωδικούς CPV, και links προς την απόφαση και το PDF.

Στηρίζεται στο **επίσημο OpenData API** της Διαύγειας — χωρίς scraping HTML, χωρίς κωδικούς.

### Για ποιους

Εργολάβους και προμηθευτές που κυνηγούν δημόσιες αναθέσεις, συμβούλους διαγωνισμών, λογιστές, δημοσιογράφους, και AI agents που χρειάζονται ελληνικά δημόσια δεδομένα.

### Φίλτρα

`keywords` (λέξεις-κλειδιά στο θέμα), `organization` (όνομα φορέα, κωδικός Διαύγειας ή ΑΦΜ φορέα), `decisionTypes` (τύποι πράξεων: αναθέσεις, διακηρύξεις, κατακυρώσεις, συμβάσεις, πληρωμές, εγκρίσεις δαπανών κ.ά.), `dateFrom` / `dateTo`, `minAmount` (ελάχιστο ποσό σε EUR), `maxResults`.

Όλα τα πεδία είναι προαιρετικά.

### Τρία πράγματα που πρέπει να ξέρεις

1. **Η Διαύγεια ταιριάζει την ακριβή μορφή της λέξης — δεν κάνει λημματοποίηση.** Το `υπολογιστη` δεν φέρνει **τίποτα**, το `υπολογιστών` φέρνει αποτελέσματα. Γράψε τη λέξη όπως εμφανίζεται στα έγγραφα και δοκίμασε παραπάνω από μία μορφή. Πολλές λέξεις μαζί = ακριβής φράση.
2. **Τα ονόματα φορέων αντιστοιχίζονται αυτόματα** στον επίσημο κατάλογο, χωρίς να μετράνε τόνοι και κεφαλαία: `Δήμος Αθηναίων` = `ΔΗΜΟΣ ΑΘΗΝΑΙΩΝ` = κωδικός `6013`. Αν το όνομα είναι αμφίσημο, το log δείχνει τις εναλλακτικές — βάλε τον κωδικό για να κλειδώσεις τον φορέα.
3. **Το ποσό και ο ανάδοχος λείπουν συχνά.** Περίπου 4 στις 5 αναθέσεις έχουν ποσό στα μεταδομένα, λιγότερες έχουν ΑΦΜ αναδόχου, και πολλοί φορείς δεν συμπληρώνουν καθόλου όνομα αναδόχου. Οι διοικητικές πράξεις δεν έχουν ποσό εξ ορισμού. Ό,τι λείπει, βρίσκεται συνήθως μέσα στο PDF.

### Νομικά

Τα δεδομένα προέρχονται από το επίσημο OpenData API της Διαύγειας και παρέχονται **όπως έχουν αναρτηθεί**. Την πληρότητα και την ακρίβεια τις ορίζουν οι φορείς που αναρτούν — **δεν παρέχεται εγγύηση πληρότητας**.

Το εργαλείο ψάχνει **αποφάσεις και φορείς**, όχι φυσικά πρόσωπα: δεν υπάρχει λειτουργία προφίλ ιδιώτη, και το API της Διαύγειας δεν επιτρέπει φιλτράρισμα με ΑΦΜ προσώπου. Το κείμενο των αποφάσεων μπορεί παρ' όλα αυτά να περιέχει ονόματα φυσικών προσώπων, επειδή η νομοθεσία διαφάνειας απαιτεί τη δημοσίευσή τους. Η διαχείριση τυχόν προσωπικών δεδομένων στα αποτελέσματα γίνεται με ευθύνη του χρήστη, σύμφωνα με τον GDPR και τους [όρους χρήσης](https://diavgeia.gov.gr/terms) της πύλης.

Δεν συνδέεται με το Υπουργείο Ψηφιακής Διακυβέρνησης.

***

**Keywords:** Greece, Greek government, Diavgeia, Δι@ύγεια, public procurement, government tenders, public contracts, transparency, open data, ΑΔΑ, δημόσιες συμβάσεις, δημόσιοι διαγωνισμοί, αναθέσεις, προκηρύξεις, διαφάνεια, Greek public sector, government spending, contract awards, CPV, MCP

# Actor input Schema

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

Words to search for in the decision subject. IMPORTANT: Diavgeia matches the EXACT word form with no stemming, so use the form that appears in Greek documents (e.g. 'προμηθεία', 'υπολογιστών'). A multi-word entry is treated as an exact phrase. Each entry runs as a separate search and results are merged. | Λέξεις για αναζήτηση στο θέμα της απόφασης. ΠΡΟΣΟΧΗ: η Διαύγεια κάνει ακριβές ταίριασμα λέξης χωρίς λημματοποίηση, γι' αυτό γράψε τη λέξη όπως εμφανίζεται στα έγγραφα. Πολλές λέξεις μαζί = ακριβής φράση.

## `organization` (type: `string`):

Public body name, Diavgeia code or 9-digit VAT number (ΑΦΜ) of the organization. Names are matched against the official Diavgeia catalogue, accent- and case-insensitive (e.g. 'Δήμος Αθηναίων' resolves to code 6013). Leave empty to search all bodies. | Όνομα φορέα, κωδικός Διαύγειας ή ΑΦΜ φορέα. Τα ονόματα αντιστοιχίζονται στον επίσημο κατάλογο, χωρίς να μετράνε τόνοι και κεφαλαία.

## `decisionTypes` (type: `array`):

Which kinds of decisions to return. Each selected type runs as a separate search and results are merged. Leave empty for all types. | Ποιους τύπους πράξεων να επιστρέψει. Κενό = όλοι οι τύποι.

## `dateFrom` (type: `string`):

Earliest decision issue date, format YYYY-MM-DD. Defaults to 6 months before 'Date to'. | Παλαιότερη ημερομηνία έκδοσης, μορφή YYYY-MM-DD. Προεπιλογή: 6 μήνες πριν το 'Ημερομηνία έως'.

## `dateTo` (type: `string`):

Latest decision issue date, format YYYY-MM-DD. Defaults to today. | Νεότερη ημερομηνία έκδοσης, μορφή YYYY-MM-DD. Προεπιλογή: σήμερα.

## `minAmount` (type: `integer`):

Only return decisions whose award amount is at least this value. Decisions with no amount in their metadata are excluded when this is set. Diavgeia has no server-side amount filter, so this is applied after fetching. | Επιστρέφει μόνο αποφάσεις με ποσό τουλάχιστον αυτό. Αποφάσεις χωρίς ποσό εξαιρούνται όταν οριστεί.

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

Maximum number of decisions to return. | Μέγιστος αριθμός αποφάσεων.

## Actor input object example

```json
{
  "keywords": [
    "προμηθεία"
  ],
  "organization": "Δήμος Αθηναίων",
  "decisionTypes": [
    "awards"
  ],
  "dateFrom": "2025-01-01",
  "dateTo": "2025-12-31",
  "maxResults": 100
}
```

# Actor output Schema

## `decisions` (type: `string`):

The matched Greek government decisions, as JSON items in the default dataset.

# 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 = {
    "keywords": [
        "προμηθεία"
    ],
    "decisionTypes": [
        "awards"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("jimkarageo/greek-diavgeia-search").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 = {
    "keywords": ["προμηθεία"],
    "decisionTypes": ["awards"],
}

# Run the Actor and wait for it to finish
run = client.actor("jimkarageo/greek-diavgeia-search").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 '{
  "keywords": [
    "προμηθεία"
  ],
  "decisionTypes": [
    "awards"
  ]
}' |
apify call jimkarageo/greek-diavgeia-search --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,jimkarageo/greek-diavgeia-search"
        }
    }
}
```

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/e2kI30BaXhvYEU6vc/builds/v9DDcfPAtAgUzeBd5/openapi.json
