# 🇪🇺 EU TED Tender & Award Delta Feed — Procurement Watch (`nexgenwatch/eu-ted-tender-award-watch`) Actor

EU TED tender & award delta feed — new tenders, awards, and procedure deltas across all member states; watch mode, honest terminals.

- **URL**: https://apify.com/nexgenwatch/eu-ted-tender-award-watch.md
- **Developed by:** [NexGen Watch](https://apify.com/nexgenwatch) (community)
- **Categories:** Business
- **Stats:** 2 total users, 0 monthly users, 60.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $13.40 / 1,000 procedure deltas

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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/docs.md):

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

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python/docs.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/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 TED Tender-to-Award & Incumbent Watch

Collect official EU procurement notices, link tenders to awards by published
identifiers, and monitor award/incumbent changes.

This actor queries the official **anonymous TED Search API** (Tenders Electronic
Daily, `api.ted.europa.eu/v3/notices/search`, logged-out, no key) and returns
normalized tender and award notice records with buyer, CPV, procedure, lot,
value, winner, source URL, and observation fields when TED publishes them.
**Snapshot mode** returns current notices. **Watch mode** seeds a private
baseline, then emits procedure-level additions and published award/incumbent
changes on later scheduled runs.

### Output record types

- `tender_notice` / `award_notice` — one normalized notice each (award = TED
  `form-type=result`), with `publication_number`, `procedure_key`, buyer/CPV,
  values, winners, `content_hash`, `source_url`, `observed_at`.
- `procedure_delta` — watch-mode change: `new_opportunity`, `notice_updated`,
  `award_published` (with `prior_publication_numbers`, `winner_after`), etc.
- `source_receipt` — always pushed, never billed: terminal
  (`NORMAL`/`GENUINE_EMPTY`/`PARTIAL`/`BLOCKED`), reason, counts, canary flag.

### Use cases

Suppliers monitor relevant published opportunities/awards; bid teams maintain
tender-to-award records; procurement analysts assemble buyer/CPV histories;
agencies watch named markets for newly published result notices; data teams
consume an official-source normalized feed.

### Honest limits

Linking uses official procedure/lot identifiers only and may remain empty; TED
documents missing winner data in some results; values stay in original currency;
the actor does not infer cancellation, hidden bids, supplier performance, or
contract intent; live queries are bounded to 366 days / 5,000 items; only
published notices are accessible; outages/blocks/drift fail loud.

### Compliance

Official public, logged-out published notices only; no login, CAPTCHA defeat,
private/licensed source, or always-on process; the actor stops on objection.
Buyers remain responsible for lawful use.

# Actor input Schema

## `queryMode` (type: `string`):

structured builds a bounded AND query from the supplied filters; expert sends your bounded TED expert query verbatim after lexical safety checks.
## `structuredQuery` (type: `object`):

Used when queryMode is structured. At least one of keywords, cpvCodes, buyerCountries, buyerNames must be supplied.
## `expertQuery` (type: `string`):

Used when queryMode is expert. 3-2000 chars, one statement, no control chars/comments/URLs, must contain a bounded PD range <=366 days.
## `watchMode` (type: `boolean`):

Seed a private baseline and emit only procedure-level deltas on later runs. First run emits zero deltas.
## `baselineId` (type: `string`):

Named watch baseline (^[A-Za-z0-9_-]{3,64}$). If unset, derived from the canonical query hash. Changing the canonical query derives a new baseline.
## `language` (type: `string`):

ISO-639 alpha-3 uppercase (e.g. ENG). Preferred returned language only; no translation.
## `maxItems` (type: `integer`):

Maximum notice records or deltas to emit this run (receipts excluded).
## `includeRaw` (type: `boolean`):

Attach a bounded raw TED field map (<=64 KiB) to each record.
## `linkAwards` (type: `boolean`):

Build procedure/lot links from official returned identifiers only; never fuzzy-link across procedures.

## Actor input object example

