# EU TED Public Procurement Notices & Awards (`immemorial_damask/eu-ted-tenders-official`) Actor

Search official EU TED notices and contract awards via the TED Search API v3. Nordic and industry presets (including Swedish HVAC/VVS and construction), dates, keywords, expert queries, and incremental daily runs for new publication numbers only.

- **URL**: https://apify.com/immemorial_damask/eu-ted-tenders-official.md
- **Developed by:** [Linus Holmgren](https://apify.com/immemorial_damask) (community)
- **Categories:** Lead generation, Developer tools, AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 tender-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 Public Procurement Notices & Awards (Official API)

**Search official EU TED public procurement notices and contract awards** and get clean, flat JSON in seconds. This Actor uses the official [TED Search API v3](https://docs.ted.europa.eu/api/latest/search.html) — no unofficial HTML scraping, no API key, and no personal contact fields.

Click **Start** with the prefilled input (active tenders from the last 14 days, 25 results, English) to try it immediately. Filter further by **Nordics**, **Swedish HVAC / VVS**, **construction**, **IT / software**, or a custom expert query.

**Price: $1.50 per 1,000 notices** (`$0.0015` per written `tender-notice`). Duplicates, filtered-out records, and API errors are never charged.

### What is EU TED Public Procurement Notices & Awards?

[Tenders Electronic Daily (TED)](https://ted.europa.eu) is the official online version of the Supplement to the Official Journal of the European Union. Contracting authorities across Europe publish **calls for tender** and **contract award notices** there.

This Actor turns that official API into an Apify dataset you can schedule, export, or call from an **AI / MCP agent**. You get:

- Official EU data with legal commercial reuse of procurement notices (see attribution below)
- Regional presets for **Nordics** (Sweden, Norway, Denmark, Finland, Iceland), DACH, Benelux, and EU-27
- Industry presets with official 8-digit CPV codes, including **Swedish HVAC / VVS**, **construction**, **IT / software**, energy, healthcare, and transport
- Daily monitoring: `publishedLastDays` plus an optional incremental Key-Value Store so only **new publication numbers** are written and billed
- Multilingual TED maps flattened to readable text (`Ramavtal ventilation`, never raw `{"swe":["..."]}`)
- Working `tedUrl`, plus `pdfUrl` / `xmlUrl` when TED provides them
- Limited permissions, predictable **pay-per-event** pricing, and Apify platform features such as scheduling, webhooks, and integrations (Zapier, Make, n8n, API)

### How to scrape EU TED tenders

1. Open this Actor and keep the prefilled input, or choose a preset (for example `regionPreset: "nordics"` and `industryPreset: "hvac_vvs"`).
2. Click **Start**. The Actor calls `POST https://api.ted.europa.eu/v3/notices/search` and writes clean records to the default dataset.
3. Open the **Overview** table for publication number, title, buyer, country, value, deadline, and TED link — or download JSON / CSV / Excel.
4. Optionally schedule a daily run with `publishedLastDays: 1` and `incrementalStateStoreName` so you only pay for new notices.

No TED API key is required. A free Apify account is enough to try the prefilled run.

### How much does it cost to extract EU TED data?

Pricing is **pay per event**, not pay per compute unit:

| Event | When it is charged | Price |
| --- | --- | --- |
| `tender-notice` (primary) | Once for each unique notice written to the dataset | **$0.0015** ($1.50 / 1,000) |
| `apify-actor-start` | Once when the run starts | $0.00005 |

**What 1,000 notices cost:** `$1.50` in `tender-notice` events, plus one start event (`$0.00005`). Platform usage is not billed on top of these events.

**What is never charged:** API errors and retries, duplicate publication numbers in the same run, incremental skips, and records dropped by deadline or value filters.

A typical 25-notice trial is about **$0.04**. A daily Nordic incremental run that finds 10 new notices is about **$0.015**. The run's `maxItems` cap and the user's `maxTotalChargeUsd` budget are both honored.

### Input examples

#### Default try-it-now input (prefilled)

```json
{
  "mode": "active_tenders",
  "publishedLastDays": 14,
  "language": "en",
  "maxItems": 25
}
```

#### Swedish HVAC / VVS and construction tenders

```json
{
  "mode": "all",
  "countries": ["SWE"],
  "industryPreset": "hvac_vvs",
  "publishedLastDays": 60,
  "language": "sv",
  "maxItems": 100
}
```

Add `"industryPreset": "construction"` (or the CPV codes `45000000` and `71000000` in `cpvCodes`) when you want building works and related engineering services.

#### Nordic IT and software open tenders (daily incremental)

```json
{
  "mode": "active_tenders",
  "regionPreset": "nordics",
  "industryPreset": "it_software",
  "publishedLastDays": 1,
  "onlyOpenDeadlines": true,
  "language": "auto",
  "incrementalStateStoreName": "ted-nordic-it-seen",
  "maxItems": 200
}
```

#### EU public contract awards tracker

```json
{
  "mode": "awards",
  "publishedLastDays": 7,
  "language": "en",
  "maxItems": 100
}
```

#### Input fields

| Field | What it does |
| --- | --- |
| `mode` | `active_tenders` (scope=ACTIVE, form-type=competition), `awards` (form-type=result), `all`, or `custom_query` |
| `regionPreset` | `none` | `nordics` (SWE, NOR, DNK, FIN, ISL) | `dach` | `benelux` | `all_eu` |
| `countries` | Extra ISO-3 buyer countries, merged with the preset |
| `industryPreset` | `hvac_vvs`, `construction`, `it_software`, `energy_green`, `healthcare`, `transport` |
| `cpvCodes` | Extra official 8-digit CPV codes (hyphen check digits are stripped) |
| `keywords` | Optional terms against title and procedure description |
| `publishedLastDays` / `publishedFrom` / `publishedTo` | Publication-date window (`YYYY-MM-DD`) |
| `onlyOpenDeadlines` | Keep notices whose submission deadline is still in the future |
| `minEstimatedValue` / `maxEstimatedValue` | Client-side numeric filters (no currency conversion) |
| `rawExpertQuery` | Full TED expert query, or an extra AND-clause |
| `language` | `auto`, `en`, `sv`, `de`, `fr`, `no`, `da`, `fi` |
| `incrementalStateStoreName` | Named Key-Value Store for daily “new notices only” runs |
| `maxItems` | UI prefill 25; default 100. Also honors the run’s PPE budget cap |

### Output example

Each dataset item is a flat JSON record. Award notices populate `awardedValue`, `awardedCurrency`, and `winnerNames` when TED v3 returns them.

```json
{
  "publicationNumber": "661883-2026",
  "publicationDate": "2026-09-24T22:00:00.000Z",
  "title": "Sverige – Byggnadsinstallationsarbeten – Ramavtal ventilation",
  "noticeType": "cn-standard",
  "formType": "competition",
  "buyerName": "Sankt Kors Fastighetsaktiebolag",
  "buyerCountry": "SWE",
  "buyerCity": "LINKÖPING",
  "cpvMain": "45300000",
  "cpvAdditional": ["45331000", "45331200", "50700000"],
  "submissionDeadline": "2026-10-23T21:59:59.000Z",
  "estimatedValue": 75000000,
  "estimatedCurrency": "SEK",
  "awardedValue": null,
  "awardedCurrency": null,
  "winnerNames": [],
  "tedUrl": "https://ted.europa.eu/sv/notice/-/detail/661883-2026",
  "pdfUrl": "https://ted.europa.eu/sv/notice/661883-2026/pdf",
  "sourceAttribution": "Source: TED – Tenders Electronic Daily (https://ted.europa.eu)...",
  "scrapedAt": "2026-11-24T00:00:00.000Z"
}
```

The **Overview** dataset view shows publication number, title, buyer, country, estimated value, currency, deadline, and TED URL. An **Awards** view highlights winners and awarded amounts. Run statistics (query, counts, skip reasons) are stored as the `STATS` record in the default key-value store.

### Incremental daily monitoring

To run a Swedish VVS / HVAC digest every morning without paying twice for the same notice:

1. Create a Task with `countries: ["SWE"]`, `industryPreset: "hvac_vvs"`, `publishedLastDays: 2`, `language: "sv"`, and a stable `incrementalStateStoreName` such as `ted-sweden-vvs-seen`.
2. Schedule the Task daily (for example 07:00 Europe/Stockholm).
3. Add an email, Slack, or webhook integration that fires when the dataset is not empty.

The same pattern works for Nordic IT (`regionPreset: "nordics"`, `industryPreset: "it_software"`) or EU-wide awards (`mode: "awards"`).

### Use this Actor with AI agents and MCP

This Actor is designed for **AI agents** and the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp). Pass a structured input (`mode`, region or industry presets, `publishedLastDays`, `maxItems`). The dataset items use stable field names, official TED URLs, and `sourceAttribution` on every row.

Agents can chain this Actor with CRM or outreach tools for **lead generation**, or with a daily incremental Task for “what is new today?” monitoring. Limited permissions keep the run scoped to this Actor’s storages.

### FAQ

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

No. The official TED Search API v3 is unauthenticated. You only need an Apify account to run the Actor.

#### Is it legal to reuse EU TED notices commercially?

Unless a notice says otherwise, procurement notices may be freely reused for commercial or non-commercial purposes. Editorial content of the SIMAP/TED websites is licensed under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) and requires credit plus an indication of changes. This dataset is a derived reuse and is not an official EU publication. See the [TED legal notice](https://ted.europa.eu/en/legal-notice) and the attribution field on every record.

#### Why are some award winner or value fields empty?

TED v3 sometimes omits `winner-name` or `result-value-notice`, or only fills them at lot level. The Actor maps notice-level fields when they exist and leaves the others `null` rather than inventing data. Currency is often embedded in the official value string (for example `"689540 PLN"`) and is parsed into `awardedValue` + `awardedCurrency`.

#### Why is a submission deadline missing?

The generic TED `deadline` field is often empty. The Actor prefers `deadline-receipt-request` and `deadline-receipt-tender-date-lot` when those are present. `onlyOpenDeadlines` applies both in the query and again client-side.

#### Does this scrape personal data?

No. The Actor requests only official organisation-level fields (buyer name, official winner organisation names, values, CPV, links). It does not collect personal emails or private contact details.

#### How do I call it from the Apify API?

```bash
curl -X POST "https://api.apify.com/v2/acts/immemorial_damask~eu-ted-tenders-official/runs?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"mode":"active_tenders","publishedLastDays":14,"maxItems":25,"language":"en"}'
```

You can also schedule the Actor, use integrations, or run it through MCP.

#### Can you build a custom procurement feed?

Yes. This Actor already covers Nordic and industry presets; a scheduled incremental Task is usually enough for a daily digest. If you need a custom CPV mix, language, or delivery format, open an issue on the Actor page.

### Legal attribution

Source: [TED – Tenders Electronic Daily](https://ted.europa.eu), the official online version of the Supplement to the Official Journal of the European Union. © European Union, 1998-2026.

Unless otherwise noted, procurement notices may be freely reused for commercial or non-commercial purposes. Editorial content of the SIMAP/TED websites is licensed under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/); reuse requires appropriate credit and indication of any changes. This dataset is a derived reuse and is not an official EU publication.

### Local development

Requires Node.js 22+. The repository can run locally without an Apify account.

```bash
cd apify-ted-tenders
npm install
npm test
npm run test:live
npm run build
```

Live tests call `https://api.ted.europa.eu/v3/notices/search` and write sanitized samples under `samples/`. Technical API notes are in [`docs/TED-API-NOTES.md`](docs/TED-API-NOTES.md).

# Changelog

This Actor's version history is a separate document: https://apify.com/immemorial_damask/eu-ted-tenders-official/changelog.md

# Actor input Schema

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

active_tenders uses scope=ACTIVE and form-type=competition. awards uses form-type=result (contract award notices). all returns matching notices of any form type. custom_query uses rawExpertQuery only.

## `regionPreset` (type: `string`):

ISO-3 buyer countries merged with any values in countries. nordics = SWE, NOR, DNK, FIN, ISL. dach = DEU, AUT, CHE. benelux = BEL, NLD, LUX. all_eu = EU-27.

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

Additional or standalone ISO 3166-1 alpha-3 buyer country codes, e.g. SWE, NOR, DEU. Merged with regionPreset and de-duplicated.

## `industryPreset` (type: `string`):

Official CPV 2008 parent codes, which TED matches hierarchically. hvac_vvs targets Swedish VVS / HVAC installation, equipment and maintenance. construction covers works (45000000) and related architectural/engineering services (71000000).

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

Additional official 8-digit CPV codes (hyphen check digits and labels are stripped). Short prefixes are rejected by TED; use a parent such as 45000000 instead of 45.

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

Optional terms matched against notice-title and description-proc with TED's ~ operator. Combined with OR.

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

Inclusive publication-date start, YYYY-MM-DD. Converted to TED's YYYYMMDD format.

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

Inclusive publication-date end, YYYY-MM-DD. Converted to TED's YYYYMMDD format.

## `publishedLastDays` (type: `integer`):

Convenient window for daily schedules: publication-date >= today(-N) AND publication-date <= today(). Combined with publishedFrom / publishedTo if both are set.

## `onlyOpenDeadlines` (type: `boolean`):

Keep notices whose submission deadline is still in the future. Applied both in the expert query and again client-side, because TED's deadline field is often empty on frameworks and change notices.

## `minEstimatedValue` (type: `number`):

Optional client-side filter on the notice estimated value (numeric amount only; currency is not converted). Notices without an estimated value are dropped when this is set.

## `maxEstimatedValue` (type: `number`):

Optional client-side filter on the notice estimated value (numeric amount only; currency is not converted).

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

Official TED Search API v3 expert query. In custom_query mode this is the entire query. In other modes it is AND-combined with the generated clauses. Example: buyer-country = SWE AND classification-cpv = 45330000 AND publication-date >= today(-30)

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

Language used when flattening TED multilingual maps such as notice-title and buyer-name. auto picks the buyer country's language, then English, then any remaining value. Users never see raw {"swe":\["..."]} maps.

## `deduplicateByPublicationNumber` (type: `boolean`):

Drop repeated publication numbers within the same run before writing or charging.

## `incrementalStateStoreName` (type: `string`):

Optional named Apify Key-Value Store. Scheduled runs load previously emitted publication numbers and only write & charge for new ones. Create the store once and reuse the same name on a daily schedule.

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

Hard cap on notices written to the dataset. Also respects the run's PPE budget (ACTOR_MAX_TOTAL_CHARGE_USD / ChargingManager). Default 100.

## Actor input object example

```json
{
  "mode": "active_tenders",
  "regionPreset": "none",
  "countries": [],
  "industryPreset": "none",
  "cpvCodes": [],
  "keywords": [],
  "publishedLastDays": 14,
  "onlyOpenDeadlines": false,
  "language": "en",
  "deduplicateByPublicationNumber": true,
  "maxItems": 25
}
```

# Actor output Schema

## `notices` (type: `string`):

Clean, flat JSON records for TED notices and awards (publication number, buyer, CPV, deadlines, values, winners, official TED/PDF/XML links).

## `stats` (type: `string`):

Query, scope, fetch counts, skip reasons, and whether the PPE budget cap was reached.

# 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 = {
    "mode": "active_tenders",
    "publishedLastDays": 14,
    "language": "en",
    "maxItems": 25
};

// Run the Actor and wait for it to finish
const run = await client.actor("immemorial_damask/eu-ted-tenders-official").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 = {
    "mode": "active_tenders",
    "publishedLastDays": 14,
    "language": "en",
    "maxItems": 25,
}

# Run the Actor and wait for it to finish
run = client.actor("immemorial_damask/eu-ted-tenders-official").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 '{
  "mode": "active_tenders",
  "publishedLastDays": 14,
  "language": "en",
  "maxItems": 25
}' |
apify call immemorial_damask/eu-ted-tenders-official --silent --output-dataset

```

## MCP server setup

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

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/4Cn64j02AZCLumxmN/builds/tqDdWWnxZ2lx0wsoU/openapi.json
