# EU TED Tenders Scraper & Registry-ID Normalizer (`goobertje/eu-ted-tenders-scraper`) Actor

EU public tenders and contract awards from the official TED API, with buyer and winner registry IDs (KBO, KvK, SIREN/SIRET, org.nr, VAT) parsed and checksum-validated. Open-for-bids filter and daily new-only mode. $1.25 per 1,000 notices.

- **URL**: https://apify.com/goobertje/eu-ted-tenders-scraper.md
- **Developed by:** [goober](https://apify.com/goobertje) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.25 / 1,000 notice results

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 Tenders Scraper & Registry-ID Normalizer

Get public tenders and contract awards from the whole EU/EEA as flat rows for a spreadsheet, a CRM or an AI agent. Buyer and winner **registry identifiers** (Belgian KBO, Dutch KvK, French SIREN/SIRET, Norwegian org.nr, EU VAT) are parsed and, where the format and checksum can be verified, normalized so you can join tenders to company data; identifiers that cannot be verified are kept as published. The data comes from the official TED search API of the Publications Office of the European Union. No scraping, no proxies, no browser.

> **Independent tool.** Not affiliated with TED or the Publications Office of the European Union. It reads the public TED search API. Notices are public procurement information; you are responsible for lawful use (check TED's reuse conditions and applicable law, including the GDPR if you combine the data with personal data). The notice on TED is the legal text: check it before you bid.

### Why use this Actor

- **Registry-ID normalization:** `buyer.identifiers[]` and `winnerIdentifiers[]` are parsed into `{rawId, normalizedId, scheme, country, validation}`. KBO uses the mod-97 check, SIREN/SIRET the Luhn check, Norwegian org.nr mod-11. An identifier is only normalized when its shape and (where one exists) checksum are verified. Otherwise you get `scheme: "OTHER"` and `normalizedId: null`. Nothing is guessed.
- **A real "open for bids" filter:** competition notices with a deadline of today or later. It also understands restricted and negotiated procedures, which publish a *request to participate* deadline instead of a tender deadline. In a live run, 9 of 40 open notices were open only through that deadline.
- **Honest values:** `estimatedValue` and `awardedValue` are `null` when TED publishes none. They are never `0` unless TED itself reports 0, and lot values are never summed.
- **No personal data:** buyer and winner organisations only. No contact person, e-mail or phone is requested or output.
- **Delta mode for daily schedules:** with `onlyNew` you only get notices you have not received before, and you are not billed again for the ones you already have.
- **Friendly filters or raw power:** country, CPV code, keyword, notice type, dates, minimum value, or paste a raw TED expert query.
- **Fast and cheap:** about $1.25 per 1,000 notices. In a local test, 1,000 notices took about 8 seconds with 4 API requests.

### Quick start

Click **Start** with the prefilled input. It returns the 15 newest competition and award notices of the last 7 days for Belgium, the Netherlands, France and Germany:

```json
{
  "countries": ["BE", "NL", "FR", "DE"],
  "noticeTypes": ["competition", "award"],
  "maxResults": 15
}
```

Raise `maxResults` for a real feed. Add `"openForBidsOnly": true` and `"onlyNew": true` for a daily "new open tenders" list.

### What you get

One row per notice. Unknown values stay `null` (or an empty list).

| Field | Meaning |
|---|---|
| `source`, `publicationNumber`, `publicationDate` | `source` is always `ted`; the TED number such as `807615-2026`; and the day it was published |
| `noticeType`, `formType`, `procedureType`, `contractNature` | TED notice type (`cn-standard`, `can-standard`, ...), form type (`competition`, `result`, `planning`), procedure (`open`, `restricted`, `neg-w-call`, ...), and the contract nature as a list (`supplies`, `services`, `works`) |
| `title`, `titleLanguage`, `description`, `descriptionLanguage` | Picked in your language order, each with its TED three-letter language code |
| `buyer` | `name`, `city`, `country` (ISO alpha-3 as TED writes it) and `identifiers[]` |
| `winnerNames`, `winnerCountries`, `winnerIdentifiers` | Award notices only. Names and identifiers are **not paired by position** (see caveats) |
| `cpvCodes`, `cpvDivisions` | CPV codes of all lots, and their top-level divisions with the official English name (`72` = IT services...) |
| `placeOfPerformance`, `placeOfPerformanceCountries` | NUTS codes and country codes |
| `tenderDeadline`, `tenderDeadlines`, `daysUntilDeadline` | Tender deadlines (dates), the earliest one still ahead, and days left |
| `requestDeadlines` | Deadlines to request participation (restricted and negotiated procedures) |
| `estimatedValue`, `awardedValue` | `{amount, currency}` or `null` |
| `url`, `pdfUrl`, `xmlUrl`, `scrapedAt` | Links to the TED notice, and when the Actor read it |

In the Apify Console the dataset has three table views: **Overview** (dates, title, deadlines, link), **Awards** (winners, winner countries, awarded value) and **Registry IDs** (buyer and winner registry identifiers). The Registry IDs view shows each identifier as an object, so you see its raw value, normalized value, scheme and validation side by side; it is not split into one column per scheme.

#### The registry-ID object

```json
{ "rawId": "0432.093.428", "normalizedId": "0432093428", "scheme": "BE_KBO", "country": "BE", "validation": "valid" }
```

| `validation` | Meaning |
|---|---|
| `valid` | Shape and checksum verified. `normalizedId` is set |
| `format_only` | Shape verified, but the scheme has no public checksum (Dutch KvK, most EU VAT numbers). `normalizedId` is set |
| `checksum_failed` | Right shape, wrong checksum. `scheme` is `OTHER`, `normalizedId` is `null` |
| `ambiguous` | Bare digits whose length fits a known scheme, but no usable country hint. Not normalized |
| `unrecognized` | No scheme fits. Not normalized |

An explicit VAT prefix wins over any country hint (a French notice can name a German winner `DE286390486`). Bare digits are only interpreted using the buyer's country, or the winners' country when all winners agree. Set `normalizeIds` to `false` to get the raw identifiers only.

#### Real sample (live run, 2026-11-22, trimmed)

Real rows from TED, shortened; the organisations are public bodies and companies named in public notices. An award notice. Both the buyer and the winner are validated Belgian enterprise numbers:

```json
{
  "publicationNumber": "807615-2026",
  "noticeType": "can-standard",
  "formType": "result",
  "title": "Onderhoud en ondersteuning van de HP XP7-opslaginfrastructuur",
  "buyer": {
    "name": "Smals",
    "country": "BEL",
    "identifiers": [
      { "rawId": "0406798006_617", "normalizedId": "0406798006", "scheme": "BE_KBO", "country": "BE", "validation": "valid" }
    ]
  },
  "winnerNames": ["ECONOCOM MANAGED SERVICES nv"],
  "winnerIdentifiers": [
    { "rawId": "0432.093.428", "normalizedId": "0432093428", "scheme": "BE_KBO", "country": "BE", "validation": "valid" }
  ],
  "cpvDivisions": [
    { "code": "50", "name": "Repair and maintenance services" },
    { "code": "72", "name": "IT services: consulting, software development, Internet and support" }
  ],
  "estimatedValue": { "amount": 300000.0, "currency": "EUR" },
  "awardedValue": { "amount": 234163.2, "currency": "EUR" }
}
```

A negotiated procedure that is open only through its request-to-participate deadline. There is no tender deadline yet, and the buyer identifier is a German scheme that is honestly left unrecognized:

```json
{
  "publicationNumber": "809600-2026",
  "noticeType": "cn-standard",
  "procedureType": "neg-w-call",
  "buyer": {
    "name": "Bundesstadt Bonn - Referat Vergabedienste",
    "country": "DEU",
    "identifiers": [
      { "rawId": "05314-31001-65", "normalizedId": null, "scheme": "OTHER", "country": null, "validation": "unrecognized" }
    ]
  },
  "tenderDeadline": null,
  "requestDeadlines": ["2026-12-03"],
  "estimatedValue": null
}
```

### Input

| Field | Default | Meaning |
|---|---|---|
| `countries` | empty = all | ISO 3166-1 codes (2 or 3 letters) of the buying organisation: EU/EEA, Switzerland, United Kingdom |
| `cpvCodes` | empty | 8-digit codes match exactly; fewer digits match a whole branch (`72` = all IT services). Up to 50 |
| `noticeTypes` | `competition` | `competition`, `award`, `planning` or `all` |
| `keywords` | empty | Full-text, any of them. Up to 20. Only letters, digits, spaces, hyphens and apostrophes are used |
| `publishedFrom`, `publishedTo` | from: the last 7 days; until: no upper limit | `YYYY-MM-DD` |
| `openForBidsOnly` | false | Competition notices with a tender or request-to-participate deadline of today or later. Notices with no deadline are excluded |
| `minValueEur` | empty | Drops notices with a published EUR value below this. Notices with no value, or another currency, stay |
| `expertQuery` | empty | A raw TED expert query, used instead of the filters above. Open-for-bids and minimum value still apply |
| `onlyNew`, `stateStoreName` | false, `eu-ted-seen-notices` | Delta mode on publication number |
| `maxResults` | 100 (prefill 15) | Cap on delivered, billed rows |
| `normalizeIds` | true | Parse registry identifiers |
| `preferredLanguages` | nl, fr, en, de | Language order for title, description, buyer name and links |
| `requestDelaySecs` | 1 | Pause between TED requests (minimum 1) |

#### Delta state (`onlyNew`)

With `onlyNew` the Actor keeps a record `STATE` in a **named key-value store** (`stateStoreName`, default `eu-ted-seen-notices`; it is separate from the run's own storage, so it survives between runs). It maps each delivered publication number to the time it was delivered, and later runs skip those notices without billing them. Entries are kept for at least 400 days (longer if your date window is wider) and at most 100,000 are kept, oldest evicted first, so a very old notice could be delivered again. To start over, delete the store or use a new store name. Use a different name for each feed (for example per CPV set), otherwise feeds share one history.

### Pricing

Pay per event: **$1.25 per 1,000 `notice-result` events** (one event per delivered row, $0.00125 each).

- Notices removed by `openForBidsOnly`, `minValueEur` or delta mode are not delivered and not billed.
- Nothing is charged for an empty run, invalid input, or a TED outage before the first row. There is no start fee.
- `maxResults` caps the cost of a run: 1,000 rows cost $1.25, the prefilled 15 rows cost $0.019.
- If you set a maximum cost per run on the Apify platform, the run stops cleanly at that cap, fetches nothing more, and ends as Succeeded with a message saying so.

### Use with AI agents (MCP, Claude, Cursor, n8n, Make)

AI agents can call this Actor through the Apify MCP server.

```json
{ "mcpServers": { "apify": { "url": "https://mcp.apify.com?tools=goobertje/eu-ted-tenders-scraper" } } }
```

Sign in with OAuth in the browser on first use. Example prompts:

1. "Which German public buyers published open calls for software in the last 7 days?" Input: `{"countries":["DE"],"cpvCodes":["72"],"noticeTypes":["competition"],"openForBidsOnly":true,"maxResults":50}`
2. "Who won construction contracts in France this month, and what are their SIRET numbers?" Input: `{"countries":["FR"],"noticeTypes":["award"],"cpvCodes":["45"],"publishedFrom":"2026-11-01","maxResults":100}`
3. "Give me only new Belgian and Dutch IT tenders every day." Input: `{"countries":["BE","NL"],"noticeTypes":["competition"],"cpvCodes":["72"],"openForBidsOnly":true,"onlyNew":true,"stateStoreName":"benelux-it-tenders","maxResults":200}`

In n8n, Make or Zapier, use the Apify node or module, pick this Actor and paste the same JSON. Client code (JavaScript, Python, curl) is in `docs/readme_snippets.md`.

### Use cases

- **Bid teams:** a daily list of open calls for tender that match your CPV codes and keywords, including restricted procedures.
- **Sales research:** who won what, with the winner's registry number, ready to join to company data.
- **Market intelligence:** track award values and which buyers publish in your field.
- **AI agents:** structured, checksum-validated identifiers instead of free text.

### Join the identifiers to company data

The normalized identifiers are the join key to registry Actors by the same author:

- **Belgium:** `BE_KBO` numbers work with [Belgium Company Data API: KBO/BCE register search & export](https://apify.com/goobertje/belgium-kbo-company-registry) and [Belgium Annual Accounts API: NBB balance sheets & health score](https://apify.com/goobertje/belgium-nbb-financial-scorer).
- **France:** a `FR_SIRET` number starts with its 9-digit SIREN (`FR_SIREN`), the key of [French Company Data API: SIREN leads by NAF & department](https://apify.com/goobertje/france-company-search).
- **Norway:** `NO_ORGNR` is the Brønnøysund organisation number; see [Norway Company Registry: Brreg leads with email & phone](https://apify.com/goobertje/norway-company-registry).
- **Benelux-only tender feed with its own pricing:** [Benelux Tender Alerts: BE, NL, LU public tenders from TED](https://apify.com/goobertje/benelux-tender-monitor).

### FAQ

**Where does the data come from?** From the official TED search API (`api.ted.europa.eu`), anonymous, one endpoint, no web pages. The Actor sends about one request per second and honours `Retry-After`. Check TED's legal notice for reuse terms.

**How fresh is it?** Notices are available once TED publishes them. Schedule a daily run with `onlyNew` for a feed.

**What happens when TED blocks or fails?** Three 403/429 answers in a row stop the run. If rows were already delivered, the run still ends as Succeeded with a status message and your delta state is saved; with no rows it fails. A query TED rejects fails the run and shows TED's message. Nothing is charged for rows that were not delivered.

**What is not included?** Tender documents, contact persons, award criteria and bidder lists. Follow `url`, `pdfUrl` or `xmlUrl` for the full notice.

### Limits and honest caveats

- **Scope:** TED carries mainly procurement above the EU thresholds. National below-threshold notices are mostly not on TED.
- **Values are sparse.** In a live sample of 1,000 notices (competition and award, BE/NL/FR/DE, 14 days) only **24.9%** had an `estimatedValue`, and **83%** of award notices had an `awardedValue`. Some buyers publish `0`: 14 estimated and 17 awarded values in that sample were 0. The Actor copies what TED reports and never invents a number. Before the award, TED's total-value field is a placeholder and is not copied.
- **Identifier coverage:** in the same sample, 25% of identifiers were `valid`, 20% `format_only`, and **54% `unrecognized`**, mostly German schemes (`HRB...` register numbers, Leitweg-IDs, regional codes) and national numbers this version does not interpret. Dutch buyers often publish a 9-digit number (probably the RSIN fiscal number, not verified), which is not an 8-digit KvK number and stays unrecognized. 2 of about 1,800 identifiers failed their checksum.
- **Belgian numbers with a stripped leading zero** (for example `876.107.364`, which would be `0876.107.364`) are not repaired: with a 1-in-97 chance of a false checksum match, they stay `unrecognized`.
- **Winners are not paired with identifiers by position.** TED returns flat arrays that are not lot-aligned, so `winnerNames`, `winnerCountries` and `winnerIdentifiers` are separate lists.
- **Deadlines are dates.** TED also publishes a time of day, which is not included. A deadline of today counts as open. Dates are judged in the Europe/Brussels calendar. `daysUntilDeadline` refers to the tender deadline only; use `requestDeadlines` for restricted procedures.
- TED sorts by publication day only, so the order inside one day can differ between runs.
- A run makes at most 1,000 requests (250 notices per request), so up to 250,000 notices. Narrow the date window for bigger back-fills.
- The notice on TED is the legal text: check it before you bid.

### Legal and attribution

Source: TED (Tenders Electronic Daily), Publications Office of the European Union, https://ted.europa.eu. This Actor is not affiliated with, endorsed by or sponsored by TED or the Publications Office of the European Union. The Actor uses only the public search API and shows no TED logo. Notice data is public procurement information; you are responsible for how you use it.

Found a problem or want a field added? Open an issue on the Actor page.

# Actor input Schema

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

Countries of the buying organisation as ISO 3166-1 codes (two or three letters): EU and EEA countries, Switzerland and the United Kingdom. Empty means all countries. Example: \["BE", "NL", "FR", "DE"].

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

Keep notices with one of these CPV (Common Procurement Vocabulary) codes. An 8-digit code (optionally with its check digit) matches exactly; fewer digits match every code that starts with them, so "72" means all IT services. Up to 50 codes. Empty means any. Example: \["72", "45233120"].

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

competition = open calls for tenders; award = contract award results (with winners); planning = prior information and market consultations; all = every kind including contract modifications. Default: competition.

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

Full-text search in the notice, in any language; a notice matches when it contains any of the keywords or phrases. Only letters, digits, spaces, hyphens and apostrophes are used. Up to 20 keywords. Empty means any. Example: \["software", "smart city"].

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

First publication date to include (YYYY-MM-DD). Leave empty for the last 7 days. Example: "2026-11-01".

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

Last publication date to include (YYYY-MM-DD). Leave empty for no upper limit.

## `openForBidsOnly` (type: `boolean`):

Competition notices with a deadline of today or later: the tender deadline, or for restricted and negotiated procedures the deadline to request participation. Notices that publish no deadline are excluded (stricter than TED's own 'active' scope). Works with notice type competition only. Default: off.

## `minValueEur` (type: `number`):

Drop notices whose published estimated value is in euro and below this amount. Notices with no published value, or a value in another currency, are kept (most notices publish no value). Leave empty for no limit. Example: 100000.

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

A raw TED expert query, used as-is instead of the filters above (publication date, countries, notice types, CPV and keywords are then ignored). Open-for-bids and minimum value still apply. Example: buyer-country IN (BEL) AND classification-cpv = 72\* AND publication-date>=20261101

## `onlyNew` (type: `boolean`):

Remember every delivered publication number in a named key-value store and skip them on later runs, so a daily schedule returns only notices not delivered before. Skipped notices are not billed. The first run returns everything that matches.

## `stateStoreName` (type: `string`):

Name of the persistent key-value store that holds the delta state. Use a different name per feed (for example per CPV set). Lowercase letters, digits and hyphens only. Default: "eu-ted-seen-notices".

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

Maximum number of notices (dataset items, each one billed) a run outputs; the run stops once reached. Notices removed by the filters are not counted and not billed. Default: 100.

## `normalizeIds` (type: `boolean`):

Parse buyer and winner identifiers into {rawId, normalizedId, scheme, country, validation}. The raw value is always kept. Turn off to get the raw identifiers only. Default: on.

## `preferredLanguages` (type: `array`):

Order in which the title, description, buyer name and links are taken from the notice, as two-letter codes. If none exists, English and then the first available language is used.

## `requestDelaySecs` (type: `number`):

Pause between requests to the TED API, to stay polite. Minimum 1, maximum 30. Default: 1.

## Actor input object example

```json
{
  "countries": [
    "BE",
    "NL",
    "FR",
    "DE"
  ],
  "cpvCodes": [],
  "noticeTypes": [
    "competition",
    "award"
  ],
  "keywords": [],
  "openForBidsOnly": false,
  "onlyNew": false,
  "stateStoreName": "eu-ted-seen-notices",
  "maxResults": 15,
  "normalizeIds": true,
  "preferredLanguages": [
    "nl",
    "fr",
    "en",
    "de"
  ],
  "requestDelaySecs": 1
}
```

# Actor output Schema

## `notices` (type: `string`):

Notices from the official TED search API.

## `awards` (type: `string`):

Winners, winner countries and awarded values (award notices only).

## `identifiers` (type: `string`):

Buyer and winner registry identifiers as parsed objects (rawId, normalizedId, scheme, country, validation) for KBO, KvK, SIREN/SIRET, org.nr and VAT.

# 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 = {
    "countries": [
        "BE",
        "NL",
        "FR",
        "DE"
    ],
    "noticeTypes": [
        "competition",
        "award"
    ],
    "maxResults": 15
};

// Run the Actor and wait for it to finish
const run = await client.actor("goobertje/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 = {
    "countries": [
        "BE",
        "NL",
        "FR",
        "DE",
    ],
    "noticeTypes": [
        "competition",
        "award",
    ],
    "maxResults": 15,
}

# Run the Actor and wait for it to finish
run = client.actor("goobertje/eu-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 '{
  "countries": [
    "BE",
    "NL",
    "FR",
    "DE"
  ],
  "noticeTypes": [
    "competition",
    "award"
  ],
  "maxResults": 15
}' |
apify call goobertje/eu-ted-tenders-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,goobertje/eu-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/apeJm1CtSAZ4Vngne/builds/nohgIvrXeYsn6VYhT/openapi.json