```json
{
  "queryMode": "structured",
  "structuredQuery": {
    "cpvCodes": [
      "72000000"
    ],
    "buyerCountries": [
      "DEU"
    ]
  },
  "watchMode": false,
  "language": "ENG",
  "maxItems": 50,
  "includeRaw": false,
  "linkAwards": true
}
````

# 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 = {
    "structuredQuery": {
        "cpvCodes": [
            "72000000"
        ],
        "buyerCountries": [
            "DEU"
        ]
    },
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("nexgenwatch/eu-ted-tender-award-watch").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 = {
    "structuredQuery": {
        "cpvCodes": ["72000000"],
        "buyerCountries": ["DEU"],
    },
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("nexgenwatch/eu-ted-tender-award-watch").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 '{
  "structuredQuery": {
    "cpvCodes": [
      "72000000"
    ],
    "buyerCountries": [
      "DEU"
    ]
  },
  "maxItems": 50
}' |
apify call nexgenwatch/eu-ted-tender-award-watch --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "🇪🇺 EU TED Tender & Award Delta Feed — Procurement Watch",
        "description": "EU TED tender & award delta feed — new tenders, awards, and procedure deltas across all member states; watch mode, honest terminals.",
        "version": "0.1",
        "x-build-id": "RxbTWYgjFUmRdTY3B"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/nexgenwatch~eu-ted-tender-award-watch/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-nexgenwatch-eu-ted-tender-award-watch",
                "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/nexgenwatch~eu-ted-tender-award-watch/runs": {
            "post": {
                "operationId": "runs-sync-nexgenwatch-eu-ted-tender-award-watch",
                "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/nexgenwatch~eu-ted-tender-award-watch/run-sync": {
            "post": {
                "operationId": "run-sync-nexgenwatch-eu-ted-tender-award-watch",
                "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": {
                    "queryMode": {
                        "title": "Query mode",
                        "enum": [
                            "structured",
                            "expert"
                        ],
                        "type": "string",
                        "description": "structured builds a bounded AND query from the supplied filters; expert sends your bounded TED expert query verbatim after lexical safety checks.",
                        "default": "structured"
                    },
                    "structuredQuery": {
                        "title": "Structured query",
                        "type": "object",
                        "description": "Used when queryMode is structured. At least one of keywords, cpvCodes, buyerCountries, buyerNames must be supplied.",
                        "properties": {
                            "keywords": {
                                "title": "Keywords (full text)",
                                "type": "array",
                                "description": "0-10 unique phrases (2-80 chars each). OR semantics via TED FT operator.",
                                "items": {
                                    "type": "string"
                                }
                            },
                            "cpvCodes": {
                                "title": "CPV codes",
                                "type": "array",
                                "description": "0-20 unique exact 8-digit CPV codes. OR semantics.",
                                "items": {
                                    "type": "string"
                                }
                            },
                            "buyerCountries": {
                                "title": "Buyer countries",
                                "type": "array",
                                "description": "0-30 unique uppercase ISO-3166 alpha-3 country codes (e.g. DEU, FRA). OR semantics.",
                                "items": {
                                    "type": "string"
                                }
                            },
                            "buyerNames": {
                                "title": "Buyer names",
                                "type": "array",
                                "description": "0-20 unique buyer name phrases (2-120 chars). OR semantics via TED AU operator.",
                                "items": {
                                    "type": "string"
                                }
                            },
                            "noticeKinds": {
                                "title": "Notice kinds",
                                "type": "array",
                                "description": "Non-empty subset of opportunity/award. opportunity maps to form-type competition, award to form-type result.",
                                "items": {
                                    "type": "string"
                                }
                            },
                            "publicationDateFrom": {
                                "title": "Publication date from",
                                "type": "string",
                                "description": "ISO date (YYYY-MM-DD). Defaults to UTC today minus 30 days.",
                                "editor": "textfield"
                            },
                            "publicationDateTo": {
                                "title": "Publication date to",
                                "type": "string",
                                "description": "ISO date (YYYY-MM-DD). Defaults to UTC today. From<=to; span <=366 days.",
                                "editor": "textfield"
                            },
                            "deadlineFrom": {
                                "title": "Deadline from",
                                "type": "string",
                                "description": "Optional ISO date; adds a DD>= filter.",
                                "editor": "textfield"
                            },
                            "deadlineTo": {
                                "title": "Deadline to",
                                "type": "string",
                                "description": "Optional ISO date; adds a DD<= filter.",
                                "editor": "textfield"
                            }
                        },
                        "additionalProperties": false
                    },
                    "expertQuery": {
                        "title": "Expert query",
                        "type": "string",
                        "description": "Used when queryMode is expert. 3-2000 chars, one statement, no control chars/comments/URLs, must contain a bounded PD range <=366 days."
                    },
                    "watchMode": {
                        "title": "Watch mode",
                        "type": "boolean",
                        "description": "Seed a private baseline and emit only procedure-level deltas on later runs. First run emits zero deltas.",
                        "default": false
                    },
                    "baselineId": {
                        "title": "Baseline id",
                        "type": "string",
                        "description": "Named watch baseline (^[A-Za-z0-9_-]{3,64}$). If unset, derived from the canonical query hash. Changing the canonical query derives a new baseline."
                    },
                    "language": {
                        "title": "Preferred language",
                        "type": "string",
                        "description": "ISO-639 alpha-3 uppercase (e.g. ENG). Preferred returned language only; no translation.",
                        "default": "ENG"
                    },
                    "maxItems": {
                        "title": "Max items",
                        "minimum": 1,
                        "maximum": 5000,
                        "type": "integer",
                        "description": "Maximum notice records or deltas to emit this run (receipts excluded).",
                        "default": 500
                    },
                    "includeRaw": {
                        "title": "Include raw",
                        "type": "boolean",
                        "description": "Attach a bounded raw TED field map (<=64 KiB) to each record.",
                        "default": false
                    },
                    "linkAwards": {
                        "title": "Link awards",
                        "type": "boolean",
                        "description": "Build procedure/lot links from official returned identifiers only; never fuzzy-link across procedures.",
                        "default": true
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
