# EU Tenders (TED) - Open Calls & Contract Awards (`j0401/eu-ted-tenders`) Actor

Every EU/EEA tender in TED (~810k notices/year, 27 member states): open calls with submission deadlines, contract awards, buyer, CPV, contract nature and value. Filter by country, CPV prefix, keyword, buyer and date. CPV prefix search, open-only filter, pagination past the 15,000 row cap.

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

## Pricing

from $1.44 / 1,000 eu tender records

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 Tenders (TED) - Open Calls & Contract Awards

The EU publishes **every public procurement notice above its thresholds** in TED (Tenders Electronic Daily) - **over 810,000 notices in 2026 so far** (measured 2026-11-23), from all 27 member states plus the EEA. This actor turns that register into a per-record lookup you can filter: open calls with deadlines you can still bid on, contract awards with the buyer and the value, or a count of what a market looks like by country.

**Built for:** suppliers and contractors sizing a market before bidding, bid teams tracking who is buying what, market researchers counting tenders by country or notice type across the EU, and anyone who needs **the deadline and the buyer** rather than a PDF.

### What you get

One record per notice:

- **publicationNumber**, **noticeType**, **noticeSubtype**, **procedureType**
- **title** and **description**, in English when TED has them
- **buyerName**, **buyerCountry** (ISO-3), **buyerCity**, **buyerIdentifier**
- **publicationDate**, **deadlineDate** - the submission deadline, which is what makes a notice actionable
- **cpvMain**, **cpvAdditional** - the CPV classification
- **contractNature** (works / supplies / services), **placeOfPerformance** (ISO-3 country codes)
- **estimatedValueProc**, **estimatedValueLot**, **estimatedValueCurrency** - TED quotes values in the notice's own currency (EUR, CZK, PLN, RON, SEK, DKK...), so the currency travels with the number
- **noticeUrl**, **xmlUrl**, **pdfUrl** - the human page plus the official XML and PDF

Every field is present on every **notice** record with an empty string when the source has no value, so the key set of `mode=rows` records never varies. `mode=aggregate` returns a smaller, different record type - `groupKey`, `groupCount`, `groupBy` - one per group.

If nothing matches, the run still succeeds and emits a single diagnostic row (`_meta: true`, `stopReason: "empty-result"`) rather than an empty dataset. A `mode=rows` run that is truncated by the charge limit, the asked-for `maxResults`, or the internal time budget emits a `_meta` row saying which (an `aggregate` run marks a short scan the same way). **`_meta` rows are not charged.**

### Examples

**Open construction tenders in Poland** - everything still biddable in the last 30 days, classified under CPV 45:

```json
{ "country": ["POL"], "cpv": ["45"], "openOnly": true, "maxResults": 100 }
```

Note the 30-day default: with no `publishedAfter`, the search covers the last 30 days only. Set `publishedAfter` explicitly to widen it.

**Everything a ministry published this month**, by buyer name:

```json
{ "buyerName": "Ministry of Health", "publishedAfter": "2026-11-01", "maxResults": 200 }
```

**What a market looks like** - count open tenders by buying country:

```json
{ "mode": "aggregate", "groupBy": "country", "cpv": ["45"], "openOnly": true }
```

### Low cost

**From $0.0024 per record, down to $0.00144 at Gold.**

Each notice is one metered record. An aggregate costs one record per group, not per notice scanned. **`_meta` diagnostic rows are not charged.**

To hard-cap a run, set `maxTotalChargeUsd` in the run options: the actor stops when the limit is reached and emits a `_meta` row saying so. `maxResults` caps records per run (0 = up to 5,000 records, or 100 groups in `mode=aggregate`).

### Why this is not a thin wrapper

TED's own search API is not something you can point a key at and get a useful answer from. Three things stand in the way, and all three are load-bearing for anybody buying tender data:

**1. CPV search does not do prefixes.** `classification-cpv` is exact-code only: `4521*` returns exactly what `45210000` returns, and a two-digit code is rejected outright. But the matching *is* hierarchical - a notice classified 45214200 does match a query for 45000000. So the way to ask for "all construction" is to zero-pad the prefix into a full 8-digit code and let TED expand the subtree. This actor does that, which is why `cpv: "45"` returns thousands of construction notices instead of the handful that literally carry the division code.

**2. Most of the register is results, not opportunities.** Measured over 2026: 49% of notices are contract notices, 47% are awards or modifications, and only **4% are still open for bidding** (33,832 rows). Answering "what can I bid on" means filtering on the submission deadline, which TED's query language only exposes through a lot-level date field. `openOnly` handles it.

