# UK Public Contracts — Find a Tender + Contracts Finder (`openregistry/uk-public-contracts`) Actor

UK public sector tenders and contract awards from the official open OCDS APIs of Find a Tender and Contracts Finder. Filter by keyword, CPV, buyer, supplier, region, value and deadline. Buyer, value, CPV, deadline, winning supplier. No key. Pay per notice.

- **URL**: https://apify.com/openregistry/uk-public-contracts.md
- **Developed by:** [Mahé Perrin](https://apify.com/openregistry) (community)
- **Categories:** Lead generation, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.00 / 1,000 uk procurement notice delivereds

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 Contracts — Find a Tender + Contracts Finder

Get **UK public sector tenders and contract awards** as clean rows, straight from the two official government services: **Find a Tender** (all UK, higher-value and Procurement Act 2023 notices) and **Contracts Finder** (England, lower-value contracts). Filter by keyword, CPV code, buyer, winning supplier, region, value and deadline.

- **Official open APIs**, no key, no login, no scraping: the OCDS endpoints that Find a Tender and Contracts Finder publish for other websites and applications, under the Open Government Licence v3.0.
- **Bid alerts**: open tenders in your sector with their submission deadline, estimated value, buyer contact and official notice link.
- **Market and competitor intelligence**: who won what, for how much, with the supplier's Companies House number when the buyer provided it.
- **One list from both services**: a notice published on both is delivered once.

### Input example

```json
{
  "noticeTypes": ["tender"],
  "cpvCodes": ["72", "48"],
  "regions": ["UKI", "South East"],
  "minValue": 100000,
  "openOnly": true,
  "daysBack": 14,
  "maxResults": 300
}
```

| Field | What it does |
|---|---|
| `noticeTypes` | `tender` (open calls and updates), `award` (winning supplier), `planning` (pipeline and market engagement) |
| `keywords` | Words in the title, description or CPV label |
| `cpvCodes` | CPV prefixes: `72` IT services, `48` software, `45` construction, `79` business services, `90910000` cleaning |
| `buyers`, `suppliers` | Part of the buyer's or winning supplier's name (`NHS`, `Ministry of Defence`, `Capita`) |
| `regions` | NUTS/ITL prefix (`UKI` London, `UKM` Scotland) or region name (`North West`, `Wales`) |
| `minValue`, `maxValue` | Estimated value for tenders, awarded value for awards (GBP) |
| `openOnly` | Tenders whose deadline is still in the future |
| `smeSuitableOnly` | Contracts Finder notices the buyer marked suitable for SMEs |
| `daysBack`, `publishedFrom`, `publishedTo` | Publication window (updates count) |
| `sources` | `findATender`, `contractsFinder` (both by default) |
| `maxResults`, `maxPagesPerSource` | Cap the cost and the reading effort |

### Output example

Real tender from a run on 17 November 2026 (description shortened):

```json
{
  "noticeId": "108707-2026",
  "ocid": "ocds-h6vhtk-068d78",
  "source": "Find a Tender",
  "stage": "tender",
  "releaseTags": ["tenderUpdate"],
  "title": "Provision of Customer Information Solution (CIS) Software, Support & Maintenance",
  "description": "Northern Trains Ltd (NTL) is seeking to procure a modern, hosted Customer Information System…",
  "buyerName": "NORTHERN TRAINS LIMITED",
  "buyerRegion": "UKE21",
  "cpvCode": "48100000",
  "cpvDescription": "Industry specific software package",
  "procurementMethod": "Open procedure",
  "value": 75000000,
  "currency": "GBP",
  "tenderDeadline": "2026-12-14T17:00:00Z",
  "noticeUrl": "https://www.find-tender.service.gov.uk/Notice/108707-2026",
  "licence": "Contains public sector information licensed under the Open Government Licence v3.0."
}
```

Real award (Find a Tender, 16 November 2026):

```json
{
  "stage": "award",
  "title": "Communication skills for language and interpersonal skills",
  "buyerName": "NHS England",
  "buyerRegion": "UKI45",
  "procurementMethod": "Below threshold - limited competition",
  "cpvCodes": ["80000000"],
  "awardDate": "2026-10-26T00:00:00Z",
  "awardedValue": 84000,
  "currency": "GBP",
  "contractStart": "2026-11-16T00:00:00Z",
  "contractEnd": "2028-11-15T23:59:59Z",
  "suppliers": [{ "name": "…", "id": "GB-PPON-PWWB-9974-TLPJ", "companiesHouseNumber": null, "address": "…, Cambridge, PE27 3WT" }],
  "noticeUrl": "https://www.find-tender.service.gov.uk/Notice/108711-2026"
}
```

Also returned: buyer address, postcode and procurement contact (as published in the notice), all CPV codes, main category, procedure, contract dates, delivery regions, SME/VCSE suitability flags.

### Good to know

- Notices come **newest first**. Filters are applied after reading, so a narrow search over a long window reads many pages (100 notices each); `maxPagesPerSource` (300 by default) bounds it and the log tells you if it was reached.
- Updates and amendments are separate notices: the latest version of a procurement is delivered, older versions of the same stage are skipped.
- Short keywords are matched as whole words: `IT` also matches the English word "it". Prefer CPV codes (`72`, `48`) for IT.
- Values are as published: some notices carry no value, and framework values are often ceilings.
- **Polite by design**: about one request per second per service, `Retry-After` honoured, and a 5-minute pause if Contracts Finder signals too many requests, as its documentation asks.
- Contact details are the procurement contacts published in official notices; use them for bid-related business purposes in line with UK GDPR.

**Terms and licence**: [Contracts Finder and Find a Tender terms and conditions](https://www.contractsfinder.service.gov.uk/Home/TermsAndConditions) (content reusable under the [Open Government Licence v3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/); feeds provided for other websites and applications; no circumventing usage limits). Keep the OGL attribution carried in each row when you republish the data. This Actor is not affiliated with the Cabinet Office or Crown Commercial Service.

### Pricing

**$0.002 per notice delivered** ($2 per 1,000). Duplicates are never charged. Set a maximum charge per run in the Apify console and the Actor stops cleanly when it is reached.

# Actor input Schema

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

Stages of the procurement to return. Updates and amendments are included in their stage.

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

Keep notices whose title, description or CPV label contains at least one of these words or phrases, e.g. "cleaning", "cyber security", "construction".

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

Common Procurement Vocabulary codes. A prefix matches all sub-codes: 72 = IT services, 45 = construction work, 79 = business services, 90910000 = cleaning services.

## `buyers` (type: `array`):

Keep notices from buyers whose name contains one of these, e.g. "NHS", "Leeds City Council", "Ministry of Defence".

## `suppliers` (type: `array`):

Keep award notices won by a supplier whose name contains one of these, e.g. "Capita", "Serco". Useful for competitor tracking.

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

Buyer or delivery region: a NUTS/ITL code prefix such as UKI (London), UKM (Scotland), UKD (North West), or a region name such as "North West", "Wales", "Scotland".

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

Keep notices whose estimated value (tenders) or awarded value (awards) is at least this amount. Notices without a value are dropped when set.

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

Keep notices whose value is at most this amount. Notices without a value are dropped when set.

## `openOnly` (type: `boolean`):

Keep only tender notices whose submission deadline is in the future.

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

Contracts Finder flag set by the buyer. Find a Tender notices rarely carry it.

## `daysBack` (type: `integer`):

Window ending now (or at the date below). Ignored when "Published from" is set.

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

Start of the publication window (YYYY-MM-DD). Updates count as publications.

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

End of the publication window (YYYY-MM-DD), included. Default: now.

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

Official services to query. Both by default; a notice published on both is delivered once.

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

Each page holds 100 notices, newest first. Filters are applied after reading, so narrow searches over long windows read many pages. Raise it for long windows.

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

The run stops once this many notices are delivered. Caps the cost.

## Actor input object example

```json
{
  "noticeTypes": [
    "tender",
    "award"
  ],
  "keywords": [
    "software"
  ],
  "openOnly": false,
  "smeSuitableOnly": false,
  "daysBack": 7,
  "sources": [
    "findATender",
    "contractsFinder"
  ],
  "maxPagesPerSource": 300,
  "maxResults": 100
}
```

# Actor output Schema

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

No description

# 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"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("openregistry/uk-public-contracts").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"] }

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

```

## MCP server setup

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

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/byHQbESc82CJXtFYC/builds/6ozjKV6737VLlYk5F/openapi.json
