# EU TED Tenders (Official Search API) (`innovito/ted-eu-tenders`) Actor

Official European public procurement notices from the TED Search API v3 (Tenders Electronic Daily). Structured rows: buyer, CPV, value, deadline and official TED links. No login, no personal contact fields.

- **URL**: https://apify.com/innovito/ted-eu-tenders.md
- **Developed by:** [Asier Sanchez](https://apify.com/innovito) (community)
- **Categories:** Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 66.7% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 ted 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 (Official Search API)

Get official **European public procurement notices** from Tenders Electronic Daily (TED) as clean JSON or CSV rows.

The Actor calls the **official TED Search API v3**. No HTML scraping, no login and no API key. It requests public, non-personal fields only (no email, phone, street address, person or UBO fields).

Ideal for companies that bid in the EU, tender-monitoring tools and AI/MCP or n8n agents that need the official TED link.

### What you get

| Field | Description |
|---|---|
| `publicationNumber`, `publicationDate` | Official TED reference and date |
| `noticeType`, `procedureType` | Notice and procedure type |
| `title`, `description` | Title and short description (contact details redacted if present) |
| `buyerName`, `buyerCity`, `buyerCountry` | Contracting authority (organisation) and location |
| `cpvCodes` | CPV classification codes |
| `estimatedValue`, `currency` | Estimated value when published |
| `deadline` | Tender receipt deadline |
| `htmlUrl`, `pdfUrl` | Official TED links |
| `sourceAttribution` | Required credit line |

### Input example

```json
{
  "dateFrom": "2026-11-20",
  "dateTo": "2026-11-22",
  "buyerCountry": "ESP",
  "cpvPrefixes": ["72"],
  "keywords": ["suministro", "servicios"],
  "language": "spa",
  "maxItems": 10,
  "maxPages": 1
}
```

`buyerCountry` accepts TED alpha-3 codes (`ESP`, `FRA`, `DEU`) or alpha-2 (`ES`, `FR`, `DE`). Leave `noticeTypes` empty for all types, or set e.g. `cn-standard`, `can-standard`.

### Output example

```json
{
  "publicationNumber": "00654321-2026",
  "publicationDate": "2026-11-22",
  "noticeType": "cn-standard",
  "procedureType": "open",
  "contractNature": "services",
  "title": "IT support services for a public administration",
  "buyerName": "Ministerio de Hacienda",
  "buyerCity": "Madrid",
  "buyerCountry": "ESP",
  "cpvCodes": ["72000000"],
  "estimatedValue": 250000.0,
  "currency": "EUR",
  "deadline": "2026-12-20",
  "placeOfPerformance": ["ESP"],
  "htmlUrl": "https://ted.europa.eu/en/notice/-/detail/00654321-2026",
  "sourceAttribution": "Fuente: Tenders Electronic Daily (TED), Publications Office of the European Union. https://ted.europa.eu",
  "scrapedAt": "2026-11-23T21:00:00+00:00"
}
```

### Python example (`apify-client`)

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("innovito/ted-eu-tenders").call(
    run_input={
        "dateFrom": "2026-11-20",
        "dateTo": "2026-11-22",
        "buyerCountry": "ESP",
        "cpvPrefixes": ["72"],
        "language": "spa",
        "maxItems": 10,
        "maxPages": 1,
    }
)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["publicationNumber"], item["title"], item.get("htmlUrl"))
```

### Pricing

Pay-per-event: $1.50 per 1,000 tenders written to the dataset, plus $0.00005 per Actor start. You are not charged for platform compute.

### Data source and terms

- API: `POST https://api.ted.europa.eu/v3/notices/search` ([TED developers corner](https://ted.europa.eu/en/simap/developers-corner-for-reusers)).
- Credit the Publications Office of the European Union / TED. Do not present this Actor as an official EU product.
- Only public, non-personal fields are requested. Residual emails or phones in free-text titles are replaced with placeholders.

***

## Licitaciones europeas TED (API oficial)

Extrae los **anuncios oficiales de contratación pública de la UE** de Tenders Electronic Daily (TED) en filas JSON o CSV.

Llama a la **API oficial TED Search v3**. Sin scraping HTML, sin inicio de sesión y sin clave. Solo pide campos públicos no personales (no email, teléfono, calle, persona ni UBO).

Ideal para empresas que licitan en la UE, herramientas de vigilancia de concursos y agentes de IA, MCP o n8n que necesitan el enlace oficial al TED.

### Qué devuelve

| Campo | Descripción |
|---|---|
| `publicationNumber`, `publicationDate` | Referencia y fecha oficiales del TED |
| `noticeType`, `procedureType` | Tipo de anuncio y de procedimiento |
| `title`, `description` | Título y descripción (contactos redactados si aparecen) |
| `buyerName`, `buyerCity`, `buyerCountry` | Poder adjudicador (organización) y ubicación |
| `cpvCodes` | Códigos CPV |
| `estimatedValue`, `currency` | Valor estimado, si se publica |
| `deadline` | Plazo de recepción de ofertas |
| `htmlUrl`, `pdfUrl` | Enlaces oficiales del TED |
| `sourceAttribution` | Línea de atribución obligatoria |

