# TED Europa EU Public Tenders Scraper (`whthpnd/ted-europa-eu-tenders-scraper`) Actor

Fast, proxy-free European Union public procurement scraper powered by TED Europa API v3. Search EU tenders by country, CPV codes, keyword, and publication date with localized titles, cities, deadlines, and official tender URLs.

- **URL**: https://apify.com/whthpnd/ted-europa-eu-tenders-scraper.md
- **Developed by:** [DirectAPI Labs](https://apify.com/whthpnd) (community)
- **Categories:** Automation, Other
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.70 / 1,000 result items

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/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

## TED Europa EU Public Tenders Scraper

Fast, **proxy-free** European Union public procurement scraper (`256 MB` RAM) powered by the official **TED Europa API v3** (`ted.europa.eu`). Search active EU government contracts and public tenders by country, CPV procurement codes, keywords, and publication date — with localized titles, cities, submission deadlines, and direct notice URLs.

### Why Use This Actor?

- **Official TED Europa API v3:** Pulls authoritative European public procurement notices directly from `api.ted.europa.eu` with zero fragile HTML scraping.
- **Precise Targeting by Country & CPV Code:** Filter effortlessly across all EU/EEA member states (`DEU`, `FRA`, `ESP`, `ITA`, `POL`, `NLD`, `ROU`, etc.) and standardized CPV categories (`72000000` IT, `45000000` Construction, `79000000` Business Services), or pass any raw `customQuery` in TED Expert Search syntax.
- **Multi-Language Output:** Choose your preferred ISO3 language code (`eng`, `deu`, `fra`, `spa`, `ita`, `pol`, etc.) for localized titles and cities.
- **Minimal Compute Cost:** Runs cleanly on `256 MB` RAM without proxies or browser overhead.

### Input Parameters

| Field | Type | Default | Description |
|---|---|---|---|
| `countries` | Array | `["DEU"]` (prefill) | Three-letter ISO country codes (`DEU`, `FRA`, `ESP`, `POL`, `NLD`, `ROU`). |
| `cpvCodes` | Array | `[]` | Common Procurement Vocabulary (CPV) codes (e.g., `72000000`, `45000000`). |
| `searchQuery` | String | `""` | Keyword filter across tender notices. |
| `publishedAfter` | String | `""` | `YYYY-MM-DD` lower date bound (defaults to last 30 days). |
| `language` | String | `"eng"` | ISO3 preferred language (`eng`, `deu`, `fra`, `spa`). |
| `customQuery` | String | `""` | Optional raw TED Expert Search query (overrides filters above). |
| `maxNotices` | Integer | `100` | Maximum tender notices to extract (`1`–`200`). |

#### Example Input

```json
{
  "countries": ["DEU", "FRA", "NLD"],
  "cpvCodes": ["72000000"],
  "searchQuery": "cloud",
  "language": "eng",
  "maxNotices": 100
}
```

### Output Format

Each dataset item represents one EU public procurement notice:

```json
{
  "publicationNumber": "741298-2026",
  "url": "https://ted.europa.eu/en/notice/-/detail/741298-2026",
  "title": "Cloud Infrastructure & Managed Kubernetes Services",
  "publicationDate": "2026-11-22",
  "deadlineDate": "2026-12-28",
  "countries": ["DEU"],
  "cities": ["Berlin"],
  "cpvCodes": ["72000000", "72250000"],
  "documentType": "cn-standard",
  "contractNature": "services",
  "authorityType": "body-pl",
  "buyerType": "cga"
}
```

### Pricing & Cost Efficiency

- **Pricing model:** Pay-Per-Event (`$0.00005` per Actor start + `$0.002` per tender = `$2.00` per 1,000 notices).
- **Compute footprint:** Default `256 MB` RAM (~`$0.0001` compute cost) and **zero proxy charges**.

### Integrations & Automation

Connect daily tender alerts straight into **n8n**, **Make**, **Slack**, **HubSpot**, **Google Sheets**, or **AI Bid-Qualification Agents (MCP)**.

### FAQ

**How do I find CPV codes for my industry?**
Standard EU procurement uses 8-digit CPV codes (e.g., `72000000` for IT services, `45000000` for construction, `48000000` for software packages).

**Can I run raw TED Expert Search syntax?**
Yes — pass any valid TED query expression into `customQuery` to override the standard filter fields.

**Which country code format is required?**
Use 3-letter ISO 3166-1 alpha-3 codes (`DEU`, `FRA`, `ITA`, `ESP`, `POL`, `BEL`, `NLD`, `AUT`, `SWE`, etc.).

**Are proxies needed?**
No — TED Europa API v3 is queried natively without proxies.

# Actor input Schema

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

Three-letter ISO country codes (e.g., DEU, FRA, ESP, ITA, POL, NLD, ROU). Leave empty for all EU countries.

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

Optional Common Procurement Vocabulary (CPV) codes (e.g., 72000000 for IT services, 45000000 for construction).

## `searchQuery` (type: `string`):

Optional keyword filter across tender text/titles.

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

Only return notices published on or after this date (defaults to last 30 days).

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

Three-letter ISO language code for localized notice titles and cities (e.g., eng, deu, fra, spa).

## `customQuery` (type: `string`):

Optional raw TED Expert Search query (overrides countries, cpvCodes, searchQuery, and publishedAfter).

## `maxNotices` (type: `integer`):

Maximum total number of EU tender notices to extract.

## Actor input object example

```json
{
  "countries": [
    "DEU"
  ],
  "language": "eng",
  "maxNotices": 100
}
```

# Actor output Schema

## `tenders` (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 = {
    "countries": [
        "DEU"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("whthpnd/ted-europa-eu-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 = { "countries": ["DEU"] }

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

```

## MCP server setup

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

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/CXuSwlWAwpHEdepmu/builds/Vuao9MixKY0FMTJwN/openapi.json
