# TED EU Tenders Scraper (Official TED API v3) (`accommodating_aptitude/ted-eu-tenders`) Actor

Pulls tender notices from the EU's official procurement journal TED (Tenders Electronic Daily) Search API v3: title, buyer, country, contract value, CPV codes, deadline and a direct link. Filter by keyword, CPV code, country, notice type and date range.

- **URL**: https://apify.com/accommodating_aptitude/ted-eu-tenders.md
- **Developed by:** [Korhan Coşan Ergün](https://apify.com/accommodating_aptitude) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.60 / 1,000 tender notice founds

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 EU Tenders Scraper (Official TED API v3)

Search and export **European public procurement notices** from
**TED (Tenders Electronic Daily)** — the European Union's official tender
journal — using the **official, free, keyless
[TED Search API v3](https://docs.ted.europa.eu/api/index.html)**.
No HTML scraping, no browser, no API key, no login.

TED publishes every public contract notice above EU thresholds from all EU
member states plus EEA/Switzerland: roughly 700k notices a year, worth
hundreds of billions of euros.

### What you get

For every matching notice:

| Field | Description |
|---|---|
| `publication_number` | TED publication number (e.g. `700370-2026`) |
| `notice_identifier` | Stable notice UUID |
| `title` | Notice title (English preferred, falls back to other languages) |
| `link` | Direct link to the notice on ted.europa.eu |
| `buyer` | Contracting authority name |
| `buyer_country` | Buyer country (3-letter ISO) |
| `value` | `{amount, currency}` — contract value when published |
| `total_value`, `estimated_value`, `currency` | Raw value fields |
| `deadline` | Deadline for receipt of tenders/requests (ISO 8601) |
| `publication_date`, `dispatch_date` | Notice dates |
| `notice_type` | `cn-standard` (contract notice), `can-standard` (award), … |
| `form_type`, `procedure_type` | `competition`, `open`, `neg-w-call`, … |
| `cpv_codes` | Common Procurement Vocabulary codes |
| `place_of_performance` | NUTS / country codes |
| `winners` | Awarded supplier names (on award notices) |
| `description` | Procurement description |
| `scraped_at`, `source_url` | Provenance |

### Filters

- **Keyword** — searched in the full notice text or title only
- **CPV codes** — `72000000` (IT services), `45000000` (construction), …
- **Buyer countries** — 3-letter ISO codes: `DEU`, `FRA`, `ITA`, `ESP`, …
- **Notice types** — `cn-standard`, `can-standard`, `pin-only`, …
- **Date range** — either "last N days" or explicit `dateFrom` / `dateTo`
- **Max items** — hard cap on result count

### Typical uses

- Bid/tender monitoring for contractors and consultancies
- Market intelligence: who buys what, at what value, in which country
- Competitor tracking via award notices (`can-standard` + `winners`)
- Lead generation for B2G sales teams
- Feeding a tender alerting product or internal dashboard

### Pricing

Pay per event: you are charged per tender notice pushed to the dataset
(`tender-found`). A run that returns nothing costs nothing.

### Notes on data source and compliance

- All data comes from the official endpoint
  `POST https://api.ted.europa.eu/v3/notices/search`. Nothing is scraped
  from HTML.
- TED data is published for re-use under the European Commission's open data
  policy (Decision 2011/833/EU).
- `api.ted.europa.eu` is an API gateway and serves no browsable HTML, so it
  publishes no `robots.txt`. Requests are rate-limited to ≤ ~2/second with
  retry/backoff on `429`/`5xx`.

### Local development

```bash
cd ted-eu-tenders
APIFY_LOCAL=1 python main.py        # writes to ./storage/datasets/default
```

# Actor input Schema

## `keyword` (type: `string`):

Word to search for in the tender notice, e.g. 'software', 'construction', 'cloud'. Can be left empty.

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

Where the keyword is searched: the whole notice text, or the title only.

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

Common Procurement Vocabulary (CPV) codes, e.g. '72000000' (IT services), '45000000' (construction). Can be left empty.

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

Country of the contracting authority, as a 3-letter ISO code: 'DEU', 'FRA', 'ITA', 'ESP', 'POL', 'NLD', etc. If left empty, all countries are included.

## `noticeTypes` (type: `array`):

TED notice type codes, e.g. 'cn-standard' (contract notice), 'can-standard' (contract award notice), 'pin-only' (prior information notice). If left empty, all types are included.

## `daysBack` (type: `integer`):

Number of days to look back by publication date. Ignored if 'start/end date' is filled in.

## `dateFrom` (type: `string`):

ISO 8601 date, e.g. '2026-10-01'. If filled in, it is used instead of 'days to look back'.

## `dateTo` (type: `string`):

ISO 8601 date, e.g. '2026-11-10'.

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

Maximum number of tender notices to pull.

## Actor input object example

```json
{
  "keyword": "software",
  "searchScope": "fulltext",
  "cpvCodes": [],
  "countries": [],
  "noticeTypes": [],
  "daysBack": 30,
  "dateFrom": "",
  "dateTo": "",
  "maxItems": 50
}
```

# Actor output Schema

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

Dataset containing all records found in this run.

# 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("accommodating_aptitude/ted-eu-tenders").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("accommodating_aptitude/ted-eu-tenders").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 accommodating_aptitude/ted-eu-tenders --silent --output-dataset

```

## MCP server setup

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

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/YrW8PrWjmJIRZ16u1/builds/b5nc0vQWssyc5Mn62/openapi.json
