# EU TED Tender Notices Search (`anythinggoessolutions/eu-ted-notices`) Actor

Search EU tenders on TED by CPV code with the code hierarchy explained: 72000000 also finds sub-codes. Bad codes, short keywords and invalid expert queries stop with a clear message.

- **URL**: https://apify.com/anythinggoessolutions/eu-ted-notices.md
- **Developed by:** [Anything Goes Solutions](https://apify.com/anythinggoessolutions) (community)
- **Categories:** Lead generation, Business, Agents
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 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.

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 Tender Notices

Unofficial search of EU procurement notices from the public TED Search API v3. Rows include the title in the language you ask for when TED publishes it, the buyer, country, CPV codes, deadline, values, and links to the notice and PDF.

**Data source:** [TED Search API v3](https://docs.ted.europa.eu/api/latest/search.html). Public API only. No scraping and no login.
**API key needed:** No.

### What it does

- Builds an expert query from the filters, or sends `expertQuery` alone when you set it.
- Uses TED iteration tokens. A repeated token stops the loop.
- Sends `checkQuerySyntax: false`. Setting it to true makes TED return no notices for a valid query, so this Actor does not do that. An invalid query still comes back as HTTP 400, and the run fails with "TED rejected the query".
- Rejects keywords shorter than 3 characters. A bounded probe of a 2-character full-text term reported a `totalNoticeCount` above 400,000, so those terms are not sent.

### How to use

1. No key is required.
2. Set the input, or keep the defaults, and start the run.
3. Download the default dataset, or read it with the Apify API.

### Input

| Field | What it does |
|---|---|
| `keywords` | Full text, combined with OR. At least 3 characters each. |
| `buyerCountries` | ISO 3166-1 alpha-3, for example `DEU`. |
| `cpvCodes` | Exactly 8 digits. TED treats CPV as a hierarchy: `72000000` also matches more specific codes. A notice can list other CPV codes as well; they are returned as published. `72x` is rejected locally. |
| `noticeTypes` | `cn-standard`, `cn-social`, `cn-desg`, `pin-only`, `pin-cfc-standard`, `can-standard`, `can-social`, `can-modif`, `veat`, `corr`. Empty means all types. |
| `publishedWithinDays` | Used when `publishedFrom` is empty. |
| `publishedFrom`, `publishedTo` | `YYYY-MM-DD`. From after to is rejected. |
| `openOnly` | Adds a deadline filter of today (UTC) or later. |
| `language` | `eng`, `fra`, `deu`, `spa`, `ita`, `nld`, `pol`, or `por`. Missing text falls back to English, then to another language TED sent. |
| `expertQuery` | Replaces every filter above. At most 4000 characters. |
| `maxItems` | Hard cap from 1 to 100000. |

`scope` is not on the form. If an API caller sends it, the only accepted values are `ALL` (the default), `LATEST`, and `ACTIVE`.

### Output

One row per TED publication number. A notice with no publication number is not saved.

The JSON below is a **synthetic example**. It is not a real notice and not a real buyer.

```json
{
  "publicationNumber": "000000-2026",
  "title": "Example software support (synthetic)",
  "lotTitle": "Example software support (synthetic)",
  "description": "Synthetic description used only to show the field.",
  "noticeType": "cn-standard",
  "procedureType": "open",
  "contractNature": ["services"],
  "publicationDate": "2026-01-15+01:00",
  "tenderDeadline": "2026-02-15+01:00",
  "buyerName": "Example Regional Authority (synthetic)",
  "buyerCountry": "DEU",
  "buyerCity": "Example City",
  "placeOfPerformance": ["DE300"],
  "cpvCodes": ["72000000"],
  "estimatedValue": 100000.0,
  "estimatedValueCurrency": "EUR",
  "totalValue": null,
  "totalValueCurrency": null,
  "url": "https://ted.europa.eu/en/notice/-/detail/000000-2026",
  "pdfUrl": "https://ted.europa.eu/en/notice/000000-2026/pdf",
  "source": "TED Search API v3",
  "fetchedAt": "2026-01-16T00:00:00+00:00"
}
```

`RUN_STATS` includes the query that was sent, `totalAvailable` from the first response, and `chargeEvent` (`result-item`).

### Pricing

Pricing is pay per event. The amount for each event is the price displayed on the Apify Store when you start the run. This README does not set or quote a price.

Per saved row, the events are mutually exclusive:

| Event | Role |
|---|---|
| `result-item` | The only per-row charge in this Actor's code. Charged once for each row written to the default dataset. |
| `apify-actor-start` | Platform start event. Apify adds it for a pay-per-event Actor. This Actor does not charge a second start event. |
| `apify-default-dataset-item` | Platform event that also charges every default-dataset row if it is left enabled. Remove it in Console pricing. Leaving it on charges each saved row twice. |

At the maximum cost, the run stops. The SDK does not write a row it cannot charge, except one row it may still write so the platform can record the limit. Rows saved before a later error stay in the dataset and stay charged, and the run is then marked failed.

### Limits

- Estimated and total values are present only when the buyer published them.
- Each request asks only for the number of rows still needed, up to 250.
- Source errors are returned as a short status message.

### Legal

**Disclaimer.** This Actor is an independent, unofficial tool. It is not affiliated with, endorsed by, sponsored by, or approved by the Publications Office of the European Union, the European Commission, or any EU institution or any other government body. "TED (Tenders Electronic Daily)" is used only to describe the data source. Data is retrieved from the official public API listed above and is provided as published, without warranty of accuracy or completeness. Check the official notice before acting on it. You are responsible for complying with the source's terms of use and licence.

The Publications Office of the European Union publishes TED. Confirm the current reuse terms on TED's own legal notice before republishing notices. This README does not cite a Commission decision, because that citation was not re-checked against the current legal notice in this draft.

### For AI agents

Search EU public procurement notices on TED by keyword, buyer country, and CPV, and return notice records with buyer, dates, values, and links.

Agents can find, price, and run this Actor through [Apify AGI](https://agi.apify.com) and the [Apify MCP server](https://mcp.apify.com). It uses limited permissions, so it is eligible for [agentic payments](https://docs.apify.com/agents/payments). There is no separate opt-in.

Example input:

```json
{
  "keywords": [
    "software"
  ],
  "buyerCountries": [
    "DEU",
    "FRA"
  ],
  "publishedWithinDays": 7,
  "openOnly": false,
  "language": "eng",
  "maxItems": 10
}
```

Output fields: `publicationNumber`, `title`, `lotTitle`, `description`, `noticeType`, `procedureType`, `contractNature`, `publicationDate`, `tenderDeadline`, `buyerName`, `buyerCountry`, `buyerCity`, `placeOfPerformance`, `cpvCodes`, `estimatedValue`, `estimatedValueCurrency`, `totalValue`, `totalValueCurrency`, `url`, `pdfUrl`, `source`, `fetchedAt`.

Price per 1,000 tender notices: **$2.00** (configured `result-item` event, "Tender notice", at $0.002 each). A platform `apify-actor-start` event of $0.00005 per GB of memory is also charged once per run. Confirm the live price on the [Store pricing page](https://apify.com/anythinggoessolutions/eu-ted-notices/pricing) before a paid run.

# Actor input Schema

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

Matched against full notice text, combined with OR. Each keyword must be at least 3 characters. A 2-character probe matched hundreds of thousands of notices, so shorter keywords are rejected before the API is called.

## `buyerCountries` (type: `array`):

e.g. DEU, FRA, IRL, NLD.

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

Exactly 8 digits, for example 72000000. TED matches that code and more specific codes under it. A notice may also list other CPV codes; those are returned as published. Values such as 72x are rejected before the API is called.

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

Leave empty for all types.

## `publishedWithinDays` (type: `integer`):

Used when 'Published from' is empty.

## `publishedFrom` (type: `string`):

Optional.

## `publishedTo` (type: `string`):

Optional.

## `openOnly` (type: `boolean`):

Filter to still-open tenders.

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

Falls back to the original language if a translation is missing.

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

Optional raw TED expert-search query; overrides all filters above. See TED expert search help.

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

Each result is one billable event.

## Actor input object example

```json
{
  "keywords": [
    "software"
  ],
  "buyerCountries": [
    "DEU",
    "FRA"
  ],
  "publishedWithinDays": 7,
  "openOnly": false,
  "language": "eng",
  "maxItems": 100
}
```

# Actor output Schema

## `results` (type: `string`):

Default dataset. The overview view is selected.

## `runStats` (type: `string`):

Key-value record RUN_STATS, written only after a successful 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 = {
    "keywords": [
        "software"
    ],
    "buyerCountries": [
        "DEU",
        "FRA"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("anythinggoessolutions/eu-ted-notices").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 = {
    "keywords": ["software"],
    "buyerCountries": [
        "DEU",
        "FRA",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("anythinggoessolutions/eu-ted-notices").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 '{
  "keywords": [
    "software"
  ],
  "buyerCountries": [
    "DEU",
    "FRA"
  ]
}' |
apify call anythinggoessolutions/eu-ted-notices --silent --output-dataset

```

## MCP server setup

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

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/hgvI6CchRNsjNcE5b/builds/Ha7IQop0dwcl263WN/openapi.json
