# EU Procurement Market Analytics (TED) (`praised_tumbler/eu-procurement-market-analytics`) Actor

Turn EU public procurement notices from TED into market analytics: top buyers, CPV categories, monthly volumes and value statistics per country. Unofficial, uses the official TED API.

- **URL**: https://apify.com/praised_tumbler/eu-procurement-market-analytics.md
- **Developed by:** [Maine Wayne](https://apify.com/praised_tumbler) (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 $30.00 / 1,000 analysis reports

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

## EU Procurement Market Analytics (TED): Buyers, Categories, Spend

Understand a public procurement market in minutes. Pick one or more **countries** (Bulgaria, Romania, Greece, Croatia or any EU/EEA country), optionally a **category (CPV)** and a **period**, and get a ready analysis from **TED (Tenders Electronic Daily)**: how many tenders, **who buys most**, **which categories dominate**, **monthly volumes** and **value statistics**.

> **Unofficial.** Not affiliated with or endorsed by the European Union or the Publications Office of the EU. The Actor reads the official, free TED public API.

### Who it is for

- Companies that sell to the public sector (IT, construction, medical, services) and want to size a market or pick target buyers.
- Bid and sales teams: which contracting authorities publish the most tenders in my category, and how big are they?
- Consultants and journalists comparing procurement activity across countries.
- AI agents that need a compact market summary instead of thousands of raw notices.

### What you get (one dataset, rows with a `rowType`)

| rowType | Content |
|---|---|
| `summary` | Notices analysed, total matching on TED, how many have a value, total, **median and 90th percentile** estimated value (EUR), unique buyers, split by contract type, procedure and country |
| `month` | Notices and total value per month |
| `buyer` | Top buyers: name, country, notices, total and median value, their top CPV categories, first and last publication |
| `cpv` | Top CPV divisions with English labels: notices, value, top buyers |

Only organisation-level data is used (buyer names, categories, values). No contact persons, e-mails or phone numbers.

#### Example input

```json
{ "countries": ["BGR"], "cpvCodes": ["72"], "periodDays": 365, "topN": 15, "maxNotices": 5000 }
```

#### Example buyer row

```json
{ "rowType": "buyer", "rank": 1, "buyerName": "Агенция за ...", "country": "BGR", "notices": 42, "noticesWithEurValue": 31, "totalValueEur": 8120000, "medianValueEur": 95000, "topCpvDivisions": [{ "code": "72", "label": "IT services: consulting, software development, Internet and support", "notices": 30 }] }
```

### How the numbers are built (read this)

- **Contract notices by default.** Each procurement usually produces several notices (announcement, award, modification). The default counts only **contract notices** (opportunities), so a procedure is not counted several times. Choose `award` or `any` if you want those stages.
- **Values** are the estimated values of the notice (sum of lots) in **EUR**; Bulgarian **BGN is converted at the official 1.95583**. Notices in other currencies or without a value are counted but **not valued**: see `valueStatus` and `shareWithEurValue`. Many notices carry no value, so totals understate real spend.
- Implausible values (above 5 billion EUR, typically data errors) are excluded.
- The newest notices are analysed first, up to `maxNotices` (max 15,000). `truncated` tells you when more notices match.
- Buyer names are taken as published (the same buyer can appear under variant spellings).

### Ready-made examples

Saved examples you can open, run and copy:

- [Bulgaria public procurement market overview](https://apify.com/praised_tumbler/eu-procurement-market-analytics/examples/bulgaria-public-procurement-market-overview)
- [Greece IT tenders market analysis](https://apify.com/praised_tumbler/eu-procurement-market-analytics/examples/greece-it-tenders-market-analysis)

### Pricing

Pay per event: a fee per **analysis report** (`analysis-report`) plus a small fee per **1,000 notices analysed** (`notices-analysed-1000`). Set **Max cost per run**: the Actor analyses only as many notices as your limit pays for and says so in the summary. See the pricing panel for current prices.

### Limits and FAQ

**Is the data authoritative?** No. TED data is public and reusable; per the TED legal notice only notices published in the Official Journal Supplement are authentic and TED does not guarantee completeness. Check important figures in the source notices. Every analysis is only as good as the data entered by buyers.

**Can I reuse the results commercially?** The TED legal notice states procurement notices can be freely reused for commercial or non-commercial purposes (Commission Decision 2011/833/EU). Please credit TED / Publications Office of the European Union. TED logos are excluded.

**Why is the total lower than the real market?** Many notices have no value or a non-EUR currency; see `shareWithEurValue`.

**Can I get the raw notices?** Yes, use [EU Tenders Search (TED)](https://apify.com/praised_tumbler/eu-tenders-ted-search). To see who wins the contracts, use [EU Contract Winners & Suppliers](https://apify.com/praised_tumbler/eu-contract-winners-ted).

**Can an AI agent call it?** Yes, via the Apify API or MCP server; the output is a small set of flat rows.

### Related Actors

- [EU Tenders Search (TED)](https://apify.com/praised_tumbler/eu-tenders-ted-search): raw tender and award notices as JSON.
- [EU Contract Winners & Suppliers](https://apify.com/praised_tumbler/eu-contract-winners-ted): who wins public contracts.

# Actor input Schema

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

3-letter ISO country codes of the contracting authority, e.g. BGR (Bulgaria), ROU (Romania), GRC (Greece), HRV (Croatia). Several countries are analysed together; the summary shows the split.

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

Optional category filter, 2 to 8 digits (72 = IT services, 45 = construction, 33 = medical). Leave empty for all categories.

## `contractNature` (type: `array`):

Limit to supplies, services or works. Leave empty for all.

## `stage` (type: `string`):

Contract notices announce opportunities (default, best for market sizing without double counting). Award notices report results.

## `periodDays` (type: `integer`):

Used when 'Published from' is empty.

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

Overrides the period.

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

Optional end date (inclusive). Default: today.

## `topN` (type: `integer`):

How many top buyers and top CPV categories to return.

## `maxNotices` (type: `integer`):

Newest notices first. Billing is per 1,000 notices analysed. Maximum 15,000.

## Actor input object example

```json
{
  "countries": [
    "BGR"
  ],
  "cpvCodes": [],
  "contractNature": [],
  "stage": "contract",
  "periodDays": 90,
  "topN": 10,
  "maxNotices": 1000
}
```

# Actor output Schema

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

All result rows of the run (JSON items of 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 = {
    "countries": [
        "BGR"
    ],
    "periodDays": 90,
    "topN": 10,
    "maxNotices": 1000
};

// Run the Actor and wait for it to finish
const run = await client.actor("praised_tumbler/eu-procurement-market-analytics").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": ["BGR"],
    "periodDays": 90,
    "topN": 10,
    "maxNotices": 1000,
}

# Run the Actor and wait for it to finish
run = client.actor("praised_tumbler/eu-procurement-market-analytics").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": [
    "BGR"
  ],
  "periodDays": 90,
  "topN": 10,
  "maxNotices": 1000
}' |
apify call praised_tumbler/eu-procurement-market-analytics --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,praised_tumbler/eu-procurement-market-analytics"
        }
    }
}
```

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/CNahfZnCkxQiF67Jt/builds/o2XmUqiPviK2QYGNY/openapi.json
