# EU & UK Public Tenders Scraper (TED + Find a Tender) (`panthalus/public-tenders-api`) Actor

New government tenders from the EU (TED) and the UK in one clean schema: title, buyer, deadline, value, CPV codes, links. Filter by keyword, CPV, country, value. Official open-data APIs only, so no proxies or blocked runs.

- **URL**: https://apify.com/panthalus/public-tenders-api.md
- **Developed by:** [Panthalus](https://apify.com/panthalus) (community)
- **Categories:** Business, AI, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 tenders

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 & UK Public Tenders Scraper (TED + Find a Tender)

![Public Tenders Scraper: EU and UK tenders into one table](https://api.apify.com/v2/key-value-stores/OUAKECfhX5Svhoo26/records/banner-public-tenders)

**New government contracts you can bid on, from the EU and the UK, in one clean feed.** Filter by keyword, CPV code, country, value and deadline. Each tender comes with title (plus English title for EU notices), buyer, deadline, estimated value and currency, CPV codes, procedure type, place of performance, and links to the notice, documents and submission portal.

Sources, all official open data:

- **TED (Tenders Electronic Daily)**: every EU/EEA tender above EU thresholds, about 2,500 a day across all languages.
- **UK Find a Tender**: UK tenders above threshold (Procurement Act 2023 notices).
- **UK Contracts Finder**: smaller UK public contracts.

### What people use it for

- **Bid alerts for suppliers and SMEs**: run daily with `publishedWithinDays: 1` and your CPV codes, then push new tenders to Slack, email or a CRM through Apify integrations.
- **Bid/tender consultants and agencies**: one feed per client, filtered by sector and region.
- **Market intelligence**: who buys what, where, at what value; set `stage: award` for contract awards and `planning` for pipeline notices (early warning).
- **AI agents and RAG**: structured public-procurement data for "find me open IT tenders in Germany over EUR 500k" style agents.
- **Sales prospecting on the public sector**: find buyers that just procured something next to your product.

### Why this one

- **Official APIs only (TED Search API, UK OCDS APIs).** No scraping of HTML, no proxies, no blocked runs.
- **It handles the sources' quirks, so you don't have to:**
  - Find a Tender's `stages` filter silently drops most notices; this Actor reads the full feed and classifies stages itself.
  - Contracts Finder locks callers out for 2 minutes after 12 fast requests; the Actor paces itself and waits out the lockout.
  - UK amendment releases are collapsed to the latest version of each procurement.
- **Open tenders only by default.** Notices whose deadline has passed and cancelled notices are dropped.
- **No personal data.** Contact-person names, emails and phone numbers in the notices are not copied; you get organisations only.

### Input

| Field | What it does |
|---|---|
| `keywords` / `excludeKeywords` | Whole-word match in title/description; `softw*` for prefixes. On TED, full-text search in every language |
| `cpvCodes` | e.g. `72000000` (IT services) or a prefix like `4521` |
| `countries` | ISO-2 or ISO-3 (DE, FRA, IE, GB …) |
| `sources` | `ted`, `uk_fts`, `uk_cf` |
| `stage` | `tender` (default), `planning`, `award` |
| `publishedWithinDays` or `publishedFrom`/`publishedTo` | Date window |
| `minValue` / `maxValue` | Estimated value in the notice currency |
| `onlyOpen` | Drop expired or cancelled calls (default on) |

```json
{ "keywords": ["software", "cloud"], "cpvCodes": ["72000000", "48000000"], "countries": ["DE", "AT", "GB"],
  "publishedWithinDays": 1, "minValue": 100000 }
```

### Output (one row per tender)

```json
{
  "source": "ted", "noticeId": "756533-2026", "stage": "tender", "noticeType": "cn-standard",
  "title": "Schools Energy Pathfinder 2025 - Biomass Programme - Biomass Package - Bundle 1 (MSLETB)",
  "titleEnglish": "Ireland – Installation services of electrical and mechanical equipment – Schools Energy Pathfinder …",
  "description": "Invitation to Tenders is sought from suitably qualified Contractors …",
  "buyerName": "Mayo Sligo and Leitrim ETB", "buyerCountry": "IRL", "buyerWebsite": "https://www.msletb.ie",
  "publishedAt": "2026-11-01T23:00:00Z", "deadline": "2026-11-20T12:00:00Z",
  "cpvCodes": ["51100000", "51120000", "09110000", "45000000"], "mainCategory": "services", "procedureType": "open",
  "estimatedValue": 4550000, "currency": "EUR", "placeOfPerformance": ["IE042", "IRL"],
  "url": "https://ted.europa.eu/en/notice/-/detail/756533-2026",
  "submissionUrl": "https://www.etenders.gov.ie/epps/cft/viewTenders.do?resourceId=9312232",
  "documentsUrl": "https://www.etenders.gov.ie/epps/cft/listContractDocuments.do?resourceId=9312232"
}
```

### Pricing

- **USD 3 per 1,000 tenders returned** (USD 0.003 each), plus USD 0.01 per run.
- A daily alert returning ~20 tenders costs about **USD 0.07/day**.
- Only matching tenders are charged; the notices scanned to find them are free.

### Run it from code or an AI agent

Everything the Console does is one API call away. Get your token under **Settings > API & Integrations**.

**Python** (`pip install apify-client`)

```python
from apify_client import ApifyClient

client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("panthalus/public-tenders-api").call(run_input={"keywords": ["software"], "publishedWithinDays": 3, "maxResults": 100})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

**JavaScript** (`npm i apify-client`)

```js
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<APIFY_TOKEN>' });
const run = await client.actor('panthalus/public-tenders-api').call({"keywords": ["software"], "publishedWithinDays": 3, "maxResults": 100});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

**cURL** (runs the Actor and returns the results in one request)

```bash
curl -X POST "https://api.apify.com/v2/acts/panthalus~public-tenders-api/run-sync-get-dataset-items?token=<APIFY_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"keywords": ["software"], "publishedWithinDays": 3, "maxResults": 100}'
```

**AI agents (MCP).** Add this Actor as a tool in Claude, Cursor, VS Code or any MCP client:

```
https://mcp.apify.com?tools=panthalus/public-tenders-api
```

Then just ask, for example: *"Find new UK and EU tenders for cybersecurity services published this week."* The Actor uses pay-per-event pricing with limited permissions, so it is eligible for Apify's agentic payments.

**Schedules and integrations.** Run it daily with an Apify Schedule, and send new rows to Google Sheets, Slack, Zapier, Make, n8n or a webhook from the **Integrations** tab.

### FAQ

**Is this data free to reuse?** TED notices are published by the EU Publications Office for reuse (Search API, anonymous access). UK data is published under the Open Government Licence. Check the licence terms for your use case when republishing.

**Why do some EU titles look non-English?** `title` is the original-language title; `titleEnglish` is TED's English label ("Country – CPV category – original title"). Descriptions stay in the original language.

**US SAM.gov?** It needs a personal API key; support is planned as an optional input.

# Actor input Schema

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

Match any of these in the title or description, e.g. software, cleaning, solar. TED searches the full notice text in every EU language; UK sources match English title and description.

## `excludeKeywords` (type: `array`):

Drop tenders whose title or description contains any of these.

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

Common Procurement Vocabulary codes or prefixes, e.g. 72000000 (IT services) or 4521 (building works). Matches any code on the notice.

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

ISO codes, two or three letters: DE, FR, IE, PL, GB... Empty = all EU/EEA plus the UK.

## `sources` (type: `array`):

ted = EU Tenders Electronic Daily (all EU/EEA, above EU thresholds). uk_fts = UK Find a Tender (above UK thresholds). uk_cf = UK Contracts Finder (smaller UK contracts). Leave empty for all three sources.

## `stage` (type: `string`):

tender = open calls for bids (default). planning = prior-information and pipeline notices (early warning, before the tender). award = contract award notices (who won, for how much).

## `onlyOpen` (type: `boolean`):

Drop calls whose submission deadline has passed.

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

Ignored when 'Published from' is set. Use 1 with a daily schedule for a new-tenders alert.

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

Optional fixed start date.

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

Optional fixed end date.

## `minValue` (type: `integer`):

In the notice's currency (EUR for most TED notices, GBP for UK). Notices without a published value are dropped when set.

## `maxValue` (type: `integer`):

Notices without a published value are kept.

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

Stop each source after this many matching tenders. Leave empty for up to 1,000.

## `maxNoticesScanned` (type: `integer`):

Safety cap on how many raw notices are read per source before filtering.

## Actor input object example

```json
{
  "keywords": [
    "software"
  ],
  "sources": [
    "ted"
  ],
  "stage": "tender",
  "onlyOpen": true,
  "publishedWithinDays": 7,
  "maxResults": 25,
  "maxNoticesScanned": 20000
}
```

# Actor output Schema

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

One row per tender: title, buyer, country, deadline, estimated value, CPV codes, procedure, notice and submission links.

## `summary` (type: `string`):

Tenders returned per source, notices scanned and the date window.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "keywords": [
        "software"
    ],
    "sources": [
        "ted"
    ],
    "maxResults": 25
};

// Run the Actor and wait for it to finish
const run = await client.actor("panthalus/public-tenders-api").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "keywords": ["software"],
    "sources": ["ted"],
    "maxResults": 25,
}

# Run the Actor and wait for it to finish
run = client.actor("panthalus/public-tenders-api").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "keywords": [
    "software"
  ],
  "sources": [
    "ted"
  ],
  "maxResults": 25
}' |
apify call panthalus/public-tenders-api --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,panthalus/public-tenders-api"
        }
    }
}
```

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/zbchf8MR5WnkhPAiH/builds/90UrayqmYAGVhkBL5/openapi.json
