# UK Government Tenders: Contracts Finder & Find a Tender API (`aeriontsai/uk-tenders`) Actor

UK government tenders and contract awards from Contracts Finder and Find a Tender in one dataset, de-duplicated by OCID. Filter by date, stage, CPV and keyword: buyer, value, deadline, CPV codes, awarded suppliers. Schedule daily tender alerts. Contact details removed. No official status.

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

## Pricing

from $3.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

## UK Public Tenders (Find a Tender + Contracts Finder)

UK government tenders and contract awards from Contracts Finder and Find a Tender in one dataset. Track UK public-sector opportunities and contract awards from both Contracts Finder and Find a Tender in one run. Results are merged and de-duplicated by OCID, so each procurement process appears once with buyer, title, stage, CPV codes, estimated value, tender deadline, contract dates, award value and awarded suppliers. Filter by date window, stage (planning, tender, award), CPV prefix and keyword. Contact-person details are removed.

### Use cases

- **Bid and tender teams**: a daily list of new UK government tenders in your CPV codes, from both Contracts Finder and Find a Tender, without checking two websites.
- **Sales and business development**: find public-sector buyers (councils, NHS trusts, universities, central government) that are about to buy what you sell.
- **Contract award and competitor tracking**: see who won which contracts, for how much, using the award stage and the `suppliers` field.
- **Market and spend analysis**: export notices with CPV codes, values, regions and dates to Excel, CSV or JSON for reporting.
- **Tender alerts and pipelines**: schedule the Actor daily and send new notices to a spreadsheet, CRM, Slack or your own system through Apify integrations and the API.

### How to use it

1. Choose the service: both (default), Find a Tender or Contracts Finder.
2. Set a date window (`publishedWithinDays`, or `publishedFrom` / `publishedTo`) and optionally a stage, CPV code prefixes and a keyword.
3. Click **Start** and download the results as JSON, CSV or Excel, or read them through the Apify API. To get alerts, add a daily schedule.

#### Input examples

IT and software services tenders (CPV 72) open for bids, last 7 days, both services:

```json
{ "publishedWithinDays": 7, "stage": "tender", "cpvCodes": ["72"], "maxItems": 100 }
```

Construction contract awards (CPV 45) from Find a Tender in October 2026:

```json
{ "source": "find-a-tender", "stage": "award", "cpvCodes": ["45"], "publishedFrom": "2026-10-01", "publishedTo": "2026-10-31", "maxItems": 200 }
```

Cleaning contracts on Contracts Finder (lower-value contracts) by keyword:

```json
{ "source": "contracts-finder", "keyword": "cleaning", "publishedWithinDays": 14, "maxItems": 50 }
```

### What does UK Public Tenders do?

It reads published UK public procurement notices from the two UK Government services, Find a Tender (higher-value procurements) and Contracts Finder (lower-value contracts, mainly in England), and returns one clean row per procurement process: buyer, title, optional description, stage, CPV codes, estimated value, tender deadline, contract dates, award value and awarded suppliers.
Choose one service or both. With both, results are merged and de-duplicated by the Open Contracting ID (OCID) of the process. Filter by date window, stage (planning, tender, award), CPV code prefix and keyword.

Data freshness: both services publish new notices every working day; this Actor queries the public data services of Find a Tender and Contracts Finder at run time, so results reflect what they return at that moment.

### Personal data

Notices contain names, e-mail addresses and phone numbers of contact persons. This Actor removes every contact field (also when nested), and always removes e-mail addresses, phone numbers and web links found inside titles and descriptions (this cannot be switched off). Street addresses and postcodes are not included. Supplier names are only included when they are recognisably an organisation; names that could belong to a private person, such as sole traders, are withheld and only counted (`suppliersWithheld`). Organisation names (`buyerName`, `suppliers`) are otherwise kept as published, including domain-style brand names; only e-mail addresses and phone numbers are removed from them. Web-link detection in titles and descriptions covers links starting with http, https, ftp or www and lower-case host names with any valid top-level domain.
Descriptions are free text written by the buyer and **may contain names of persons**, which cannot be detected automatically. They are therefore **off by default**; turn on `includeDescriptions` only if you need them (e-mail addresses, phone numbers and web links are still removed).

### How much does it cost?

This Actor uses **pay-per-event** pricing: you pay a small fee per run start and per tender notice saved to the dataset (event `tender-notice`). Duplicates, notices removed by your CPV or keyword filter and malformed notices are not charged.
Set **Maximum results** (`maxItems`) or a run spending limit to cap your cost; the Actor stops cleanly and keeps the results collected so far.

| Event | When | Price (USD) |
|---|---|---|
| `tender-notice` | one procurement process saved to the dataset | 0.003 |
| Actor start | charged by the platform when a run starts | 0.00005 |