### Ejemplo de entrada

```json
{
  "dateFrom": "2026-11-20",
  "dateTo": "2026-11-22",
  "buyerCountry": "ESP",
  "cpvPrefixes": ["72"],
  "keywords": ["suministro", "servicios"],
  "language": "spa",
  "maxItems": 10,
  "maxPages": 1
}
```

### Ejemplo de salida

```json
{
  "publicationNumber": "00654321-2026",
  "publicationDate": "2026-11-22",
  "noticeType": "cn-standard",
  "title": "IT support services for a public administration",
  "buyerName": "Ministerio de Hacienda",
  "buyerCountry": "ESP",
  "cpvCodes": ["72000000"],
  "estimatedValue": 250000.0,
  "currency": "EUR",
  "deadline": "2026-12-20",
  "htmlUrl": "https://ted.europa.eu/en/notice/-/detail/00654321-2026",
  "sourceAttribution": "Fuente: Tenders Electronic Daily (TED), Publications Office of the European Union. https://ted.europa.eu"
}
```

### Ejemplo en Python (`apify-client`)

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("innovito/ted-eu-tenders").call(
    run_input={
        "dateFrom": "2026-11-20",
        "dateTo": "2026-11-22",
        "buyerCountry": "ESP",
        "cpvPrefixes": ["72"],
        "language": "spa",
        "maxItems": 10,
    }
)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["publicationNumber"], item["title"], item.get("htmlUrl"))
```

### Precio

Pago por uso: 1,50 $ por cada 1.000 licitaciones escritas en el dataset, más 0,00005 $ por arranque. No se cobra el cómputo de la plataforma.

### Origen y condiciones

- API: `POST https://api.ted.europa.eu/v3/notices/search` ([rincón de reutilizadores del TED](https://ted.europa.eu/en/simap/developers-corner-for-reusers)).
- Hay que citar a la Oficina de Publicaciones de la UE / TED. Este Actor no es un producto oficial de la UE.
- Solo se piden campos públicos no personales. Los correos o teléfonos residuales en textos libres se sustituyen por un marcador.

# Actor input Schema

## `dateFrom` (type: `string`):

First publication date (YYYY-MM-DD). If empty, the Actor looks back <code>lookbackDays</code> from the end date.

## `dateTo` (type: `string`):

Last publication date (YYYY-MM-DD). Defaults to today (UTC).

## `lookbackDays` (type: `integer`):

When <code>dateFrom</code> is empty, how many days to request ending at <code>dateTo</code>. Capped at 31.

## `buyerCountry` (type: `string`):

ISO country of the contracting authority. TED uses alpha-3 codes (<code>ESP</code>, <code>FRA</code>, <code>DEU</code>). Alpha-2 (<code>ES</code>, <code>FR</code>, <code>DE</code>) is accepted and converted. Use <code>ALL</code> for every country. Default: Spain. For Spanish buyers use <code>ESP</code> (or <code>ES</code>, which is normalised).

## `noticeTypes` (type: `array`):

Optional TED notice-type filters, e.g. <code>cn-standard</code> (contract notice), <code>can-standard</code> (contract award). Empty = all types in the date window.

## `cpvPrefixes` (type: `array`):

Keep notices whose CPV starts with one of these codes, e.g. <code>72</code> or <code>45000000</code>. Empty = no CPV filter.

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

Keep notices whose title, buyer or description contains one of these words (case-insensitive). Spanish examples: <code>suministro</code>, <code>servicios</code>, <code>consultoría</code>.

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

Language for multilingual titles and official HTML/PDF links.

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

If set, this TED expert-search query replaces the date/country/type filters. Example: <code>publication-date >= today(-7) AND classification-cpv = 72000000</code>. Dates use YYYYMMDD or today(-N).

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

Stop after this many notices. 0 = no item cap (still limited by max pages).

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

Each page has up to 50 notices. Capped at 10.

## Actor input object example

```json
{
  "lookbackDays": 3,
  "buyerCountry": "ESP",
  "language": "spa",
  "maxItems": 50,
  "maxPages": 5
}
```

# Actor output Schema

## `tenders` (type: `string`):

Dataset of official EU TED public procurement notices from the Search API v3 (one row per notice).

## `runStats` (type: `string`):

RUN_STATS record: pages fetched, notices parsed and pushed, totalNoticeCount from the API.

# 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("innovito/ted-eu-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("innovito/ted-eu-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 innovito/ted-eu-tenders --silent --output-dataset

```

## MCP server setup

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