# UK Tender Alerts (Contracts Finder + Find a Tender) (`wrenledger/uk-tender-alerts`) Actor

Find new UK public procurement tenders from the official Contracts Finder and Find a Tender APIs by keyword, CPV code, region, value and open deadline. Only-new mode for daily alerts to Sheets, Slack or email.

- **URL**: https://apify.com/wrenledger/uk-tender-alerts.md
- **Developed by:** [Wren Ledger](https://apify.com/wrenledger) (community)
- **Categories:** Business, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$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

### What is UK Tender Alerts?

**UK Tender Alerts** finds new **UK public procurement tenders** from the official **Contracts Finder** and **Find a Tender** APIs. You search by keyword, CPV code, region, value, SME suitability and open deadline, then get one de-duplicated table of matching notices — or schedule a daily alert so you only receive tenders you have not already seen.

The easiest way to try it is to open the Actor in [Apify Console](https://console.apify.com/actors/Dna83t9j7yBaV1HR9), leave **Sources** set to both official APIs, enter a CPV code such as `72` (IT services) or a keyword such as `NHS`, and click **Start**. Results appear in the Tenders table and can be exported as CSV, Excel or JSON, or sent on automatically with Apify integrations (Google Sheets, Slack, email) and the Apify API.

Built by [Wren Ledger](https://apify.com/wrenledger). The UK left TED in 2021, so EU-only tools miss these notices. For official EU TED tenders, use the companion Actor [EU Tender Alerts](https://apify.com/wrenledger/eu-tender-alerts).

#### What this Actor does

- Calls only the official, anonymous [Contracts Finder OCDS search](https://www.contractsfinder.service.gov.uk/apidocumentation/Notices/1/GET-Published-Notice-OCDS-Search) and [Find a Tender OCDS](https://www.find-tender.service.gov.uk/apidocumentation/1.0/GET-ocdsReleasePackages) APIs. No login, no API key, no browser and no proxy.
- Covers both sides of the UK market: Contracts Finder (below-threshold and many England notices) and Find a Tender (above-threshold and Procurement Act 2023 notices for the whole UK).
- De-duplicates the two sources by `ocid` (and by title, buyer and date when an `ocid` is missing).
- Filters by keyword, CPV prefix, region (NUTS/ITL codes or names), stage, published date, open deadline, minimum value and the Contracts Finder SME-suitable flag.
- **Only-new (alert) mode** remembers which notices a named search already returned, so later runs charge only for new tenders.
- Drops OCDS `contactPoint` objects and removes emails and UK phone numbers from descriptions. Organisation names and non-street region fields are kept.
- Runs on the Apify platform, so you can save a Task, add a Schedule, monitor runs, call the API, or connect integrations without maintaining a server.

### Who it is for

- **Bid managers** who want a daily shortlist of open UK tenders without watching two government portals.
- **Consultants and agencies** tracking public contracts across England, Scotland, Wales and Northern Ireland.
- **SMEs and suppliers** selling to the public sector, including searches limited to SME-suitable Contracts Finder notices.
- Researchers who also need planning (pipeline) or award notices (set *Stage* accordingly).

### What data can UK Tender Alerts extract?

Each row is one notice. Personal contact details are removed.

| Field | Description |
|---|---|
| `ocid` | Open Contracting identifier for the procurement |
| `noticeId` | Notice / release id from the source API |
| `title` | Notice title |
| `buyerName` | Buying organisation |
| `region` | Delivery or buyer region as NUTS/ITL codes and place names (not street addresses) |
| `publishedDate` | Date the notice was published |
| `deadline` | Submission deadline, when published |
| `daysLeft` | Whole days remaining until that deadline |
| `valueAmount`, `currency` | Published value, usually GBP, when available |
| `cpvCodes` | CPV codes from the notice and its items |
| `procedureMethod` | Procurement method, when published |
| `suitableForSme` | Contracts Finder SME-suitable flag (`true`/`false`), or empty when not published |
| `noticeUrl` | Official notice page on Contracts Finder or Find a Tender |
| `documentsUrl` | Further documents or e-tendering URL, when published |
| `source` | `contractsFinder` or `findATender` |
| `stage`, `status` | Procurement stage and status |
| `description` | Notice description, first 2,000 characters (optional; emails and UK phone numbers removed) |

### How to get daily tender alerts

Follow these steps once. After that, Apify runs the search on your schedule and can send new tenders to Google Sheets, Slack or email.

1. Open [UK Tender Alerts](https://console.apify.com/actors/Dna83t9j7yBaV1HR9) in Apify Console and fill in your filters (keywords, CPV codes, regions, sources, and any value, SME or deadline limits).
2. Turn on **Only new since last run**, type an **Alert name** for this saved search, and set **Published in the last N days** to `7` (or `2` if you will run it every day and want a tighter window).
3. Keep **Only tenders still open** on if you only want notices you can still bid for. Leave **Sources** on both official APIs unless you have a reason to use one of them alone.
4. Click **Save** as a [Task](https://docs.apify.com/platform/actors/running/tasks) so the input is reused every time. Give the Task a clear name, for example `UK NHS tenders — daily`.
5. On the Task, create a [Schedule](https://docs.apify.com/platform/schedules) (daily, or every weekday, at a time that suits you).
6. On the Task, add an [Apify integration](https://docs.apify.com/platform/integrations) to export each run: [Google Sheets](https://docs.apify.com/platform/integrations/google-sheets), [Slack](https://docs.apify.com/platform/integrations/slack), or email. You can also download the dataset as CSV, Excel or JSON, or pull it from the Apify API.
7. Run the Task once by hand so the first alert memory is stored. Later scheduled runs return only notices that are new for that alert name.

If you use more than one search (for example NHS work and IT services), save a **separate Task and alert name** for each one.

### Input examples for common use cases

#### UK NHS and health tenders

Open notices from both official APIs whose title, description or buyer name mentions NHS or health, from the last seven days. Suitable for a daily scheduled alert.

```json
{
  "keywords": ["NHS", "health"],
  "sources": "both",
  "stage": "tender",
  "publishedWithinDays": 7,
  "onlyOpenDeadline": true,
  "onlyNewSinceLastRun": true,
  "alertId": "uk-nhs-daily",
  "maxItems": 50
}
```

#### UK IT services

Open IT-service notices (CPV `72`), including software and cloud keywords, from Contracts Finder and Find a Tender.

```json
{
  "keywords": ["software", "cloud"],
  "cpvCodes": ["72"],
  "sources": "both",
  "stage": "tender",
  "publishedWithinDays": 7,
  "onlyOpenDeadline": true,
  "smeSuitableOnly": false,
  "onlyNewSinceLastRun": true,
  "alertId": "uk-it-daily",
  "maxItems": 50
}
```

To keep only Contracts Finder notices flagged as suitable for SMEs, set `smeSuitableOnly` to `true`. Find a Tender often does not publish that flag, so those rows are skipped when the filter is on.

#### Construction tenders in England

Open construction-work notices (CPV `45`) whose region contains `England`.

```json
{
  "cpvCodes": ["45"],
  "regions": ["England"],
  "sources": "both",
  "stage": "tender",
  "publishedWithinDays": 7,
  "onlyOpenDeadline": true,
  "onlyNewSinceLastRun": true,
  "alertId": "uk-construction-england",
  "maxItems": 50
}
```

CPV codes can be 2–8 digit prefixes (`72` matches `72000000`). Regions can be NUTS/ITL codes or names (`UKM`, `London`, `England`).

### How much do UK tender alerts cost?

Pricing is **$0.003 per tender** written to the dataset, which is **$3 per 1,000 tenders**. There is no extra start fee on this Actor. Empty runs do not charge a tender event. In only-new mode, a notice already returned for the same alert name is not written or charged again.

You can cap any run with **Max cost per run**; the Actor stops cleanly when that limit is reached. The official price is always on the Actor's Pricing tab.

Worked example (not a forecast of how many tenders you will get):

- 20 new matching tenders a day × $0.003 × 30 days ≈ **$1.80 per month**
- 40 new matching tenders a day × $0.003 × 30 days ≈ **$3.60 per month**

The number of notices depends on your filters and on what buyers publish.

### Input fields

| Field | What it does |
|---|---|
| Keywords | Keep a notice if any keyword appears in the title, description, buyer name or CPV codes (case-insensitive). |
| CPV codes | 2–8 digit prefixes (for example `72` matches `72000000`). |
| Regions | Keep notices whose delivery or buyer region contains any of these strings (NUTS/ITL codes or names). |
| Sources | Both official APIs (default), Contracts Finder only, or Find a Tender only. |
| Stage | `tender` (default), `planning` or `award`. |
| Published in the last N days | 1–365. Default 7. |
| Only tenders still open | Skips notices whose deadline has passed; notices without a deadline are kept. |
| Minimum value (GBP) | Skips notices below this amount; notices with no published value are kept. |
| SME-suitable only | Uses the Contracts Finder flag. Find a Tender rows are usually skipped when this is on. |
| Only new since last run / Alert name | Alert-mode memory, one list per alert name. |
| Maximum results | Upper limit per run. Default 200. |
| Include description | Adds the notice description (first 2,000 characters). |

### FAQ

#### What is the data source, and can I reuse it?

The Actor reads the official Contracts Finder and Find a Tender OCDS APIs. The data is published under the [Open Government Licence v3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/). Commercial reuse is allowed with the attribution: *Contains public sector information licensed under the Open Government Licence v3.0.* This Actor is not affiliated with or endorsed by Cabinet Office or the Crown.

#### How often is the data updated?

Both services publish notices continuously. This Actor does not keep its own copy of the portals; each run queries the live official APIs for your date window. Find a Tender's API filter is last-updated; the Actor also applies a published-date cutoff so "last N days" refers to when the notice was published. For a daily digest, schedule the Actor once a day.

#### Is it legal to use this Actor?

Yes. It uses official public APIs that are licensed for reuse under OGL v3.0, not a scrape of logged-in pages, and it removes personal contact details. You are still responsible for how you use the results (for example, when you bid or contact a buyer).

#### Why are there two sources?

After the UK left TED, above-threshold notices are published on Find a Tender, and many below-threshold and England notices remain on Contracts Finder. Using both is the only way to cover the market. Results are de-duplicated.

#### Does this include personal data?

No. Official contact points and any emails or UK phone numbers found in the description are removed. Only organisation names and non-street location fields are kept.

#### What if a search returns nothing?

The run still succeeds. The status message and the `SUMMARY` record explain that nothing matched. Widen the date window or drop a filter.

#### Why did the Actor stop early with a rate-limit warning?

Both APIs are public government services. The Actor sends an identifying User-Agent, waits between requests, and backs off if a source returns HTTP 403 or 429. If that happens, wait and run again, or reduce how many pages you need (narrower filters or a lower maximum).

#### Something went wrong?

Open an issue on the *Issues* tab and include your input (without any tokens or passwords). Issues are usually answered within a few days.

### Related Actors

| Actor | What it covers |
|---|---|
| [UK Tender Alerts](https://apify.com/wrenledger/uk-tender-alerts) | Official UK Contracts Finder and Find a Tender notices |
| [EU Tender Alerts](https://apify.com/wrenledger/eu-tender-alerts) | Official TED notices for the EU and other TED publishers |

# Actor input Schema

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

Keep a notice if any keyword appears in the title, description, buyer name or CPV codes (case-insensitive).

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

Common Procurement Vocabulary codes or prefixes (2-8 digits), e.g. 72 or 72000000 for IT services. A prefix matches any more specific code.

## `regions` (type: `array`):

Keep notices whose delivery or buyer region contains any of these strings (NUTS/ITL codes or names, e.g. UKM, England, London).

## `sources` (type: `string`):

Contracts Finder covers below-threshold and many England notices. Find a Tender covers above-threshold and Procurement Act notices for the whole UK. Both is recommended.

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

Which procurement stage to return.

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

Only notices first published (Contracts Finder) or published or updated (Find a Tender, then filtered to the published date) in this window.

## `onlyOpenDeadline` (type: `boolean`):

Skip tender-stage notices whose submission deadline has passed. Notices without a published deadline are kept.

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

Skip notices with a published value below this amount in GBP. Notices without a published value are kept.

## `smeSuitableOnly` (type: `boolean`):

Keep only Contracts Finder notices flagged as suitable for SMEs. Find a Tender often does not publish this flag, so those notices are skipped when this is on.

## `onlyNewSinceLastRun` (type: `boolean`):

Remember returned notices and skip them next time. Schedule the Actor daily and you only get (and pay for) new tenders.

## `alertId` (type: `string`):

Name for this alert's memory in only-new mode. Use a different name for each saved search.

## `maxItems` (type: `integer`):

Stop after this many tenders.

## `includeDescription` (type: `boolean`):

Add the notice description (first 2,000 characters). Emails and UK phone numbers are removed from the text.

## Actor input object example

```json
{
  "sources": "both",
  "stage": "tender",
  "publishedWithinDays": 7,
  "onlyOpenDeadline": true,
  "minValue": 0,
  "smeSuitableOnly": false,
  "onlyNewSinceLastRun": false,
  "alertId": "default",
  "maxItems": 200,
  "includeDescription": true
}
```

# Actor output Schema

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

UK public procurement tenders from the official Contracts Finder and Find a Tender APIs, using the overview dataset view.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("wrenledger/uk-tender-alerts").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("wrenledger/uk-tender-alerts").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 '{}' |
apify call wrenledger/uk-tender-alerts --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,wrenledger/uk-tender-alerts"
        }
    }
}
```

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/Dna83t9j7yBaV1HR9/builds/D8d74aLabM6KTLXQn/openapi.json