### Input

| Field | Type | Description |
|---|---|---|
| `source` | string | `both` (default), `find-a-tender` or `contracts-finder`. |
| `publishedFrom` / `publishedTo` | string (YYYY-MM-DD) | Date window (UK calendar days, inclusive). Find a Tender filters by last-update time, Contracts Finder by publication or last-edit time. |
| `publishedWithinDays` | integer | Last N days (default 3), used when `publishedFrom` is empty. |
| `stage` | string | `all` (default), `planning`, `tender` or `award`. Filtered by the services. |
| `cpvCodes` | array of strings | CPV code prefixes, 2 to 8 digits (e.g. 45000000 or 72). Filtered by this Actor after download. |
| `keyword` | string | Text that must appear in the title or description (descriptions are searched even when not included in the output). Filtered by this Actor after download. |
| `includeDescriptions` | boolean | Include the description (free text, max 2,000 characters). **Off by default.** Free text may contain names of persons. |
| `maxPagesPerSource` | integer | At most this many result pages (up to 100 notices each) per service (default 10). |
| `maxItems` | integer | Stop after this many notices (default 50). |

### Output

Each result is one record in the dataset. Example (real record from a local test run on saved Find a Tender data, with `includeDescriptions` turned on; by default `description` is null):

```json
{
  "noticeId": "095131-2026",
  "ocid": "ocds-h6vhtk-06c63e",
  "source": "Find a Tender",
  "releaseDate": "2026-10-08T11:47:23+01:00",
  "releaseTags": [
    "tender"
  ],
  "stage": "tender",
  "title": "Falls Prevention Service",
  "description": "Countywide Falls Prevention Service requirement within West Sussex for a maximum duration of 5 years (3+2).",
  "status": "active",
  "buyerName": "West Sussex County Council",
  "buyerLocality": "Chichester",
  "buyerRegion": "UKJ27",
  "buyerCountry": "United Kingdom",
  "contractNature": "services",
  "procurementMethod": "open",
  "procurementMethodDetails": "Open procedure",
  "cpvMain": "85100000",
  "cpvMainDescription": "Health services",
  "cpvCodes": [
    "85100000"
  ],
  "estimatedValue": 2000000,
  "estimatedValueCurrency": "GBP",
  "tenderDeadline": "2026-11-05T12:00:00Z",
  "contractStart": "2027-04-01",
  "contractEnd": "2032-03-31",
  "lotsCount": 1,
  "awardDate": null,
  "awardedValue": null,
  "awardedValueCurrency": null,
  "awardedValueInclVat": null,
  "awardStatus": null,
  "suppliers": [],
  "suppliersWithheld": 0,
  "suitableForSme": null,
  "suitableForVcse": null,
  "deliveryRegions": [
    "UKJ2"
  ],
  "language": "en",
  "license": "Open Government Licence v3.0",
  "attribution": "Contains public sector information licensed under the Open Government Licence v3.0. Source: Find a Tender service and Contracts Finder (UK Government; © Crown copyright). This Actor is not affiliated with, or endorsed by, the UK Government, the Cabinet Office or Crown Commercial Service, and its output has no official status. Contact-person details are not included.",
  "scrapedAt": "2026-10-09T16:30:00.000Z"
}
```

Every run also writes a `RUN_SUMMARY` record (counts, success rate, why the run stopped) and an `errors` dataset with one row per problem (no personal data, no stack traces).
The output contains no notice, document or licence links, and web addresses in free-text fields are replaced by \[link removed]; organisation names are kept as published and may contain a domain-style brand name. Use `noticeId` (Find a Tender notice number or Contracts Finder release ID) or `ocid` to look a notice up on the source service.

### Data source and license

Contains public sector information licensed under the Open Government Licence v3.0. Source: Find a Tender service and Contracts Finder (UK Government; © Crown copyright). This Actor is not affiliated with, or endorsed by, the UK Government, the Cabinet Office or Crown Commercial Service, and its output has no official status. Contact-person details are not included.

This Actor uses the services' public data interfaces, makes one request at a time and waits at least 10 seconds between requests to the same service.

### Limitations

