# TED Europa EU Tenders & Procurement API Scraper (MCP Ready) (`iomz/ted-europa-tenders-mcp`) Actor

Fast official v3 JSON API extractor for European Union public procurement notices, CPV codes, buyers, and tender deadlines on TED Europa—bypasses web UI WAF blocks on 128 MB RAM.

- **URL**: https://apify.com/iomz/ted-europa-tenders-mcp.md
- **Developed by:** [Omar Nasser](https://apify.com/iomz) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 eu 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/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

## TED Europa EU Tenders & Procurement API Scraper (MCP Ready)

Extract official European Union public procurement notices, CPV categories, contracting authorities, contract natures, and submission deadlines directly from **TED Europa's official v3 Search API** (`api.ted.europa.eu/v3/notices/search`).

Unlike HTML/browser scrapers that get blocked by TED's **HTTP 405 AWS WAF CAPTCHA** on `ted.europa.eu`, this Actor queries the official REST JSON API directly on **128 MB RAM with zero proxies** — built for European B2G sales teams, tender-intelligence pipelines, n8n/Make workflows, and AI agents via **[mcp.apify.com](https://mcp.apify.com)**.

***

### Why Use This Actor?

- **Bypasses AWS WAF UI Blocks Cleanly:** Calls the official `POST https://api.ted.europa.eu/v3/notices/search` endpoint using `ITERATION` cursor pagination — zero headless browsers, zero CAPTCHAs, sub-second pages.
- **Rolling Freshness by Default:** Leave `publishedAfter` blank to automatically query the **last 30 days** of EU procurement notices (no stale hardcoded dates).
- **Multilingual Normalization:** Automatically resolves multilingual `notice-title`, `buyer-name`, and document links (`HTML`, `XML`, `PDF`) into your `preferredLanguage` (`eng`, `deu`, `fra`, `spa`, etc.) with clean automatic fallback.
- **Expert Query Support:** Combine CPV codes and ISO-3 countries with zero syntax effort, or pass any raw TED v3 `expertQuery` for advanced procurement filters.
- **Predictable Bundled Pricing:** **$1.50 per 1,000 notices** (`tender-result` event, platform compute included).

***

### Input Parameters

| Field | Type | Default | Description |
|---|---|---|---|
| `cpvCodes` | `string[]` | `["72000000"]` | EU Common Procurement Vocabulary codes (e.g. `72000000` IT services, `45000000` construction, `33000000` medical equipment). Joined with `OR`. |
| `countries` | `string[]` | `[]` | ISO 3166-1 alpha-3 buyer country codes (`DEU`, `FRA`, `NLD`, `ESP`, `ITA`, `BEL`, `POL`, etc.). Leave empty for all EU/EEA countries. |
| `publishedAfter` | `string` | `""` | Optional `YYYYMMDD` start date (e.g. `20261101`). Leave empty to automatically search the last 30 days. |
| `expertQuery` | `string` | `""` | Optional raw TED v3 expert query (overrides `cpvCodes`, `countries`, and `publishedAfter`). |
| `preferredLanguage` | `string` | `"eng"` | 3-letter ISO language code prioritized when extracting multilingual titles and buyer names. |
| `maxResults` | `integer` | `100` | Maximum number of notices to retrieve (`1`–`10000`). |

#### Example Input

```json
{
  "cpvCodes": ["72000000", "48000000"],
  "countries": ["DEU", "NLD", "FRA"],
  "publishedAfter": "",
  "preferredLanguage": "eng",
  "maxResults": 100
}
```

***

### Output Format & Sample Record

Each item in the default dataset represents one official EU procurement notice:

```json
{
  "publicationNumber": "741822-2026",
  "publicationDate": "2026-11-28+01:00",
  "noticeType": "cn-standard",
  "title": "Germany: Cloud infrastructure modernization and managed DevOps services",
  "buyerName": "ITDZ Berlin — Informationstechnikzentrum Berlin",
  "buyerCountries": ["DEU"],
  "cpvCodes": ["72000000", "72222300"],
  "contractNature": ["services"],
  "submissionDeadlines": ["2027-01-14T12:00:00+01:00"],
  "noticeUrl": "https://ted.europa.eu/en/notice/-/detail/741822-2026",
  "xmlUrl": "https://ted.europa.eu/en/notice/741822-2026/xml",
  "pdfUrl": "https://ted.europa.eu/en/notice/741822-2026/pdf",
  "scrapedAt": "2026-12-02T11:20:00+00:00"
}
```

A compact `RUN_SUMMARY` JSON record (containing `query`, `totalAvailable`, and `totalNoticesPushed`) is also written to the Key-Value Store on every run.

***

### Use with AI Agents (MCP) & Automation

#### MCP Prompt Example (`mcp.apify.com`)

Connect `iomz/ted-europa-tenders-mcp` to Claude, Cursor, Windsurf, or OpenAI Agents:

> *"Find the 25 most recent EU public IT services tenders (CPV `72000000`) from Germany (`DEU`) and the Netherlands (`NLD`), summarize the buyers and submission deadlines, and list the direct TED PDF links."*

#### Python API Example

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("iomz/ted-europa-tenders-mcp").call(run_input={
    "cpvCodes": ["72000000"],
    "countries": ["DEU", "FRA"],
    "maxResults": 50,
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["publicationNumber"], item["buyerName"], item["title"])
```

***

### Pricing & Cost Estimator

Pay-Per-Event (PPE) with **platform usage included** (no extra CU or proxy surcharges):

| Run Volume | Event Price | Estimated Total Cost |
|---|---:|---:|
| 50 notices (daily alert / MCP call) | `$0.0015` / notice | **~$0.075** |
| 500 notices (weekly CPV monitor) | `$0.0015` / notice | **~$0.75** |
| 1,000 notices (full EU sector sweep) | `$0.0015` / notice | **~$1.50** |

***

### FAQ

- **Do I need proxies or an API key?** No. TED Europa's v3 Search API is publicly accessible without authentication or proxies.
- **Is this compliant with EU & Egypt PDPL data rules?** Yes. This Actor extracts strictly public government procurement records published by EU contracting authorities — zero personal data scraping.
- **How do I filter by custom fields (e.g. estimated value or notice type)?** Pass any valid TED v3 syntax in `expertQuery`, such as `classification-cpv = 72000000 AND notice-type = cn-standard AND publication-date >= 20261101`.

# Actor input Schema

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

Optional list of EU CPV codes (e.g. '72000000' for IT services, '45000000' for construction). Joined with OR.

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

Optional 3-letter EU/EEA country codes (e.g. 'DEU', 'FRA', 'NLD', 'ESP', 'ITA', 'BEL'). Leave empty for all countries.

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

Optional start date in YYYYMMDD format (e.g. '20261101'). Leave empty to automatically query the last 30 days.

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

Optional raw TED v3 expert query (e.g. "classification-cpv = 72000000 AND buyer-country = DEU"). If provided, overrides cpvCodes/countries/publishedAfter.

## `preferredLanguage` (type: `string`):

Preferred language key to surface first for multilingual titles and buyer names (e.g. 'eng', 'deu', 'fra', 'spa'). Falls back automatically if unavailable.

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

Maximum number of EU procurement notices to retrieve.

## Actor input object example

```json
{
  "cpvCodes": [
    "72000000"
  ],
  "countries": [],
  "publishedAfter": "",
  "expertQuery": "",
  "preferredLanguage": "eng",
  "maxResults": 100
}
```

# Actor output Schema

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

No description

## `runSummary` (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 = {
    "cpvCodes": [
        "72000000"
    ],
    "countries": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("iomz/ted-europa-tenders-mcp").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 = {
    "cpvCodes": ["72000000"],
    "countries": [],
}

# Run the Actor and wait for it to finish
run = client.actor("iomz/ted-europa-tenders-mcp").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 '{
  "cpvCodes": [
    "72000000"
  ],
  "countries": []
}' |
apify call iomz/ted-europa-tenders-mcp --silent --output-dataset

```

## MCP server setup

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

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/rD01tDcpPVWSeyV3Z/builds/ClDwp9c7IxWO4eOoM/openapi.json
