# EU Tenders Scraper (TED) – Public Procurement Notices (`biddata/ted-tenders-scraper`) Actor

Search official EU procurement notices (TED) by keyword, country and date. Export title, buyer country, deadline, budget and direct link. Official TED API - no key, no browser, no proxies. For bid teams and suppliers monitoring EU contracts.

- **URL**: https://apify.com/biddata/ted-tenders-scraper.md
- **Developed by:** [QIQI](https://apify.com/biddata) (community)
- **Categories:** Business, Developer tools
- **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 Tenders Scraper (TED) – Procurement Notices & Deadlines

**Every EU public tender published today, straight from the official TED API — no HTML scraping, no headless browsers, no cookies and no proxies. Because it reads the European Commission's own documented JSON API instead of scraping the website, it does not break when the site redesigns or adds a bot wall.**

TED (Tenders Electronic Daily) is the official supplement to the *Official Journal of the EU*: every public procurement notice above the EU thresholds — roughly €140k+ for goods and services, €5.4M+ for works — is published there, in all 24 official EU languages, typically within days of the call being issued.

This Actor turns that firehose into a clean, ready-to-use dataset of opportunities: what is being bought, who is buying it, when bids close, and how much it is worth.

### Why this Actor

| | Typical tender scrapers | This Actor |
|---|---|---|
| Data source | Rendered web pages, HTML/DOM scraping | Official `api.ted.europa.eu/v3` JSON API |
| Breaks on site redesign | Often | No — documented, versioned API |
| Needs proxies / CAPTCHA solving | Usually | Never |
| API key required | Varies | None — anonymous public access |
| Data reliability | Depends on page markup | Typed JSON fields, stable schema |

### What you get

One dataset item per procurement notice, newest first:

| Field | Type | Description |
|---|---|---|
| `publication_number` | string | TED publication number, e.g. `786379-2026`. Stable ID, safe as a database key. |
| `title` | string | Notice title with the country and the CPV category prefix, in English when the buyer filed an English version (falls back to French, German, Spanish, Italian, then any available language). |
| `buyer_country` | string | ISO 3166-1 alpha-3 code of the contracting authority's country, e.g. `DEU`. |
| `publication_date` | string | Date the notice was published on TED, `YYYY-MM-DD`. |
| `deadline` | string | Earliest deadline for receipt of tenders across all lots, `YYYY-MM-DD`. Empty for notices without a submission deadline (e.g. prior information notices). |
| `value` | number | Estimated value. When a notice is split into lots, this is the **sum of all lot estimates**; empty when the buyer did not publish a value. |
| `currency` | string | ISO 4217 currency of `value`, e.g. `EUR`, `RON`, `SEK`. |
| `notice_type` | string | TED notice type code. `cn-standard` = contract notice (an open opportunity), `can-standard` = contract award notice (who won), `pin-*` = prior information notice. |
| `url` | string | Direct English detail page on ted.europa.eu. |

### Input

| Parameter | Type | Default | Description |
|---|---|---|---|
| `keyword` | string, **required** | `laser` | Full-text search term. Sent to TED as `FT~"<keyword>"`, so it matches the notice text, including CPV category descriptions. Single words or short phrases work best (`laser`, `solar panel`, `road maintenance`, `medical imaging`). |
| `country` | string, optional | *(empty)* | Restrict to buyers in one country, ISO alpha-3 (`DEU`, `FRA`, `POL`, `ESP`, `ITA`, …). Empty = all EU/EEA countries. |
| `daysBack` | integer, 1–30 | `3` | Publication window in days, counting back from today. Keep it small — see the note below. |
| `maxResults` | integer, 1–100 | `50` | Maximum number of notices returned, newest first. |

#### A note on `daysBack`

The TED search endpoint returns the **oldest** notices of the queried window first and caps each page at 100 results. This Actor compensates by walking backwards from the last page so you always receive the **newest** notices, but the cleanest results still come from a short window. `daysBack: 3` is the sweet spot for daily monitoring runs; use `7`–`14` only when you expect a rare keyword with few hits.

### Usage examples

**1. Daily monitoring of a product category**

```json
{
  "keyword": "laser",
  "daysBack": 3,
  "maxResults": 50
}
```

**2. Only German buyers, wider net, one week back**

```json
{
  "keyword": "medical imaging",
  "country": "DEU",
  "daysBack": 7,
  "maxResults": 100
}
```

**3. Catch deadlines this month for a service you can actually bid on**

```json
{
  "keyword": "road maintenance",
  "country": "FRA",
  "daysBack": 14,
  "maxResults": 30
}
```

Schedule it hourly or daily with Apify Schedules and connect a webhook, Google Sheets, Airtable or your CRM to get new opportunities pushed to your sales team automatically. Because each run is filtered to the last few days and every record carries a stable `publication_number`, de-duplicating across runs is trivial.

### Pricing

This Actor uses pay-per-event pricing. You only pay for what you actually get.

| Event | Price | When it is charged |
|---|---|---|
| Actor start | $0.002 | Once per run |
| Result row | $0.002 per row | For every row saved to the dataset |

That works out to **$2 per 1,000 rows**. A typical run returning 50 rows costs about **$0.10** in total.

No subscription is required. You can cap your spend with the max cost per run setting in Apify Console, and an empty or invalid input charges only the start event.

### FAQ

**Do I need a TED API key or an EU login?**
No. The v3 search endpoint used by this Actor is publicly accessible and anonymous. There is nothing to register, no OAuth flow, no quota key to paste in.

**Is this legal / allowed?**
Yes. The data is published by the European Commission's Publications Office as open data, and the Actor queries the documented public API at a rate of at most a handful of requests per run. You are consuming the same feed the TED website itself uses.

**Which countries are covered?**
All EU member states plus EEA countries and EU institutions that publish on TED (30+ buyers' countries in practice). Coverage of individual notices depends on EU procurement thresholds — small national purchases below the thresholds are not on TED.

**Why is `deadline` or `value` empty on some rows?**
Because the buyer did not publish it. Prior information notices and some framework agreements genuinely have no submission deadline, and estimated value is optional in several notice types. The Actor never invents data; it returns empty strings instead of failing.

**The result count is lower than `maxResults` — is something broken?**
No. If fewer notices matched your keyword inside the date window, you simply get fewer rows. Broadening `daysBack`, using a shorter/root keyword, or removing the `country` filter will increase the count.

### Related Actors

More data tools from the same publisher:

- [App Store Reviews Scraper](https://apify.com/biddata/app-reviews-scraper) - App Store and Steam user reviews with ratings, versions and dates.
- [ClinicalTrials.gov Scraper](https://apify.com/biddata/clinicaltrials-scraper) - Clinical trial records with phase, status and sponsor.
- [Federal Register Scraper](https://apify.com/biddata/federal-register-scraper) - US Federal Register documents, rules and notices.
- [arXiv Scraper](https://apify.com/biddata/arxiv-scraper) - arXiv papers with authors, abstracts and PDF links.
- [Hacker News Scraper](https://apify.com/biddata/hackernews-scraper) - Hacker News stories by keyword, top ranking or newest.
- [Weather Scraper](https://apify.com/biddata/weather-scraper) - Weather forecast and history for any city worldwide.

### Disclaimer

All data is retrieved in real time from **TED (Tenders Electronic Daily)**, the official EU public procurement database operated by the Publications Office of the European Union, via its public API v3. This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by the European Commission or the Publications Office.

TED data is published under the Commission's reuse policy (Decision 2011/833/EU). Verify any notice against its original TED detail page (the `url` field) before acting on it — this dataset is a discovery aid, not legal advice, and notice content may be corrected or withdrawn by the contracting authority after publication.

# Actor input Schema

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

Full-text search term sent to TED as FT~"<keyword>". Use a product, service or CPV-related phrase, e.g. "laser", "solar panel", "road maintenance". Single words and short phrases work best.

## `country` (type: `string`):

Restrict results to buyers in one EU/EEA country, using the ISO 3166-1 alpha-3 code (e.g. DEU, FRA, POL). Leave empty to search all countries.

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

How many days back from today to include. The TED API returns the OLDEST notices inside a window first, so keep this small (3 days is recommended, 1-7 works well). Large windows combined with the 100-notice page limit return fewer of the most recent notices.

## `maxResults` (type: `integer`):

Maximum number of notices to push to the dataset. Newest notices are returned first. The TED API caps a single page at 100 notices; the Actor walks back through pages when a larger set is needed.

## Actor input object example

```json
{
  "keyword": "laser",
  "country": "",
  "daysBack": 3,
  "maxResults": 50
}
```

# Actor output Schema

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

All collected notices in the default dataset, one row per notice.

# 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 = {
    "keyword": "laser",
    "country": "",
    "daysBack": 3,
    "maxResults": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("biddata/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 = {
    "keyword": "laser",
    "country": "",
    "daysBack": 3,
    "maxResults": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("biddata/ted-tenders-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 '{
  "keyword": "laser",
  "country": "",
  "daysBack": 3,
  "maxResults": 50
}' |
apify call biddata/ted-tenders-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,biddata/ted-tenders-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/sYr85UdiBsth4i0ub/builds/4dOo9dJa2rP0VDPBp/openapi.json
