# TED Europa EU Public Tenders & Procurement Scraper (`open-data-labs/ted-europa-tenders-scraper`) Actor

Extract European Union public procurement notices, tenders (RFPs), and contract award notices from the official TED (Tenders Electronic Daily) v3 Search API. Supports CPV codes, country filters, date ranges, full-text keywords, and TED expert queries. Zero proxy or API key required.

- **URL**: https://apify.com/open-data-labs/ted-europa-tenders-scraper.md
- **Developed by:** [Leonardo Silveira](https://apify.com/open-data-labs) (community)
- **Categories:** Business, Lead generation, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

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

## TED Europa EU Public Tenders & Procurement Scraper

Extract structured European Union public procurement notices, active tenders (RFPs), and contract award notices directly from the official **TED (Tenders Electronic Daily) v3 Search API** (`https://api.ted.europa.eu/v3/notices/search`).

- **Zero proxies & zero API keys required** — pure-HTTP official EU Open Data endpoint.
- **AI & MCP Ready** — clean, flat JSON schema with English + localized titles, buyer names, CPV codes, contract values, deadlines, and direct HTML/PDF/XML links.
- **Flexible filtering** — filter by notice type (`cn-standard`, `can-standard`, `pin-only`), ISO 3166-1 alpha-3 buyer countries (`DEU`, `FRA`, `ESP`, `ITA`, `PRT`, `NLD`, etc.), 8-digit CPV codes, full-text keywords, minimum value, or raw TED expert queries.

### Example Input

```json
{
  "noticeType": "cn-standard",
  "countries": ["DEU", "FRA"],
  "cpvCodes": ["72000000"],
  "keywords": ["software"],
  "startDate": "2026-11-10",
  "endDate": "2026-11-17",
  "maxResults": 50
}
```

### Pay-Per-Event Pricing

- **Actor Start (`apify-actor-start`)**: `$0.005` per run
- **TED Notice Record (`ted-notice-record`)**: `$0.001` per extracted notice

# Actor input Schema

## `noticeType` (type: `string`):

Filter by EU procurement notice type, or 'all' to include tenders, awards, and prior notices.

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

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

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

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

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

Optional keywords searched across TED notice full text (FT ~ keyword).

## `startDate` (type: `string`):

Start publication date (YYYY-MM-DD). Defaults to 7 days ago if omitted.

## `endDate` (type: `string`):

End publication date (YYYY-MM-DD). Defaults to today if omitted.

## `scope` (type: `string`):

ACTIVE returns active notices only; ALL includes archived/historical notices.

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

Preferred 3-letter language code for titles and buyer names (e.g. eng, deu, fra, spa, por, ita). Falls back to eng or first available.

## `minValueEur` (type: `number`):

Optional minimum estimated or total contract value filter (client-side).

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

Optional raw TED v3 expert query (e.g. 'publication-date >= 20261101 AND buyer-country = DEU'). When set, structured query filters above are ignored.

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

Maximum number of TED notices to return (1-10,000). Free Apify plan runs are capped at 50 items.

## Actor input object example

```json
{
  "noticeType": "cn-standard",
  "countries": [],
  "cpvCodes": [],
  "keywords": [],
  "scope": "ACTIVE",
  "preferredLanguage": "eng",
  "maxResults": 25
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

## `summary` (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 = {
    "noticeType": "cn-standard",
    "maxResults": 25
};

// Run the Actor and wait for it to finish
const run = await client.actor("open-data-labs/ted-europa-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 = {
    "noticeType": "cn-standard",
    "maxResults": 25,
}

# Run the Actor and wait for it to finish
run = client.actor("open-data-labs/ted-europa-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 '{
  "noticeType": "cn-standard",
  "maxResults": 25
}' |
apify call open-data-labs/ted-europa-tenders-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,open-data-labs/ted-europa-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/BPPBavqS62ZwutJvz/builds/Qf0D7goJfUiiuWWUD/openapi.json
