# EU TED Tenders (`publicrecords/eu-ted-notices-scraper`) Actor

EU TED Tenders — scrape EU public procurement notices from the official TED Search API v3. Anonymous search, no API key. Flat JSON for EU GovCon BD.

- **URL**: https://apify.com/publicrecords/eu-ted-notices-scraper.md
- **Developed by:** [Marc M](https://apify.com/publicrecords) (community)
- **Categories:** Business, Lead generation, AI
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 result rows

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

### What does EU TED Notices Scraper do?

Pulls **EU public procurement notices** from the official **TED Search API v3** (`POST https://api.ted.europa.eu/v3/notices/search`) into flat JSON for European GovCon / BD workflows. Anonymous search — **no API key**.

**Not affiliated with the Publications Office of the European Union or TED.** Cite TED / OJ S as the source; do not imply endorsement. Do not use TED logos without OP consent.

### Why this Actor?

Store coverage for dedicated TED Actors is thin. This Actor focuses on reliable HTTP JSON, Expert Search filters (keywords, dates, notice type, CPV, buyer country), and **unbilled** error rows (named `errors` dataset).

### Input

| Field | Required | Notes |
|-------|----------|--------|
| `keywords` | no | Full-text → `FT~"…"`. |
| `publicationDateFrom` / `To` | no | `YYYY-MM-DD`; default from = 14 days ago → `PD>=` / `PD<=`. |
| `noticeType` | no | e.g. `cn-standard`, `can-standard`. |
| `cpv` | no | e.g. `72000000`. |
| `buyerCountry` | no | ISO3, e.g. `DEU`. |
| `expertQuery` | no | Raw Expert Search (overrides structured filters). |
| `scope` | no | `ALL` (default) or `ACTIVE`. |
| `maxItems` | no | Default 50. |

### Output

Default dataset: noticeId (publication-number), title, noticeType, publicationDate, buyer, buyerCountry, cpv, ojsNumber, html/pdf/xml links, retrieval timestamp.\
**Errors go only to named dataset `errors` and are not charged under PPE.**

### Pricing

Pay-per-event (live Store PPE):

| Event | Price |
|-------|-------|
| Actor start | ~$0.00005 |
| Dataset item (**successful** notice only) | **$0.003** |
| Error / diagnostic rows (`errors` dataset) | **Not charged** |

Examples: 1 start + 100 notices ≈ **$0.30** · 1 start + 1,000 notices ≈ **$3.00**.

### Legal / terms (read before production)

This Actor calls the **public TED Search API** only (published notices; not eSender / unpublished flows).

From TED Developer Docs (Search API):

> "this API is primarily targeted at data reusers and does not require authentication"

> "Commercial Organisations: Integrating TED data into platforms to provide added-value services for vendors and buyers."

Publications Office recommends technical users use the **public API** (fair usage) rather than scraping the CMS. Procurement notices are generally reusable commercially under Commission reuse policy; attribute TED/OJ S; no endorsement; TED logos need OP permission. **Bulk XML FTP commercial redissemination** historically may involve a free password process — Mark should confirm Store SaaS redistrib posture before publish. Public notice metadata only; no login-gated or personal-data harvest.

### Docs

https://docs.ted.europa.eu/api/latest/search.html\
https://ted.europa.eu/en/simap/developers-corner-for-reusers

# Actor input Schema

## `keywords` (type: `string`):

Optional. Mapped to TED expert-search FT~"…" full-text. Ignored if expertQuery is set.

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

Optional raw TED Expert Search expression. When set, overrides keywords / dates / noticeType / cpv / buyerCountry filters (you must include SORT BY yourself if desired). Example: buyer-country=DEU AND PD>=20260101 SORT BY publication-date DESC

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

Optional. Default: 14 days ago. Converted to TED PD>=YYYYMMDD. Ignored if expertQuery is set.

## `publicationDateTo` (type: `string`):

Optional. Converted to TED PD<=YYYYMMDD. Ignored if expertQuery is set.

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

Optional eForms notice-type filter (e.g. cn-standard, can-standard, pin-only, pin-cfc-standard). Ignored if expertQuery is set.

## `cpv` (type: `string`):

Optional Common Procurement Vocabulary code (e.g. 72000000). Mapped to classification-cpv. Ignored if expertQuery is set.

## `buyerCountry` (type: `string`):

Optional ISO 3166-1 alpha-3 buyer country (e.g. DEU, FRA, NLD). Mapped to buyer-country. Ignored if expertQuery is set.

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

TED scope: ALL (archive) or ACTIVE (currently open). Default ALL.

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

Maximum notice rows to push to the default dataset.

## Actor input object example

```json
{
  "keywords": "software",
  "publicationDateFrom": "2026-09-01",
  "publicationDateTo": "2026-09-16",
  "noticeType": "cn-standard",
  "cpv": "72000000",
  "buyerCountry": "DEU",
  "scope": "ALL",
  "maxItems": 50
}
```

# 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("publicrecords/eu-ted-notices-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("publicrecords/eu-ted-notices-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 publicrecords/eu-ted-notices-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,publicrecords/eu-ted-notices-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/1hKgWhRY5iLiVdfdR/builds/bbvAPebVIlruga08L/openapi.json
