# EU Tenders Scraper (TED Procurement) (`trendlab/eu-ted-tenders-scraper`) Actor

Scrape EU public procurement notices and contract awards from the official TED API. Filter by CPV code, country, buyer, value, and date. Clean, AI-ready JSON. No API key.

- **URL**: https://apify.com/trendlab/eu-ted-tenders-scraper.md
- **Developed by:** [Cheoljae Lee](https://apify.com/trendlab) (community)
- **Categories:** Developer tools, Jobs
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 tender scrapeds

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## EU Tenders Scraper (TED Procurement)

Scrape **EU public procurement tenders and contract awards** from the official **TED (Tenders Electronic Daily)** API — filtered by CPV category, country, buyer, value, and date — as clean, AI-ready JSON. No API key required. The EU publishes ~€2 trillion of procurement a year through TED; this Actor turns it into a structured, filterable feed.

### What does this Actor do?

- 📋 **Tender notices & contract awards** — title, buyer, country, publication date, submission deadline, value, CPV codes
- 🏷️ **Filter by CPV category** — IT (72…), construction (45…), business services (79…), and any other Common Procurement Vocabulary code
- 🌍 **Filter by country** — DEU, FRA, IRL, POL, ESP… any EU member state
- 🔎 **Keyword & notice-type filters** — open tenders (`cn-standard`), awards (`can-standard`), prior info (`pin-only`)
- 🔗 **Direct link** to each notice + XML source
- 🌐 **English-normalized** — picks the English title/buyer name from TED's multilingual data
- 🤖 **AI-ready JSON** — for tender-alert tools, CRM enrichment, market research, and AI agents (via the Apify MCP server)

### Why scrape TED?

EU public procurement is a massive, high-value market, but TED's raw interface is hard to monitor. Vendors, consultancies, construction/IT/services firms, and bid-management teams use this Actor to:

- **Get alerted to new tenders** in their category and country as they publish
- **Feed opportunities into a CRM** or bid pipeline automatically
- **Analyze contract awards** — who's winning, at what value, in which markets
- **Track competitors** and buyer spending patterns
- Power **AI agents** that watch for relevant public-sector opportunities

### Input example

```json
{
  "cpvCodes": ["72000000"],
  "countries": ["DEU", "IRL"],
  "keywords": ["software", "cloud"],
  "publishedFrom": "2026-01-01",
  "maxNotices": 500
}
````

Or use a raw TED expert query for full control:

```json
{ "rawQuery": "classification-cpv=45000000 AND buyer-country=FRA AND publication-date>=20260101" }
```

### Output example

```json
{
  "publicationNumber": "161-2026",
  "title": "Germany — IT services: consulting, software development, Internet and support",
  "noticeType": "can-standard",
  "publicationDate": "2026-01-02",
  "deadline": "2026-02-15",
  "buyerName": "Bundesagentur für Arbeit",
  "buyerCountry": "DEU",
  "totalValue": 719735.8,
  "cpvCodes": ["72000000"],
  "url": "https://ted.europa.eu/en/notice/-/detail/161-2026"
}
```

### Finding CPV codes

CPV (Common Procurement Vocabulary) codes classify what's being procured. A prefix matches all subcategories — `72` catches all IT, `45` all construction. Full list: [SIMAP CPV](https://simap.ted.europa.eu/cpv). Common ones: `72000000` IT services, `45000000` construction, `79000000` business services, `85000000` health/social, `48000000` software packages.

### How much does it cost?

Pay per notice returned — a small fee each. A single won tender can be worth millions, so the ROI is high. No subscription.

### FAQ

**Do I need an API key?** No. TED's API is free and public.

**Is this affiliated with the EU?** No. It uses the EU's official public TED API and is not endorsed by the EU. Data © European Union, reused under TED's terms.

**How fresh is the data?** TED publishes notices daily; this Actor returns them as soon as they're in the API.

**Can AI agents use it?** Yes — works with the Apify MCP server, so Claude, ChatGPT, and other agents can call it and pay per use.

### Support

Need award-value breakdowns, contractor (winner) details, or scheduled daily alerts? Open an issue in the **Issues tab** — actively maintained, answered within one business day.

# Actor input Schema

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

Common Procurement Vocabulary codes to filter by, e.g. 72000000 (IT services), 45000000 (construction), 79000000 (business services). A prefix like 72 matches all IT subcategories. Leave empty for all.

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

Filter by buyer country using 3-letter codes, e.g. DEU, FRA, IRL, POL, ESP. Leave empty for all EU countries.

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

Only include notices whose title contains at least one of these words (matched in English title). Leave empty for no keyword filter.

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

Filter by notice type. Common: 'cn-standard' (contract notice / open tender), 'can-standard' (contract award notice), 'pin-only' (prior information). Leave empty for all.

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

Only notices published on or after this date.

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

Only notices published on or before this date.

## `rawQuery` (type: `string`):

Optional raw TED expert-search query. If set, it OVERRIDES the filters above. Example: 'classification-cpv=72000000 AND buyer-country=DEU AND publication-date>=20260101'.

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

3-letter language code for titles/buyer names when multiple are available (falls back to English, then any).

## `maxNotices` (type: `integer`):

Maximum number of notices to return.

## Actor input object example

```json
{
  "cpvCodes": [
    "72000000"
  ],
  "preferredLanguage": "eng",
  "maxNotices": 200
}
```

# 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 = {
    "cpvCodes": [
        "72000000"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("trendlab/eu-ted-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 = { "cpvCodes": ["72000000"] }

# Run the Actor and wait for it to finish
run = client.actor("trendlab/eu-ted-tenders-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "cpvCodes": [
    "72000000"
  ]
}' |
apify call trendlab/eu-ted-tenders-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=trendlab/eu-ted-tenders-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "EU Tenders Scraper (TED Procurement)",
        "description": "Scrape EU public procurement notices and contract awards from the official TED API. Filter by CPV code, country, buyer, value, and date. Clean, AI-ready JSON. No API key.",
        "version": "0.1",
        "x-build-id": "61hCYANlak9RnsikT"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/trendlab~eu-ted-tenders-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-trendlab-eu-ted-tenders-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/trendlab~eu-ted-tenders-scraper/runs": {
            "post": {
                "operationId": "runs-sync-trendlab-eu-ted-tenders-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/trendlab~eu-ted-tenders-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-trendlab-eu-ted-tenders-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "cpvCodes": {
                        "title": "CPV codes (categories)",
                        "type": "array",
                        "description": "Common Procurement Vocabulary codes to filter by, e.g. 72000000 (IT services), 45000000 (construction), 79000000 (business services). A prefix like 72 matches all IT subcategories. Leave empty for all.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "countries": {
                        "title": "Buyer countries (ISO 3-letter)",
                        "type": "array",
                        "description": "Filter by buyer country using 3-letter codes, e.g. DEU, FRA, IRL, POL, ESP. Leave empty for all EU countries.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "keywords": {
                        "title": "Title keywords",
                        "type": "array",
                        "description": "Only include notices whose title contains at least one of these words (matched in English title). Leave empty for no keyword filter.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "noticeTypes": {
                        "title": "Notice types",
                        "type": "array",
                        "description": "Filter by notice type. Common: 'cn-standard' (contract notice / open tender), 'can-standard' (contract award notice), 'pin-only' (prior information). Leave empty for all.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "publishedFrom": {
                        "title": "Published from (YYYY-MM-DD)",
                        "type": "string",
                        "description": "Only notices published on or after this date."
                    },
                    "publishedTo": {
                        "title": "Published to (YYYY-MM-DD)",
                        "type": "string",
                        "description": "Only notices published on or before this date."
                    },
                    "rawQuery": {
                        "title": "Raw TED expert query (advanced)",
                        "type": "string",
                        "description": "Optional raw TED expert-search query. If set, it OVERRIDES the filters above. Example: 'classification-cpv=72000000 AND buyer-country=DEU AND publication-date>=20260101'."
                    },
                    "preferredLanguage": {
                        "title": "Preferred language",
                        "enum": [
                            "eng",
                            "fra",
                            "deu",
                            "spa",
                            "ita",
                            "nld",
                            "pol"
                        ],
                        "type": "string",
                        "description": "3-letter language code for titles/buyer names when multiple are available (falls back to English, then any).",
                        "default": "eng"
                    },
                    "maxNotices": {
                        "title": "Max notices",
                        "minimum": 1,
                        "maximum": 20000,
                        "type": "integer",
                        "description": "Maximum number of notices to return.",
                        "default": 200
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
