# EU Tenders Monitor (TED) - Public Procurement (`keelfeed/ted-tenders-monitor`) Actor

Track new and changed EU public procurement tenders from TED. Filter by keyword, CPV code and buyer country. Each run returns only what changed, for alerts and AI agents. Like a TED scraper, but via the official API. No Actor fee during launch (Apify usage only). Not affiliated with the EU.

- **URL**: https://apify.com/keelfeed/ted-tenders-monitor.md
- **Developed by:** [Keelfeed](https://apify.com/keelfeed) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## 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 Tenders Monitor (TED) - Public Procurement

**Get new and changed EU public procurement tenders, on your schedule, as clean JSON.**

**No Actor fee during launch; you pay only Apify platform usage (typically a fraction of a cent for a run at default settings). Pay-per-event pricing will be added with notice.**

Unlike one-off TED scrapers, this monitor remembers what it has already shown you, so each run returns only new and changed tenders.

Watches EU public procurement notices on **TED (Tenders Electronic Daily)**. The first run returns the tenders that match your filters today. Scheduled runs after that return only the tenders that are **new or changed**, with the names of the fields that changed.

**Who it's for:** bid and proposal teams, consultancies, B2G sales, and AI agents.

> **Not affiliated with the European Union or the Publications Office of the European Union.** This Actor reads the official, public TED Search API. Every row links to the official notice on ted.europa.eu.

Source: TED, © European Union, https://ted.europa.eu. Normalized by Keelfeed.

**Always check the official notice before bidding. Only the notice published on TED is authoritative.**

### For AI agents

- Minimal input: `{"cpvCodes": ["72000000"], "buyerCountries": ["IRL"], "publishedWithinDays": 7}`. Everything else has defaults.
- `maxItems` (default `100`) is the cost cap: the run stops cleanly after that many output rows. Set it to the most rows you're willing to pay for in one run.
- Output: one flat JSON row per tender in the default dataset. `changeType` is `new`, `changed`, `removed` or `none` (a free status row when nothing changed; set `emitHeartbeat: false` or filter on `changeType` to skip it), and `changedFields` lists what changed. Dates are ISO 8601, missing values are `null`. Use `noticeUrl` to cite the official notice.
- The run summary is in the `OUTPUT` record of the run's default key-value store: counts of new, changed, unchanged and removed tenders, `stopReason` (`completed`, `max-items`, `charge-limit`, `request-cap` or `source-incomplete`), requests used and the `stateKey`.

### How the EU tender monitor works

1. The Actor searches TED with your filters (keywords, CPV codes, buyer countries, form types, date window), newest notices first, at no more than 1 request per second.
2. Each notice becomes a flat record of procedure-level and organization-level fields.
3. Each record is compared with what this monitor saw on earlier runs. Tenders are matched by **procedure**, so a contract notice, its corrigendum and its award notice count as the same tender, and the latest notice wins.
4. You get one row per `new` or `changed` tender, plus `removed` ones if you ask for them. Unchanged tenders produce no output.

### Quick start

1. Open the Actor and keep the example input (IT services, CPV `72000000`, from buyers in Ireland, published in the last 7 days), or enter your own keywords, CPV codes or countries.
2. Run it. The first run outputs the tenders that match today as `new`, up to `maxItems`.
3. Schedule it daily with the same input. Each later run outputs only what is new or changed since the last one.

Example input:

```json
{
  "cpvCodes": ["72000000"],
  "buyerCountries": ["IRL"],
  "publishedWithinDays": 7,
  "emitHeartbeat": true
}
```

### Output

One dataset row per tender. This is a real row from a test run:

```json
{
  "changeType": "new",
  "changedFields": [],
  "itemId": "proc:16c929ed-9ae8-4290-a87c-cbd4de7af00e",
  "procedureId": "16c929ed-9ae8-4290-a87c-cbd4de7af00e",
  "noticeId": "793287-2026",
  "noticeVersion": 1,
  "publicationDate": "2026-11-16",
  "noticeType": "cn-standard",
  "formType": "competition",
  "title": "Provision of SkyKick Cloud Backup and Recovery Subscriptions for Tailte Éireann",
  "description": "Provision of SkyKick Cloud Backup and Recovery Subscriptions for Tailte Éireann",
  "buyerNames": [
    "Tailte Éireann"
  ],
  "buyerCountries": [
    "IRL"
  ],
  "buyerLegalTypes": [
    "body-pl-cga"
  ],
  "cpvCodes": [
    "72000000"
  ],
  "mainCpvCode": "72000000",
  "placeOfPerformance": [
    "IE061",
    "IRL"
  ],
  "contractNature": [
    "services"
  ],
  "procedureType": "open",
  "tenderDeadline": "2026-12-14",
  "requestDeadline": null,
  "estimatedValue": 260000,
  "estimatedValueCurrency": "EUR",
  "totalValue": 260000,
  "totalValueCurrency": "EUR",
  "officialLanguages": [
    "ENG"
  ],
  "noticeUrl": "https://ted.europa.eu/en/notice/-/detail/793287-2026",
  "pdfUrl": "https://ted.europa.eu/en/notice/793287-2026/pdf",
  "sourceUrl": "https://ted.europa.eu/en/notice/-/detail/793287-2026",
  "attribution": "Source: TED, © European Union, https://ted.europa.eu. Normalized by Keelfeed.",
  "detectedAt": "2026-11-16T19:43:19.276Z"
}
```

`noticeUrl`, `pdfUrl` and `sourceUrl` always point to the official notice on ted.europa.eu. Every row includes the attribution line.

Each run also writes a summary (counts, stop reason, requests used, state key) to the `OUTPUT` record of the run's default key-value store.

#### Output fields

Missing values are `null` for single values and `[]` for lists. Lists keep TED's order.

| Field | Type | Description |
| --- | --- | --- |
| `changeType` | string | `new`, `changed`, `removed` or `none` (heartbeat row). |
| `changedFields` | string\[] | For `changed` rows: the tracked fields that changed since the last run. |
| `itemId` | string | Monitor key: `proc:<procedure id>`, or `notice:<publication number>` when there is no procedure id. |
| `procedureId` | string | null | TED procedure identifier, shared by all notices of one procedure. |
| `noticeId` | string | TED publication number of the latest notice, e.g. `796272-2026`. |
| `noticeVersion` | number | null | Notice version. |
| `publicationDate` | string | null | Publication date, `YYYY-MM-DD`. |
| `noticeType` | string | null | TED notice type, e.g. `cn-standard`, `can-standard`. |
| `formType` | string | null | TED form type, e.g. `competition`, `result`, `change`. |
| `title` | string | null | Procedure title in the preferred language, else English, else an official language of the notice. Email addresses and phone numbers are removed. |
| `description` | string | null | Procedure description, cut at 2,000 characters. Same language rule as `title`. Contact details are removed on a best-effort basis: any sentence with a recognised phone number, email address or contact label is replaced with `[contact details removed]`, which also removes names written next to them. |
| `buyerNames` | string\[] | Buyer organization names. For buyers in Ireland, the eTenders account suffix is removed (`_1127`, or a space plus 3–5 digits such as ` 1384`). |
| `buyerCountries` | string\[] | Buyer countries, ISO 3166-1 alpha-3. |
| `buyerLegalTypes` | string\[] | Buyer legal type codes. |
| `cpvCodes` | string\[] | CPV codes, in TED order. |
| `mainCpvCode` | string | null | Main CPV code of the procedure (TED BT-262). `null` if TED doesn't send it; never guessed from `cpvCodes`. |
| `placeOfPerformance` | string\[] | NUTS and country codes of the place of performance. |
| `contractNature` | string\[] | `services`, `supplies` or `works`. |
| `procedureType` | string | null | Procedure type, e.g. `open`, `restricted`. |
| `tenderDeadline` | string | null | Earliest tender deadline across lots, `YYYY-MM-DD`. |
| `requestDeadline` | string | null | Earliest deadline for requests to participate across lots, `YYYY-MM-DD`. |
| `estimatedValue` | number | null | Estimated procedure value, or the sum of lots when all lots share one currency. `null` if TED has no value or sends a negative placeholder such as -1 (unknown). A value of 0 is what the buyer reported; it often means the value was not disclosed. |
| `estimatedValueCurrency` | string | null | Currency of `estimatedValue`. `null` whenever `estimatedValue` is `null`. |
| `totalValue` | number | null | TED total value (the awarded total on result notices). `null` if TED has no value or sends a negative placeholder such as -1 (unknown). A value of 0 is what the buyer reported; it often means the value was not disclosed. |
| `totalValueCurrency` | string | null | Currency of `totalValue`. `null` whenever `totalValue` is `null`. |
| `officialLanguages` | string\[] | Official languages of the notice. |
| `noticeUrl` | string | Official notice page on ted.europa.eu. |
| `pdfUrl` | string | null | Official PDF of the notice. |
| `sourceUrl` | string | Same as `noticeUrl`; on every row. `https://ted.europa.eu` on heartbeat rows. |
| `attribution` | string | `Source: TED, © European Union, https://ted.europa.eu. Normalized by Keelfeed.` |
| `detectedAt` | string | When this run detected the change, ISO 8601. |
| `lastSeenAt` | string | `removed` rows only: last date the tender matched the query. |
| `checkedCount` | integer | `none` rows only: tenders checked this run. |
| `stopReason` | string | `none` rows only: why the run stopped. |
| `stateKey` | string | `none` rows only: key of this monitor's state record. |

### How much does it cost?

No Actor fee during launch; you pay only Apify platform usage (typically a fraction of a cent for a run at default settings). When pay-per-event pricing is added (with notice), it works like this:

- **Charged:** each `new` row and each `changed` row.
- **First-run rows count as new.** With `emitBaseline: true` (the default), every row from the first run is a `new` row and is charged as one.
- **Free:** removed rows, `none` status rows, unchanged tenders, and the silent first run when `emitBaseline` is `false`.

Two limits keep the cost of a run under control. Whichever comes first stops the run cleanly, and the run still finishes as succeeded:

- **`maxItems`** (default `100`): the most rows a run outputs. The summary's `stopReason` is then `max-items`.
- **Your maximum charge for the run:** the run stops before the row that would exceed it. The summary's `stopReason` is then `charge-limit`.

Tenders a run didn't get to are reported on the next run.

### Input

| Field | Default | Description |
| --- | --- | --- |
| `keywords` | – | Full-text terms. A notice matches if it contains any of them (each term matched as a phrase). |
| `cpvCodes` | – | 8-digit CPV codes, e.g. `72000000` (IT services). A trailing check digit like `-5` is ignored. |
| `buyerCountries` | – | ISO 3166-1 alpha-3 codes of the buyer, e.g. `DEU`, `FRA`, `POL`. |
| `formTypes` | all | `planning`, `competition`, `result`, `change`, `dir-awa-pre`, `cont-modif`, `consultation`. |
| `publishedWithinDays` | `7` | Only notices published in the last N days. `0` turns the date filter off. |
| `scope` | `ACTIVE` | `ACTIVE` (still open), `ALL`, or `LATEST` (current Official Journal S issue only). |
| `expertQuery` | – | Optional TED expert-search query, combined with the filters above using AND. Don't include `SORT BY`. |
| `language` | `eng` | 3-letter code for titles, buyer names, descriptions and links. Falls back to English, then an official language of the notice. |
| `emitBaseline` | `true` | First run only: output every current tender as `new`. See below. |
| `emitRemoved` | `false` | Also report tenders that no longer match. See below. |
| `emitHeartbeat` | `false` (prefilled `true`) | Output one free `none` status row when a run finds nothing to report. See below. |
| `maxItems` | `100` | Most output rows per run (1–100,000). The main cost limit. |
| `maxRequests` | `20` | Cap on TED API requests per run (1–1000). |
| `pageSize` | `50` | Notices per request (max 250). |

### Data and privacy

- Only procedure-level and organization-level fields are requested from TED. The Actor never requests contact persons, emails, phone or fax numbers, jury members, or winner fields, so the output has **no personal fields and no winner names**.
- Contact details in descriptions are removed on a best-effort basis: any sentence with a recognised phone number, email address or contact label is replaced with `[contact details removed]`, which also removes names written next to them. If you ever see personal data in the output, report it on the Issues tab and it will be fixed.
- In titles and buyer names, only email addresses and phone numbers are removed, so a title like "Provision of contact centre services" stays intact.
- HTML entities in text are decoded, and repeated spaces are collapsed.
- Buyer names are names of public bodies and organizations as published on TED.

### Stored state: `keelfeed-ted-state`

To know what is new, the Actor creates a **named key-value store called `keelfeed-ted-state` in your own Apify account**. It holds one record per set of filters: tender IDs, a fingerprint of the tracked fields, the last-seen date and the official notice URL. It doesn't hold full tender data or anything personal. Tenders not seen for 30 days are dropped from it.

Named stores are not deleted automatically: **`keelfeed-ted-state` stays in your account until you delete it.** Deleting it resets every monitor, so the next run is a first run again.

To delete it:

- **Apify Console:** go to **Storage → Key-value stores**, open `keelfeed-ted-state` and click **Delete**.
- **Apify CLI:** `apify key-value-stores rm keelfeed-ted-state`
- **Reset only one monitor:** delete just its record. The record key is the `stateKey` shown in the run's `OUTPUT` summary, e.g. `apify key-value-stores delete-value keelfeed-ted-state q-<hash>`.

### New, changed and removed

- **`new`**: a tender this monitor has not seen before.
- **`changed`**: a tender seen before where at least one tracked field is different. `changedFields` names those fields. Tracked fields: `noticeId`, `noticeType`, `formType`, `title`, `buyerNames`, `tenderDeadline`, `requestDeadline`, `estimatedValue`, `estimatedValueCurrency`, `totalValue`, `totalValueCurrency`, `cpvCodes`, `placeOfPerformance`, `procedureType`. A new notice in the same procedure, such as a corrigendum or an award, usually shows up as `changed` with `noticeId` in `changedFields`.
- **`removed`** (only with `emitRemoved`): a tender seen before that no longer matches your filters. Removed rows have only `itemId`, `lastSeenAt`, `sourceUrl`, `attribution` and `detectedAt`. They are reported once, only after a run that finished completely (not when it stopped at `maxItems`, `maxRequests` or the charge limit), and never on the first run. They count toward `maxItems`. With a date window, a tender that ages out of the window counts as removed. For meaningful removals, use `publishedWithinDays: 0` with `scope: "ACTIVE"`.
- **`none`** (only with `emitHeartbeat`, on in the prefilled input): a run with nothing new, changed or removed outputs one free status row with `checkedCount`, `stopReason`, `stateKey`, `sourceUrl`, `attribution` and `detectedAt`. If you only want changes, set `emitHeartbeat` to `false` or filter on `changeType`. It does not count toward `maxItems`.

#### The first run and `emitBaseline`

The monitor needs a first run to learn what already exists.

- **`emitBaseline: true`** (default): the first run outputs every matching tender as `new`, up to `maxItems`. Tenders beyond `maxItems` are output as `new` on later runs.
- **`emitBaseline: false`**: the first run outputs nothing. It silently records the tenders that match today. From the second run on, you get only what is new or changed.

Each set of filters is its own monitor. If you change any filter (except `pageSize`, `maxItems` and `maxRequests`), the next run is a first run again.

### Good to know

- Requests are limited to 1 per second, one at a time, with backoff on errors. Newest notices come first, so if a run hits `maxRequests`, only the oldest matches are left out. Raise `maxRequests` or narrow your filters if the summary's `stopReason` is often `request-cap`.
- Runs work well on a schedule (for example daily) for alerts.
- TED publishes on working days, so a daily run after a weekend or holiday may have nothing new to report.
- TED sometimes publishes competition notices whose deadline has already passed (for example a late correction). The Actor outputs the deadline as TED sends it; check `tenderDeadline` and `requestDeadline` before acting.
- A reordered list (for example the same CPV codes in a different order) is not reported as a change.

# Actor input Schema

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

Full-text search terms. A notice matches if it contains any of them (each term is matched as a phrase).

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

8-digit CPV codes (e.g. 72000000 for IT services). A trailing check digit like -5 is ignored.

## `buyerCountries` (type: `array`):

ISO 3166-1 alpha-3 country codes of the buyer, e.g. DEU, FRA, POL.

## `formTypes` (type: `array`):

Limit to TED form types. Leave empty for all.

## `publishedWithinDays` (type: `integer`):

Only notices published in the last N days. 0 disables the date filter (use with scope ACTIVE for full-snapshot monitoring and removals).

## `scope` (type: `string`):

ACTIVE: notices still open. ALL: all notices. LATEST: only the current Official Journal S issue.

## `expertQuery` (type: `string`):

Optional TED expert-search query, combined with the filters above using AND. Do not include SORT BY. Test queries on the TED Expert Search page.

## `language` (type: `string`):

3-letter language code for titles, buyer names, descriptions and links (falls back to English, then an official language of the notice).

## `emitBaseline` (type: `boolean`):

First run only. If on (default), the first run outputs every matching tender as new (charged as new items, capped by maxItems). If off, the first run silently records what exists today and later runs report only what is new or changed.

## `emitRemoved` (type: `boolean`):

Also output tenders that no longer match the query (never charged). Only reported after a complete run. With a date filter, ageing out of the window counts as removed.

## `emitHeartbeat` (type: `boolean`):

If on, a run that finds no new, changed or removed items outputs one row with changeType "none" and the run status (items checked, stop reason). It is never charged and does not count toward maxItems. Turn off if you only want change rows.

## `maxItems` (type: `integer`):

Main cost limit. The run stops cleanly once this many rows (new, changed and removed together) are output, the same way as when the maximum charge is reached. Anything left over is reported on the next run.

## `maxRequests` (type: `integer`):

Upper limit on requests to the TED API per run (1 request per second). Newest notices are processed first.

## `pageSize` (type: `integer`):

Notices per API request (max 250).

## Actor input object example

```json
{
  "cpvCodes": [
    "72000000"
  ],
  "buyerCountries": [
    "IRL"
  ],
  "publishedWithinDays": 7,
  "scope": "ACTIVE",
  "language": "eng",
  "emitBaseline": true,
  "emitRemoved": false,
  "emitHeartbeat": true,
  "maxItems": 100,
  "maxRequests": 20,
  "pageSize": 50
}
```

# Actor output Schema

## `changes` (type: `string`):

One row per new, changed or (optionally) removed tender, or one free status row (changeType none) when nothing changed and emitHeartbeat is on.

## `summary` (type: `string`):

Counts, stop reason and requests used.

# 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 = {
    "cpvCodes": [
        "72000000"
    ],
    "buyerCountries": [
        "IRL"
    ],
    "publishedWithinDays": 7,
    "emitHeartbeat": true
};

// Run the Actor and wait for it to finish
const run = await client.actor("keelfeed/ted-tenders-monitor").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 = {
    "cpvCodes": ["72000000"],
    "buyerCountries": ["IRL"],
    "publishedWithinDays": 7,
    "emitHeartbeat": True,
}

# Run the Actor and wait for it to finish
run = client.actor("keelfeed/ted-tenders-monitor").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 '{
  "cpvCodes": [
    "72000000"
  ],
  "buyerCountries": [
    "IRL"
  ],
  "publishedWithinDays": 7,
  "emitHeartbeat": true
}' |
apify call keelfeed/ted-tenders-monitor --silent --output-dataset

```

## MCP server setup

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

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/bxTjCV3rfiy5VNZ7b/builds/sv0KVgFAhfMeaPpCQ/openapi.json
