# EU Tenders Feed (TED) by CPV & Country (`datakit/ted-tenders-feed`) Actor

Get new EU public procurement tenders from TED (Tenders Electronic Daily) by CPV code, country and keyword. Deadline, buyer, CPV, notice link. New-since-last-run mode for daily tender alerts to Slack, email or a spreadsheet.

- **URL**: https://apify.com/datakit/ted-tenders-feed.md
- **Developed by:** [datakit](https://apify.com/datakit) (community)
- **Categories:** Lead generation, Other
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 0.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 Public Tenders Feed (TED): new tenders by CPV code and country

Get new **EU public procurement tenders** from **TED (Tenders Electronic Daily)**, the official EU journal for
public contracts, filtered by **CPV code, buyer country and keyword**. Each row has the title, buyer, deadline,
CPV codes, procedure type and a link to the notice. Run it daily in **new-only mode** and you get just the tenders
you have not seen before: a tender alert for Slack, email, Google Sheets or your CRM.

Data comes from the official TED Search API (open data published by the EU Publications Office). No login, no
scraping of web pages, no personal data.

### Who it's for

- **Companies that bid on public contracts**: IT services, construction, consulting, facility services, medical supplies.
- **Bid managers and tender consultants** who watch several sectors or countries for clients.
- **Market researchers** who want a CSV of who is buying what, where.

### What you get (sample row)

```json
{
  "noticeId": "768285-2026",
  "title": "Beschaffung eines zentralen Social-Media Content Management Tools (SMCMT) für die Polizei NRW",
  "noticeTitle": "Germany – Software-related services – Beschaffung eines zentralen Social-Media ...",
  "publicationDate": "2026-11-05",
  "deadline": "2026-12-07",
  "buyerName": "Landesamt für Zentrale Polizeiliche Dienste Nordrhein-Westfalen",
  "buyerCountry": "DEU",
  "cpvCodes": ["72260000", "72267000", "72268000"],
  "contractNature": "services",
  "procedureType": "open",
  "noticeType": "cn-standard",
  "formType": "competition",
  "placeOfPerformance": ["DEA12"],
  "estimatedValue": null,
  "currency": null,
  "url": "https://ted.europa.eu/en/notice/-/detail/768285-2026",
  "pdfUrl": "https://ted.europa.eu/en/notice/768285-2026/pdf"
}
```

Titles and buyer names come in your preferred language when TED has a translation (`language`, default `eng`),
otherwise in the original language. `estimatedValue` is filled only when the buyer published one.

### Input

| Field | Example | Notes |
|---|---|---|
| `cpvCodes` | `["72000000","48000000"]` | Parent codes include all children. 72 = IT services, 48 = software, 45 = construction, 79 = business services, 33 = medical equipment, 90 = cleaning/environmental. Empty = all sectors. |
| `countries` | `["IRL","NLD"]` | ISO alpha-3 code of the buyer's country. Empty = all EU/EEA. |
| `keywords` | `cybersecurity` | All words must appear in the notice. |
| `noticeKind` | `competition` | `competition` = open calls you can bid on, `result` = contract awards, `planning` = prior information notices, `all`. |
| `daysBack` | `7` | Publication-date window (1-90). |
| `maxResults` | `100` | Cap per run. |
| `mode` | `newOnly` | `all` or `newOnly` (only notices not seen in earlier runs with the same `stateKey`). |
| `stateKey` | `it-ireland` | One key per saved search. |

Example inputs:

- IT tenders in Ireland and the Netherlands this week: `{"cpvCodes":["72000000"],"countries":["IRL","NLD"]}`
- Daily construction alerts in Poland: `{"cpvCodes":["45000000"],"countries":["POL"],"mode":"newOnly","stateKey":"pl-construction","daysBack":3}`
- Who won cybersecurity contracts in Germany and Austria last month: `{"keywords":"cybersecurity","countries":["DEU","AUT"],"noticeKind":"result","daysBack":30}`

With empty input the Actor returns the 100 newest open tenders across all countries.

### Daily tender alerts

1. Save a task with your CPV codes, countries, `mode: newOnly` and a `stateKey`.
2. Schedule it daily (TED publishes Monday to Friday).
3. Connect the dataset to Slack, email, Google Sheets or Zapier/Make with Apify integrations.

### Call it from code

```python
from apify_client import ApifyClient
client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("datakit/ted-tenders-feed").call(run_input={
    "cpvCodes": ["72000000"], "countries": ["IRL"], "mode": "newOnly", "stateKey": "it-ie"})
for t in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(t["deadline"], t["buyerName"], t["title"], t["url"])
```

### FAQ

**Is this legal to use?** TED content is official EU open data; the Publications Office allows reuse. This Actor
uses their public search API.

**Which countries are covered?** All notices published in TED: EU member states plus EEA and other countries that
publish there (above-threshold contracts). Small national-only tenders below EU thresholds are not in TED.

**How fresh is it?** TED publishes about 2,000 new notices each working day; the API returns them on publication.

**Does it include the full tender documents?** It gives the notice and PDF link; tender documents are on the
buyer's procurement portal linked from the notice.

Built by datakit. Issues or a missing field? Open an issue on the Actor page.

# Actor input Schema

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

Common Procurement Vocabulary codes. Parent codes include children (72000000 = all IT services, 45000000 = construction, 79000000 = business services). Leave empty for all sectors.

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

ISO 3166 alpha-3 codes of the buying organisation's country, e.g. DEU, FRA, IRL, NLD, POL, ESP, ITA, SWE. Empty = all countries.

## `keywords` (type: `string`):

Words that must appear in the notice text, e.g. 'cloud' or 'cybersecurity'. Several words = all must match.

## `noticeKind` (type: `string`):

competition = open calls for tenders you can bid on; result = contract award notices; planning = prior information notices; all = everything.

## `daysBack` (type: `integer`):

Look-back window on publication date. TED publishes Monday to Friday.

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

Upper limit of notices to output per run.

## `mode` (type: `string`):

all = every matching notice; newOnly = only notices not seen in previous runs with the same state key (for daily alerts).

## `stateKey` (type: `string`):

Name for the remembered set of seen notices in newOnly mode. Use a different key per saved search.

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

Language for titles and buyer names when TED has a translation (3-letter code, e.g. eng, deu, fra). Falls back to the original language.

## Actor input object example

```json
{
  "cpvCodes": [
    "72000000",
    "48000000"
  ],
  "countries": [
    "IRL",
    "NLD"
  ],
  "noticeKind": "competition",
  "daysBack": 7,
  "maxResults": 100,
  "mode": "all",
  "stateKey": "default",
  "language": "eng"
}
```

# Actor output Schema

## `results` (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 = {
    "cpvCodes": [
        "72000000",
        "48000000"
    ],
    "countries": [
        "IRL",
        "NLD"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("datakit/ted-tenders-feed").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",
        "48000000",
    ],
    "countries": [
        "IRL",
        "NLD",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("datakit/ted-tenders-feed").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",
    "48000000"
  ],
  "countries": [
    "IRL",
    "NLD"
  ]
}' |
apify call datakit/ted-tenders-feed --silent --output-dataset

```

## MCP server setup

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

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/Lmo1zvJIFK38r0xY2/builds/PhFM76Iu9wMRh5itC/openapi.json
