# TED EU Public Tenders API — Tenders Electronic Daily Scraper (`aspiring_barricade/eu-public-tenders-scraper`) Actor

Search EU & EEA public tenders from the official TED (Tenders Electronic Daily) API. Relevance scoring, deduplication and new-only alerts. Clean flat JSON.

- **URL**: https://apify.com/aspiring\_barricade/eu-public-tenders-scraper.md
- **Developed by:** [Joachim Pouchain](https://apify.com/aspiring_barricade) (community)
- **Categories:** Developer tools, Automation, Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## TED EU Public Tenders API — Tenders Electronic Daily Scraper

Search **EU public tenders** from the official **TED (Tenders Electronic Daily)** API and get a clean, flat dataset with a built-in **relevance score**, automatic **deduplication**, and a **new-only alert mode** for scheduled monitoring. This TED EU public tenders scraper turns the EU's official procurement feed (EU 27 + EEA) into ready-to-use JSON, CSV or Excel for sales, bid monitoring, compliance and AI/RAG pipelines.

Unlike a raw dump, every tender is **scored 0–100** against your keywords and **de-duplicated** across notice versions, so the most relevant opportunities surface first.

### Why this actor

- **Official source, no scraping tricks.** Data comes from the public TED v3 Search API — no residential proxies, no anti-bot games, fully compliant.
- **Relevance scoring (0–100).** Your keywords are weighted across title, CPV and description. Sort or filter by `relevance_score`. Most competitors return an unranked dump.
- **Deduplication.** Tenders re-published across channels/versions are collapsed by a stable key (`notice_id` + buyer + date).
- **New-only alert mode.** On scheduled runs, return *only* notices you haven't seen before — perfect for daily/weekly monitoring without re-processing the same rows.
- **Stable flat schema.** Identical field names across our TED, BOAMP and Awards actors, so your pipeline never breaks.

### Input

| Field | Type | Description |
|-------|------|-------------|
| `keywords` | array | Search terms (full text over title + description), OR-combined. **Required.** |
| `country` | array | Buyer country, ISO alpha-2 or alpha-3 (e.g. `FR`, `DE`, `IT`). Empty = all EU/EEA. |
| `cpv` | array | CPV codes (e.g. `72000000` for IT services). |
| `date_from` / `date_to` | string | `YYYY-MM-DD`. Empty `date_from` = last 30 days. |
| `notice_type` | array | Advanced: TED eForms notice-type codes (e.g. `cn-standard`). |
| `min_value` | integer | Keep only notices with a published value ≥ this amount. |
| `min_relevance_score` | integer | Drop results below this 0–100 score. |
| `alert_new_only` | boolean | Return only notices new since the last run. |
| `alert_key` | string | Namespace so different saved searches keep separate history. |
| `max_items` | integer | Maximum results to return. |

#### Example input

```json
{
  "keywords": ["software", "cybersecurity"],
  "country": ["FR", "DE"],
  "cpv": ["72000000"],
  "date_from": "2026-05-01",
  "min_relevance_score": 30,
  "alert_new_only": false,
  "max_items": 100
}
````

### Output

Each dataset item is a flat, stable record:

```json
{
  "source": "TED",
  "notice_id": "441921-2026",
  "title": "Supply of IT infrastructure and software licences",
  "buyer_name": "Riigi Tugiteenuste Keskus",
  "buyer_country": "EST",
  "cpv_codes": ["48000000", "72000000"],
  "description": "Framework agreement for software licences and related services.",
  "value_amount": 6000000,
  "value_currency": "EUR",
  "publication_date": "2026-06-26",
  "deadline_date": "2026-07-30",
  "notice_type": "cn-standard",
  "award_winner": null,
  "source_url": "https://ted.europa.eu/en/notice/-/detail/441921-2026",
  "relevance_score": 84
}
```

#### Output fields

- `source` — always `TED`.
- `notice_id` — TED publication number (stable id).
- `title`, `description` — best available language (English preferred).
- `buyer_name`, `buyer_country` — contracting authority and ISO country.
- `cpv_codes` — array of CPV classification codes.
- `value_amount`, `value_currency` — published contract value when available.
- `publication_date`, `deadline_date` — ISO `YYYY-MM-DD`.
- `notice_type` — TED eForms notice type.
- `award_winner` — populated for award notices (see the Awards actor for winners).
- `source_url` — direct link to the notice on ted.europa.eu.
- `relevance_score` — keyword relevance, 0–100.

### Use cases

#### B2G sales & business development

Find every open tender matching your offer across the EU, ranked by relevance, and push the best leads straight into your CRM.

#### Bid & opportunity monitoring

Schedule the actor with `alert_new_only: true` to receive only fresh tenders each morning — no duplicates, no noise.

#### Competitive & market intelligence

Track demand by CPV, country and buyer to size markets and spot recurring buyers.

#### Compliance & audit

Maintain an auditable, timestamped record of relevant public procurement activity.

#### RAG / LLM pipelines

The clean flat schema is ideal as a knowledge source for retrieval-augmented generation and tender-summarisation agents.

### Pricing

This actor uses **pay-per-result** pricing: you are charged **$0.005 per tender returned** (per dataset item), plus Apify platform usage. A typical 100-result run costs about **$0.50** in result fees. The `max_items` setting caps your spend, and `alert_new_only` keeps scheduled runs cheap by returning only new notices.

### Data source & licensing

Data is retrieved from the official **TED (Tenders Electronic Daily)** API operated by the Publications Office of the European Union. TED data is re-usable for commercial and non-commercial purposes under **Commission Decision 2011/833/EU**, provided the source is acknowledged. This actor adds no warranty about completeness or accuracy of the underlying notices.

### Notes & limits

- Results default to the last 30 days when no `date_from` is given, so the default run always returns fresh data.
- Some notices omit a structured value; `value_amount` is then `null` and such items are excluded when `min_value` is set.
- TED covers EU 27 + EEA. For French national-level notices below EU thresholds, see our **BOAMP France** actor. To track winners, see our **EU Contract Awards Tracker**.

### Use as an MCP tool (AI agents)

This Actor is available as an **MCP tool** for AI agents (Claude, ChatGPT, Cursor, etc.) through Apify’s hosted MCP server. Point your MCP client at:

```
https://mcp.apify.com/?actors=aspiring_barricade/eu-public-tenders-scraper
```

The Actor’s input schema becomes the tool’s parameters automatically. An Apify API token is required.

### Use in n8n

Run this Actor inside your [n8n](https://n8n.io) workflows using the official **Apify** node (search “Apify” in the n8n nodes panel) and select the Actor `aspiring_barricade/eu-public-tenders-scraper`. A dedicated community node (`n8n-nodes-ted-eu-tenders`) is also being published to npm for one-click installation via **n8n → Settings → Community Nodes**.

# Actor input Schema

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

Search terms matched against the notice title and description (full text). Combined with OR.

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

Optional. Buyer country, ISO 3166 alpha-2 or alpha-3 (e.g. FR, DE, IT or FRA, DEU). Empty = all EU/EEA.

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

Optional Common Procurement Vocabulary codes (e.g. 72000000 for IT services).

## `date_from` (type: `string`):

Optional start date (YYYY-MM-DD). Empty = last 30 days.

## `date_to` (type: `string`):

Optional end date (YYYY-MM-DD).

## `notice_type` (type: `array`):

Optional TED eForms notice-type codes (e.g. cn-standard for contract notices). Empty = all types.

## `min_value` (type: `integer`):

Optional. Keep only notices whose published value is at least this amount.

## `min_relevance_score` (type: `integer`):

Optional. Drop results scoring below this keyword-relevance threshold.

## `alert_new_only` (type: `boolean`):

Return only notices not seen in previous runs (persisted per alert key). Great for scheduled monitoring.

## `alert_key` (type: `string`):

Namespace for new-only history so different saved searches keep separate state.

## `max_items` (type: `integer`):

Maximum number of notices to return.

## Actor input object example

```json
{
  "keywords": [
    "software"
  ],
  "country": [],
  "cpv": [],
  "notice_type": [],
  "min_relevance_score": 0,
  "alert_new_only": false,
  "alert_key": "default",
  "max_items": 50
}
```

# 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": [
        "software"
    ],
    "max_items": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("aspiring_barricade/eu-public-tenders-scraper").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": ["software"],
    "max_items": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("aspiring_barricade/eu-public-tenders-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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": [
    "software"
  ],
  "max_items": 50
}' |
apify call aspiring_barricade/eu-public-tenders-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=aspiring_barricade/eu-public-tenders-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "TED EU Public Tenders API — Tenders Electronic Daily Scraper",
        "description": "Search EU & EEA public tenders from the official TED (Tenders Electronic Daily) API. Relevance scoring, deduplication and new-only alerts. Clean flat JSON.",
        "version": "1.0",
        "x-build-id": "LLS3fLJWYhWgUBQsT"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/aspiring_barricade~eu-public-tenders-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-aspiring_barricade-eu-public-tenders-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/aspiring_barricade~eu-public-tenders-scraper/runs": {
            "post": {
                "operationId": "runs-sync-aspiring_barricade-eu-public-tenders-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/aspiring_barricade~eu-public-tenders-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-aspiring_barricade-eu-public-tenders-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "keywords"
                ],
                "properties": {
                    "keywords": {
                        "title": "Keywords",
                        "type": "array",
                        "description": "Search terms matched against the notice title and description (full text). Combined with OR.",
                        "default": [
                            "software"
                        ],
                        "items": {
                            "type": "string"
                        }
                    },
                    "country": {
                        "title": "Countries (ISO codes)",
                        "type": "array",
                        "description": "Optional. Buyer country, ISO 3166 alpha-2 or alpha-3 (e.g. FR, DE, IT or FRA, DEU). Empty = all EU/EEA.",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "cpv": {
                        "title": "CPV codes",
                        "type": "array",
                        "description": "Optional Common Procurement Vocabulary codes (e.g. 72000000 for IT services).",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "date_from": {
                        "title": "Published from",
                        "type": "string",
                        "description": "Optional start date (YYYY-MM-DD). Empty = last 30 days."
                    },
                    "date_to": {
                        "title": "Published to",
                        "type": "string",
                        "description": "Optional end date (YYYY-MM-DD)."
                    },
                    "notice_type": {
                        "title": "Notice types (advanced)",
                        "type": "array",
                        "description": "Optional TED eForms notice-type codes (e.g. cn-standard for contract notices). Empty = all types.",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "min_value": {
                        "title": "Minimum contract value",
                        "type": "integer",
                        "description": "Optional. Keep only notices whose published value is at least this amount."
                    },
                    "min_relevance_score": {
                        "title": "Minimum relevance score (0-100)",
                        "type": "integer",
                        "description": "Optional. Drop results scoring below this keyword-relevance threshold.",
                        "default": 0
                    },
                    "alert_new_only": {
                        "title": "Alert mode: only new since last run",
                        "type": "boolean",
                        "description": "Return only notices not seen in previous runs (persisted per alert key). Great for scheduled monitoring.",
                        "default": false
                    },
                    "alert_key": {
                        "title": "Alert key",
                        "type": "string",
                        "description": "Namespace for new-only history so different saved searches keep separate state.",
                        "default": "default"
                    },
                    "max_items": {
                        "title": "Max results",
                        "type": "integer",
                        "description": "Maximum number of notices to return.",
                        "default": 50
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