**3. Pagination stops at 15,000.** `page  limit` is capped at 15,000 - the 61st page of 250 is an error, not an empty page. Anything deeper needs an opaque iteration token, which this actor drives. One run still returns at most **5,000 records** (the ceiling that keeps a single run inside the platform's time and cost budget), and says so with a `_meta` row rather than pretending it was everything. For more, page by date: split `publishedAfter`/`publishedBefore` across runs.

It also fails loudly instead of quietly: a full-corpus probe runs on every run in both modes, a response TED flags as `timedOut` is treated as an error rather than reported as a complete answer, a `keyword` or `buyerName` made only of punctuation is rejected instead of being silently dropped, and a run that matched nothing emits a diagnostic row instead of an empty dataset.

### Data source

**TED - Tenders Electronic Daily**, the EU's official supplement to the Official Journal. `https://ted.europa.eu`. No API key and no account; standard rate limits apply and are retried automatically.

**License:** TED notices may be reused commercially under **Commission Decision 2011/833/EU** on the reuse of Commission documents; the TED datasets published on `data.europa.eu` are licensed **CC BY 4.0**. Attribution: TED, Publications Office of the European Union.

This actor is not affiliated with or endorsed by the European Union.

### Limitations

- **Values are optional.** About 40% of notices publish an estimated value; the empty string means the buyer did not publish one, not zero.
- **Values are not converted.** `estimatedValueProc` is in the notice's own currency - read `estimatedValueCurrency` before adding numbers together. Summing across countries without converting mixes EUR, CZK, PLN, RON, SEK and DKK.
- **Awards carry no deadline.** `deadlineDate` is empty on award and modification notices by design.
- **Titles are TED's English fields; descriptions usually are not.** Every notice in a 250-notice sample of the live window carried an English title, but only about 4% carried an English `description-lot` - that field is normally published in the buyer's own language only. Where TED has no English version, the original language is returned rather than a machine translation.
- **`aggregate` on dimensions other than `country` scans pages.** TED has no GROUP BY, so `noticeType` / `procedureType` / `contractNature` groupings cover a bounded slice of the matching set and emit a `truncated` marker row when they stop early. `country` is counted exactly, one server count per country (EU/EEA plus the non-EU buyers TED also carries: GBR, TUR, SRB, UKR, USA and others).
- **One record may name several buyers.** `buyerName` / `buyerCountry` are the first buyer on the notice; `buyerIdentifier` joins all of them. This is also why a `country` filter combined with `groupBy: "country"` can return more than one row: TED counts a jointly-run notice under every buying country it names, so group counts do not add up to the filtered total.
- **Descriptions are free text from the buyer.** A notice body can contain a contact name or email. Treat it as published text, not as vetted personal data, and strip such fields if you resell it.
- **Deep historical pulls are large.** The default window is 30 days and 50 records. Widen deliberately.

# Actor input Schema

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

rows = one record per notice (default). aggregate = one count row per group (see groupBy).

## `aggregate` (type: `boolean`):

Alias for mode="aggregate".

## `country` (type: `array`):

ISO alpha-3 country codes of the buying authority, e.g. POL, DEU, FRA. Blank = all EU/EEA.

## `cpv` (type: `array`):

CPV classification, as a full 8-digit code or a shorter prefix. '45' = all construction work, '4521' = building construction, '45000000' = the same subtree by its full code. The whole subtree under each code is matched.

## `keyword` (type: `string`):

Full-text search over the notice text, e.g. 'solar', 'road maintenance', 'cleaning'. Blank = any.

## `buyerName` (type: `string`):

Buying authority name or part of it, e.g. 'Stadt Straelen', 'Ministry of Health'. Blank = any.

## `noticeType` (type: `array`):

TED notice type codes, e.g. cn-standard (contract notice, standard) or can-standard (contract award notice, standard). Blank = every type, awards included.

## `openOnly` (type: `boolean`):

Keep only notices whose submission deadline has not passed - i.e. you can still bid. Ignored when deadlineAfter is set explicitly.

## `deadlineAfter` (type: `string`):

Only notices whose submission deadline is on/after this date (YYYY-MM-DD).

## `publishedAfter` (type: `string`):

Only notices published on/after this date (YYYY-MM-DD). Blank = the last 30 days (unless publishedBefore is set, in which case there is no lower bound).

## `publishedBefore` (type: `string`):

Only notices published on/before this date (YYYY-MM-DD). Blank = no upper bound.

## `groupBy` (type: `string`):

Which dimension to aggregate over (only mode=aggregate). country is counted exactly; the other dimensions page through the matching set and report when they stop early.

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

Cap the records pushed (0 = up to 5,000 per run). Each record is metered individually. In mode=aggregate this caps group rows.

## Actor input object example

```json
{
  "mode": "rows",
  "aggregate": false,
  "country": [],
  "cpv": [],
  "keyword": "",
  "buyerName": "",
  "noticeType": [],
  "openOnly": false,
  "deadlineAfter": "",
  "publishedAfter": "",
  "publishedBefore": "",
  "groupBy": "country",
  "maxResults": 50
}
```

# Actor output Schema

## `recordsUrl` (type: `string`):

TED notice records or aggregates - as JSON

## `datasetUrl` (type: `string`):

No description

## `runUrl` (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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("j0401/eu-ted-tenders").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("j0401/eu-ted-tenders").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 '{}' |
apify call j0401/eu-ted-tenders --silent --output-dataset

```

## MCP server setup

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

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/hGPDeAzzg6YPjp6M3/builds/GbtxymiKeZxs4GkHr/openapi.json