- Only published notices are returned (no tender documents or attachments).
- Both services filter by date only; CPV and keyword filters are applied after download, so narrow filters may need more pages (see `maxPagesPerSource`).
- One row per procurement process and run: when a process has several releases in the window (e.g. tender and award), the newest one is returned.
- The same procurement can be published on both services under different IDs; such pairs are not merged.
- Values are copied as published. Find a Tender award notices often publish the value including VAT only (`awardedValueInclVat`).
- Supplier names are withheld when they are not recognisably an organisation, which can also hide some small firms (counted in `suppliersWithheld`).
- With `source` set to both services and a small `maxItems`, the results may come almost entirely from Find a Tender (in our tests 49 of 50); choose `contracts-finder` to get Contracts Finder notices.
- Names of persons written inside free text (titles, and descriptions if turned on) cannot be detected automatically; e-mail addresses, phone numbers and web links are removed. Descriptions are off by default for this reason.
- Link detection in free text is pattern-based: unusual spellings (for example a host name written in capitals with a rare ending, such as GOV.UK used as a name) may not be recognised.
- Because the Actor waits at least 10 seconds between requests to the same service, large date windows take several minutes (in our tests about 40 seconds for 50 notices).

### FAQ

**Is this a Contracts Finder API or a Find a Tender scraper?**
Both, in one Actor. It reads the public data interfaces (OCDS format) of Contracts Finder and the Find a Tender service and returns one clean, flat row per procurement process. You can run it from Apify Console or call it like a UK government tenders API through the Apify API.

**What is the difference between Find a Tender and Contracts Finder?**
Find a Tender carries higher-value UK public procurements; Contracts Finder carries lower-value contracts, mainly in England. Many suppliers need both, which is why this Actor merges them and removes duplicates by OCID.

**Does it download tender documents?**
No. It returns the published notice data only (buyer, title, stage, CPV codes, values, deadline, contract dates, awards). Use `noticeId` or `ocid` to open the notice on the source service.

**Can I get new tenders every day?**
Yes. Add an Apify schedule (for example daily with `publishedWithinDays: 1` or `2`) and connect the dataset to a spreadsheet, e-mail, Slack or webhook integration.

**How much does a typical run cost?**
US$0.003 per tender notice saved plus US$0.00005 per run start: 50 notices = about US$0.15, 1,000 notices = about US$3.00. Duplicates and notices removed by your filters are free. Set `maxItems` or a spending limit to cap the cost.

**Is the data official?**
No. The data is published by the UK Government under the Open Government Licence v3.0; this Actor is independent and its output has no official status.

**Why are contact names and e-mail addresses missing?**
They are removed on purpose (see Personal data) so the output contains as little personal data as possible. Buyer organisation names are kept.

### Support

Found a problem or need a field? Open an issue in the **Issues** tab of this Actor. We aim to respond within 48 hours.

***

This Actor was developed with AI assistance and is covered by automated tests.

# Actor input Schema

## `source` (type: `string`):

Which UK Government service to read: Find a Tender (higher-value notices), Contracts Finder (lower-value contracts, mainly in England) or both. With both, results from the two services are merged and de-duplicated by OCDS process ID (OCID).

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

First day of the window (YYYY-MM-DD, UK local time, inclusive). Find a Tender filters by last-update time, Contracts Finder by publication or last-edit time. Leave empty to use 'Published within the last N days'.

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

Last day of the window (YYYY-MM-DD, inclusive). Defaults to today.

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

Used when 'Published from' is empty: the window is today and the previous N-1 days.

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

Only notices of this stage, filtered by the services themselves: planning (early engagement / pipeline), tender (open opportunities) or award (contract awards). 'All stages' returns everything.

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

Optional. Keep only notices whose main or additional CPV code starts with one of these codes (2 to 8 digits, e.g. 72 for IT services or 45000000 for construction work). Filtered by this Actor after download, so a narrow filter may read more pages.

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

Optional. Keep only notices whose title or description contains this text (case-insensitive). Filtered by this Actor after download.

## `includeDescriptions` (type: `boolean`):

Off by default. When on, the notice description is included (up to 2,000 characters). Free text written by the buyer may contain names of persons; e-mail addresses, phone numbers and web links in it are always removed. The keyword filter also searches descriptions when this is off.

## `maxPagesPerSource` (type: `integer`):

Safety limit on requests: at most this many result pages (up to 100 notices each) are read from each service per run.

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

Stop after this many results. You are charged per result, so this also caps your cost.

## Actor input object example

```json
{
  "source": "both",
  "publishedWithinDays": 3,
  "stage": "all",
  "includeDescriptions": false,
  "maxPagesPerSource": 10,
  "maxItems": 10
}
```

# Actor output Schema

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

Normalized records (one per charged result event).

## `runSummary` (type: `string`):

JSON summary: counts, success rate, stop reason, billing summary, error counts.

## `errors` (type: `string`):

One record per error (taxonomy code, message, stage, URL). No stack traces.

# 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 = {
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("aeriontsai/uk-tenders").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 = { "maxItems": 10 }

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

```

## MCP server setup

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

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/YsMO4wSSJBsgdamtn/builds/gmfxaMsXznpb6mZgL/openapi.json
