# EU TED European Public Procurement & Tender Scraper (`groundplanes/eu-ted-public-procurement-tender-scraper`) Actor

Scrape EU public procurement tenders, contract awards, and RFPs from the official EU TED (Tenders Electronic Daily) v3 API by CPV code, country, and keyword. Keyless anonymous API with iteration token pagination.

- **URL**: https://apify.com/groundplanes/eu-ted-public-procurement-tender-scraper.md
- **Developed by:** [Groundplane Labs](https://apify.com/groundplanes) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.10 / 1,000 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/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 European Public Procurement & Tender Scraper

Extract official European public procurement tenders, contract award notices (CAN), Prior Information Notices (PIN), and public RFPs from the official EU Publications Office Tenders Electronic Daily (TED) Search REST API v3.

> This actor is an independently developed tool and is not affiliated with, endorsed by, or sponsored by the Publications Office of the European Union or the European Commission.

### What it does

- **EU Public Procurement Monitoring:** Searches above-threshold public contracts across all European Union member states and EEA contracting entities.
- **Multilingual Support:** Delivers notices in your preferred language (e.g. English, French, German), with graceful fallback to the original filing language so notices are never dropped.
- **CPV Code & Geographic Filtering:** Filter tenders precisely using standard Common Procurement Vocabulary 8-digit codes and ISO 3-letter buyer country codes (DEU, FRA, NLD, ESP, ITA, etc.).
- **Value & Contact Points:** Extracts estimated contract values and currencies alongside published official procurement contact emails and buyer details.
- **Deadline Integrity & Timezone Validation:** Emits published tender receipt deadlines exactly as filed, provides normalized ISO timestamps, and detects potential timezone discrepancies (such as German authorities publishing UTC offsets).
- **Automated Gateway Failover:** Built-in failover from `api.ted.europa.eu` to `tedweb.api.ted.europa.eu` on transient upstream gateway errors.

### Who it is for

- **Government Capture & B2B Bid Teams:** Monitor new tender releases, request for proposals (RFPs), and framework agreements across Europe.
- **IT & Cybersecurity Consultancies:** Track high-value digital transformation, software development, and NIS2/DORA public sector procurements.
- **Defense & Aerospace Contractors:** Identify open competitions and subcontracting opportunities across European defense and infrastructure ministries.
- **Procurement Intelligence & Tender Aggregators:** Ingest clean, structured European tender feeds with verified publication dates and direct XML/HTML links.

### Source & Update Cadence

- **Source:** Official EU Publications Office TED Search REST API v3 (`https://api.ted.europa.eu/v3/notices/search`). Anonymous, keyless access.
- **Cadence:** TED publishes new procurement notices daily from Monday through Friday.

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `searchScope` | string (select) | `"ACTIVE"` | Search scope: `ACTIVE` (open notices), `LATEST` (latest daily edition), or `ALL` (full historical archive). |
| `buyerCountriesIso3` | array of string | `["DEU", "FRA", "NLD", "ESP", "ITA", "POL"]` | 3-letter ISO buyer country codes. |
| `cpvCodes` | array of string | `["72000000", "48000000"]` | Common Procurement Vocabulary codes (e.g. 72000000 for IT services). |
| `noticeSubtypesOrTypes` | array of string | `["cn-standard", "can-standard", "pin-only"]` | TED notice types or eForms numeric subtypes. |
| `freeTextKeyword` | string | `""` | Optional keyword to filter across notice full text. |
| `publicationDateFrom` | string | `"20261001"` | Earliest publication date in YYYYMMDD format. |
| `customExpertQuery` | string | `""` | Raw TED expert query string. Overrides structured filters when provided. |
| `preferredLanguage` | string | `"ENG"` | 3-letter language code (e.g. ENG, FRA, DEU) for text extraction. |
| `maxItems` | integer | `1000` | Maximum number of notices to return. |

#### Labeled Canary Input

```json
{
  "searchScope": "ACTIVE",
  "buyerCountriesIso3": ["DEU", "FRA"],
  "cpvCodes": ["72000000"],
  "noticeSubtypesOrTypes": ["cn-standard"],
  "publicationDateFrom": "20261001",
  "preferredLanguage": "ENG",
  "maxItems": 5
}
```

### Output

One row per public procurement notice.

| Field | Type | Description |
|---|---|---|
| `publicationNumber` | string | Official TED notice publication number (e.g. 674448-2026). |
| `noticeType` | string or null | Notice classification (e.g. cn-standard, can-standard). |
| `noticeTitle` | string | Title of notice in preferred or fallback language. |
| `buyerName` | string or null | Contracting authority or buyer organization name. |
| `buyerEmail` | string or null | Official contact email published in notice. |
| `buyerCity` | string or null | City of contracting authority. |
| `buyerCountryCode` | string or null | 3-letter ISO country code of buyer. |
| `cpvCodes` | array of string | Common Procurement Vocabulary codes assigned to contract. |
| `estimatedValueAmount` | number or null | Estimated total contract value in specified currency. TED publishes -1 where a value is undisclosed; that placeholder is emitted as null, never as a negative amount. |
| `estimatedValueCurrency` | string or null | Currency code (e.g. EUR). |
| `publicationDate` | string | Notice publication date (YYYY-MM-DD). |
| `tenderReceiptDeadline` | string or null | Tender receipt deadline date exactly as published in TED's `deadline-receipt-tender-date-lot` field (a date with its UTC offset, e.g. `2026-11-06+01:00`). For multi-lot notices the first lot value is used. |
| `tenderReceiptDeadlineNormalized` | string or null | Normalized ISO timestamp: the published date combined with TED's published `deadline-receipt-tender-time-lot` time when present, otherwise the date with its offset. |
| `deadlineTimezoneNote` | string or null | Advisory note when published timezone offset warrants verification. |
| `winnerOrganizationName` | string or null | Awarded contractor name for contract award notices. |
| `xmlNoticeUrl` | string or null | Direct link to official XML notice document. |
| `tedDetailUrl` | string or null | Direct link to official TED portal detail page. |

#### Sample Row (Real Live EU TED Data)

```json
{
  "publicationNumber": "674448-2026",
  "noticeType": "cn-standard",
  "noticeTitle": "Germany - Software consultancy services - Vergabe von Dienstleistungen fur Abfragen in einem bestehenden Business-Intelligence-System, Web-Anwendungen...",
  "buyerName": "Ministerium des Innern, Integration und Verkehr Rheinland-Pfalz",
  "buyerEmail": "johanna.lorenz@mdi.rlp.de",
  "buyerCity": "Mainz",
  "buyerCountryCode": "DEU",
  "cpvCodes": [
    "72266000",
    "72200000"
  ],
  "estimatedValueAmount": null,
  "estimatedValueCurrency": null,
  "publicationDate": "2026-10-01",
  "tenderReceiptDeadline": null,
  "tenderReceiptDeadlineNormalized": null,
  "deadlineTimezoneNote": null,
  "winnerOrganizationName": null,
  "xmlNoticeUrl": "https://ted.europa.eu/en/notice/674448-2026/xml",
  "tedDetailUrl": "https://ted.europa.eu/en/notice/674448-2026/html"
}
```

### Troubleshooting & Data Notes

- **Pagination and the 15,000-Notice Page Ceiling:** The actor walks results in TED's ITERATION (scroll) mode, which has no total-result ceiling. If TED stops returning iteration tokens mid-walk, the actor falls back to page mode and restarts the walk (dedupe keeps every notice delivered once); page mode is capped by TED at 15,000 notices per query, and a run that hits that ceiling in fallback mode ends PARTIAL. For broad multi-year queries, use `publicationDateFrom` or CPV filters to focus results.
- **Multilingual Fields:** If a notice title is not available in your `preferredLanguage`, the actor falls back to the first other language the notice was filed in, to prevent dropped records. The delivered language distribution is reported in the run log and status.
- **Skipped Notices:** A notice that fails validation (for example an unparseable publication date) is skipped and counted; any skipped notice makes the run PARTIAL, and more than 20% skipped fails the run as a source problem.
- **Buyer Contact Emails:** Buyer emails represent public institutional contact points published directly within the European procurement notice.

If this keeps happening, please open an issue on this actor's Issues tab and we'll fix it fast.

### Changelog

- **0.1.1 (2026-11-02):** CEO review fixes. Tender receipt deadline now comes from the `deadline-receipt-tender-date-lot` / `deadline-receipt-tender-time-lot` pair (the `deadline` field is the dispatch date and differed by days on live notices), with normalization fixed for date-only values carrying a UTC offset. Pagination now actually requests ITERATION mode (`paginationMode`), with page mode as a true fallback under its 15,000-notice ceiling. Failover mid-walk restarts the walk on the failover host without mixing tokens or duplicating rows. Skipped notices and unparseable deadlines now make a run PARTIAL instead of Complete. Multilingual extraction no longer stringifies empty language entries. Stricter response sentinel (response shape, `timedOut`, core fields), TED query rejections (HTTP 400) fail as input errors without the Issues CTA, negative placeholder values ship as null, and the build tag is `audit`.
- **0.1 (2026-11-01):** Initial release. Integration with EU TED Search API v3, eForms support, multilingual extraction, deadline timezone verification, and automated gateway failover.

# Actor input Schema

## `buyerCountriesIso3` (type: `array`):

3-letter ISO country codes of public buyers (e.g. DEU, FRA, NLD, ESP, ITA, POL).

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

Common Procurement Vocabulary (CPV) 8-digit codes (e.g. 72000000 for IT services).

## `customExpertQuery` (type: `string`):

Raw TED expert search query (e.g. 'buyer-country in (FRA) AND total-value > 100000'). Overrides structured filters when provided.

## `freeTextKeyword` (type: `string`):

Optional keyword to search across notice full text.

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

Maximum number of notices to return.

## `noticeSubtypesOrTypes` (type: `array`):

TED notice types (e.g. cn-standard, can-standard, pin-only) or eForms numeric subtypes.

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

3-letter language code (e.g. ENG, FRA, DEU) for extracting multilingual notice fields.

## `publicationDateFrom` (type: `string`):

Earliest notice publication date in YYYYMMDD format (e.g. 20261001).

## `searchScope` (type: `string`):

Scope of notices to search in TED: ACTIVE, LATEST, or ALL.

## Actor input object example

```json
{
  "buyerCountriesIso3": [
    "DEU",
    "FRA",
    "NLD",
    "ESP",
    "ITA",
    "POL"
  ],
  "cpvCodes": [
    "72000000",
    "48000000"
  ],
  "customExpertQuery": "",
  "freeTextKeyword": "",
  "maxItems": 1000,
  "noticeSubtypesOrTypes": [
    "cn-standard",
    "can-standard",
    "pin-only"
  ],
  "preferredLanguage": "ENG",
  "publicationDateFrom": "20261001",
  "searchScope": "ACTIVE"
}
```

# Actor output Schema

## `results` (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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("groundplanes/eu-ted-public-procurement-tender-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("groundplanes/eu-ted-public-procurement-tender-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 '{}' |
apify call groundplanes/eu-ted-public-procurement-tender-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,groundplanes/eu-ted-public-procurement-tender-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/JvRRhHAXMtNYBhV4p/builds/hkfoSdM71IoyIzd2Z/openapi.json
