# EU TED Tenders & Contract Awards Monitor (`surefeed/eu-ted-tenders-awards-monitor`) Actor

Search and monitor EU public tenders, RFPs and contract awards from the official TED API. Track deadlines, buyers, winners, CPV codes and changes.

- **URL**: https://apify.com/surefeed/eu-ted-tenders-awards-monitor.md
- **Developed by:** [gianluca de dominicis](https://apify.com/surefeed) (community)
- **Categories:** Business, Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 1,000 tender or award notices

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 TED Tenders & Contract Awards Monitor

Stop downloading the same notices every day. Search the official **Tenders Electronic Daily (TED) API** once, or schedule the Actor and receive only actionable procurement changes.

Use it to find and monitor:

- new EU public tenders and RFPs;
- changed submission deadlines;
- updated buyers, CPV codes, estimated values, and notice versions;
- newly published contract awards, winners, and contract details.

The Actor uses the official TED Search API v3, not scraped search-result HTML. It is an independent service and is not affiliated with or endorsed by the European Union.

### Why use this Actor

| Common workflow | This Actor |
|---|---|
| Download the same notices repeatedly | Save only new or materially changed records |
| Read raw eForms fields | Receive normalized buyer, CPV, deadline, value, winner, and contract fields |
| Compare snapshots manually | Receive `NEW_TENDER`, `DEADLINE_CHANGED`, `AWARD_PUBLISHED`, or `UPDATED` |
| Treat an outage as “no tenders” | Fail explicitly; never turn a TED error into a false zero |
| Maintain a custom integration | Use Apify schedules, API, webhooks, MCP, and dataset exports |

Typical users include bid teams, procurement intelligence providers, public-sector suppliers, consultants, and market-research workflows.

### Quick start

The Store prefill searches recent IT procurements in Germany, France, and Italy and returns at most 10 notices:

```json
{
  "cpvCodes": ["72*"],
  "countries": ["DEU", "FRA", "ITA"],
  "formType": "competition",
  "publishedWithinDays": 7,
  "maxResults": 10
}
```

`72*` is a CPV prefix. Exact codes such as `72000000` are also accepted. Countries use TED three-letter codes, for example `DEU`, `FRA`, `ITA`, `ESP`, or `NLD`.

You can also search phrases and open deadlines:

```json
{
  "keywords": ["cyber security"],
  "countries": ["ITA"],
  "deadlineAfter": "2026-12-01",
  "publishedWithinDays": 30,
  "maxResults": 25
}
```

Multiple keywords are combined with `AND`. Multiple countries and CPV codes are combined as alternatives within their filter.

### Monitor only changes

Set `onlyChanges` to `true`, choose a stable `monitorKey`, and schedule the same configuration:

```json
{
  "cpvCodes": ["72*"],
  "countries": ["DEU", "FRA", "ITA"],
  "formType": "any",
  "publishedWithinDays": 30,
  "maxResults": 100,
  "onlyChanges": true,
  "monitorKey": "eu-software-opportunities"
}
```

The first run uses `baselineMode: "silent"` by default. It creates a baseline without incorrectly labeling every existing notice as new. Later successful runs emit only:

- `NEW_TENDER` — a newly observed non-result notice;
- `DEADLINE_CHANGED` — one or more tender deadlines changed;
- `AWARD_PUBLISHED` — a result notice appeared or a tracked notice gained award data;
- `UPDATED` — another tracked field changed.

Monitor state is kept in the persistent `eu-ted-monitor-state` key-value store. Recently missing records are retained for the search window, so pagination movement does not make a known notice look new again.

Keep the same filters, `maxResults`, `maxPages`, and `monitorKey`. If you intentionally change the search, use a new monitor name. Do not run the same monitor concurrently, because two overlapping runs can read the same baseline.

### Output

Every saved dataset item has a stable normalized shape. Fields that TED did not publish remain `null` or empty; the Actor never guesses them.

```json
{
  "changeType": "NEW_TENDER",
  "publicationNumber": "786359-2026",
  "noticeIdentifier": "c5ebb0cb-7326-45ae-8cc9-048ede07ca19",
  "noticeVersion": "5",
  "publicationDate": "2026-11-12",
  "title": "Technical event support services",
  "formType": "competition",
  "noticeType": "cn-standard",
  "procedureType": "open",
  "buyerName": "Example Federal Ministry",
  "buyerCountry": "DEU",
  "cpvCodes": ["50340000", "72250000"],
  "placesOfPerformance": ["DEU"],
  "deadline": "2026-12-14",
  "deadlines": ["2026-12-14"],
  "estimatedValue": null,
  "currency": null,
  "estimatedValues": [],
  "winnerNames": [],
  "contractIdentifiers": [],
  "tedUrl": "https://ted.europa.eu/en/notice/-/detail/786359-2026"
}
```

Multi-value fields such as lots, deadlines, buyers, winners, and contracts remain arrays. `estimatedValues` keeps procedure and lot amounts separate. Set `includeRaw: true` only when you also need the original TED response.

Every run writes `RUN_SUMMARY` to its default key-value store. It reports the source status, TED match count, fetched and emitted records, duplicate count, pages, truncation, baseline state, charging limit, and stop reason.

### Pricing

Simple pay-per-result pricing:

- **$2.50 per 1,000 saved notices** (`$0.0025` each);
- **$0.00005 per Actor start** using Apify's synthetic start event;
- unchanged monitor records are not charged as notice results;
- failed, invalid, or unavailable TED responses are not returned as billable notice results.

| Saved notices | Notice charge | Including one start |
|---:|---:|---:|
| 0 | $0.0000 | $0.00005 |
| 10 | $0.0250 | $0.02505 |
| 25 | $0.0625 | $0.06255 |
| 100 | $0.2500 | $0.25005 |
| 1,000 | $2.5000 | $2.50005 |

The Store Pricing tab is authoritative. Apify plan limits or platform charges can apply separately. `maxResults` is a hard search and cost guard, and the Actor stops when the run's pay-per-event limit is reached.

### API

Run synchronously and receive dataset items as JSON:

```bash
curl -X POST \
  "https://api.apify.com/v2/acts/surefeed~eu-ted-tenders-awards-monitor/run-sync-get-dataset-items?format=json" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "cpvCodes": ["72*"],
    "countries": ["ITA"],
    "publishedWithinDays": 7,
    "maxResults": 10
  }'
```

Keep API tokens in an environment variable or secret manager. Never commit them to source code or place them in public URLs.

For recurring monitoring, use an Apify task, schedule, and webhook instead of a long synchronous request.

### Use with AI assistants

Expose the Actor through the Apify MCP server at `https://mcp.apify.com`. MCP clients can then make structured requests such as:

- “Find software tenders published in Italy during the last seven days.”
- “Show new contract awards for CPV 72000000.”
- “Which monitored tender deadlines changed since yesterday?”

Use a small `maxResults` value for exploratory agent calls.

### Advanced TED query

`rawExpertQuery` accepts a native TED expert expression and combines it with the simple filters using `AND`:

```json
{
  "rawExpertQuery": "(buyer-name ~ \"ministry\") AND (procedure-type = open)",
  "publishedWithinDays": 14,
  "maxResults": 50
}
```

The Actor first asks TED to validate the complete query. Invalid syntax fails with `TED_QUERY_REJECTED`; it never becomes a misleading empty dataset.

### Reliability and limits

- HTTP 429, transient server errors, network failures, and timeouts use bounded retries.
- Malformed JSON, missing response fields, `timedOut: true`, and inconsistent empty pages fail explicitly as `TED_SOURCE_UNAVAILABLE`.
- TED responses are deduplicated by publication number.
- Only the latest notice version is requested, while version changes remain detectable.
- Search scope is `ALL`, so result and contract-award notices are not accidentally excluded.
- TED allows up to 250 notices and 10,000 selected fields per page; the Actor calculates a safe page size.
- `RUN_SUMMARY.truncated: true` means `maxResults` or `maxPages` stopped retrieval before every TED match was returned.

No public-data monitor can guarantee that an upstream database is complete, accurate, or current. Always open `tedUrl` and verify official documents before making legal, commercial, eligibility, or deadline-sensitive decisions.

### FAQ

#### Do I need a TED API key?

No for published-notice searches. You need an Apify account/token only when invoking the Actor through the Apify API.

#### Can a TED outage look like “no results”?

No. A timeout, HTTP error, malformed response, or incomplete page fails the run. A legitimate zero is accepted only after a structurally valid TED response.

#### Why are some fields empty?

Forms and procedures differ, and buyers do not publish every field. Missing information remains empty rather than being inferred.

#### Can I monitor several markets?

Yes. Combine countries, CPV codes, and keywords, or create separate named monitors for unrelated searches.

#### Is TED data reusable commercially?

Unless otherwise noted, procurement notices may be reused for commercial or non-commercial purposes. SIMAP editorial content is licensed under CC BY 4.0, which requires attribution and indication of changes; SIMAP system metadata is dedicated under CC0 1.0.

### Data source, attribution, and legal notice

Source: **Tenders Electronic Daily (TED), Publications Office of the European Union**, accessed through the official TED Search API.

This Actor normalizes and monitors source data; the linked official TED notice remains authoritative. TED data may not be comprehensive, complete, accurate, or current. The Actor does not provide legal, procurement, or professional advice.

- [TED legal notice](https://ted.europa.eu/en/legal-notice)
- [TED Search API documentation](https://docs.ted.europa.eu/api/latest/search.html)

# Actor input Schema

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

Words or exact phrases to find in the full notice text. Multiple values must all match.

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

Optional Common Procurement Vocabulary codes. Prefixes such as 72\* are accepted.

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

Three-letter country codes used by TED, for example DEU, FRA, ITA, or ESP.

## `formType` (type: `string`):

Competition finds open/planned opportunities; result finds award notices.

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

Uses UTC calendar dates. Keep this small for cheap recurring monitoring.

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

Optional ISO date (YYYY-MM-DD). Notices without a matching lot deadline may be excluded by TED.

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

Hard output and cost limit for this run.

## `onlyChanges` (type: `boolean`):

Stores a snapshot in the persistent eu-ted-monitor-state key-value store. Reuse the same filters and monitor name on later checks.

## `monitorKey` (type: `string`):

Optional stable name when multiple monitors share one key-value store.

## `baselineMode` (type: `string`):

Silent saves the first snapshot without output or charges. Emit returns the initial matches.

## `rawExpertQuery` (type: `string`):

Optional raw TED expert-mode expression combined with the filters above using AND. Use this when a convenience filter does not expose the TED field you need.

## `includeRaw` (type: `boolean`):

Adds the original TED fields to each saved record. Leave disabled for smaller, cleaner datasets.

## `maxPages` (type: `integer`):

Safety limit. TED returns at most 250 notices per page.

## `requestTimeoutSeconds` (type: `integer`):

Maximum time for one TED API request before a bounded retry or explicit failure.

## Actor input object example

```json
{
  "keywords": [],
  "cpvCodes": [
    "72*"
  ],
  "countries": [
    "DEU",
    "FRA",
    "ITA"
  ],
  "formType": "competition",
  "publishedWithinDays": 7,
  "maxResults": 10,
  "onlyChanges": false,
  "baselineMode": "silent",
  "includeRaw": false,
  "maxPages": 20,
  "requestTimeoutSeconds": 30
}
```

# Actor output Schema

## `dataset` (type: `string`):

Normalized current notices or monitoring changes saved to the default dataset.

## `runSummary` (type: `string`):

Source status, counts, truncation, monitoring state, charging limit, and stop reason.

# 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": [],
    "cpvCodes": [
        "72*"
    ],
    "countries": [
        "DEU",
        "FRA",
        "ITA"
    ],
    "formType": "competition",
    "publishedWithinDays": 7,
    "maxResults": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("surefeed/eu-ted-tenders-awards-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 = {
    "keywords": [],
    "cpvCodes": ["72*"],
    "countries": [
        "DEU",
        "FRA",
        "ITA",
    ],
    "formType": "competition",
    "publishedWithinDays": 7,
    "maxResults": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("surefeed/eu-ted-tenders-awards-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 '{
  "keywords": [],
  "cpvCodes": [
    "72*"
  ],
  "countries": [
    "DEU",
    "FRA",
    "ITA"
  ],
  "formType": "competition",
  "publishedWithinDays": 7,
  "maxResults": 10
}' |
apify call surefeed/eu-ted-tenders-awards-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,surefeed/eu-ted-tenders-awards-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/yuwPeWXyrqj2adY6s/builds/PvpFeJI4Yq2Sgv29B/openapi.json
