# UK Public Tenders (Contracts Finder + Find a Tender) (`coresight-data/uk-public-tenders`) Actor

UK government tenders and contract awards from both official feeds in one clean dataset: title, buyer, value, deadline, category, region and link.

- **URL**: https://apify.com/coresight-data/uk-public-tenders.md
- **Developed by:** [Coresight Creative](https://apify.com/coresight-data) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.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 (Contracts Finder + Find a Tender)

Get UK public sector tenders and contract awards from **both official government feeds** in one clean, flat dataset. Search by keyword, value, category, buyer and date, then export to Excel, CSV or JSON, or pull the results into your CRM on a schedule.

- **Contracts Finder**: lower-value contracts from central government, councils, the NHS and other public bodies.
- **Find a Tender**: higher-value contracts across the whole UK.

No login, no API key and no browser needed. The Actor reads the official open-data feeds directly, so it is fast and reliable.

### What you get for each notice

| Field | Example |
|---|---|
| `title` | Office cleaning services 2027 to 2030 |
| `buyerName` | Example Borough Council |
| `buyerTown`, `buyerPostcode`, `buyerWebsite` | Leeds, LS1 1UR |
| `valueAmount`, `valueCurrency` | 250000, GBP |
| `deadline` | 2026-12-15T12:00:00Z |
| `publishedDate` | 2026-11-16T17:45:04Z |
| `stage`, `status` | tender, active |
| `cpvCode`, `cpvDescription`, `allCpvCodes` | 90910000, Cleaning services |
| `category` | services |
| `regions` | North West |
| `procurementMethod` | Open procedure (below threshold) |
| `suitableForSme` | true |
| `contractStart`, `contractEnd` | 2027-01-25, 2027-03-31 |
| `awardedSuppliers`, `awardDate` | for award notices: who won and when |
| `description` | the full notice text |
| `noticeUrl` | link to the official notice |
| `source`, `noticeId`, `ocid` | which feed it came from and its official references |

### What it is useful for

- **Bid teams and small suppliers**: a daily list of new opportunities in your trade, without checking two websites.
- **Sales and market research**: see who is buying what, for how much, and which suppliers keep winning.
- **Alerts and dashboards**: schedule a run each morning and send new notices to Slack, email, Google Sheets or your CRM.

### Input

| Setting | What it does |
|---|---|
| Keywords | Keeps notices whose title, description or category contains any of your words. |
| Sources | One feed or both. |
| Stage | Tenders (opportunities), awards (who won), planning notices, or all. |
| Only tenders still open | Drops anything whose deadline has passed. |
| Published from / to | Date range. Default is the last 7 days. |
| Minimum / maximum value | Filter on the stated contract value in pounds. |
| CPV category codes | Official category codes. A broad code also matches the codes beneath it. |
| Buyer name contains | For example `council` or `NHS`. |
| Maximum results | Stops after this many notices. |

#### Example

```json
{
    "keywords": ["cleaning", "facilities management"],
    "stage": "tender",
    "openOnly": true,
    "minValue": 25000,
    "maxResults": 200
}
```

### Good to know

- Keyword matching happens after the notices are read, so a narrow keyword over a long date range reads many notices to find a few. You only pay for the notices saved.
- Not every notice states a value. Notices with no value are dropped only when you set a minimum or maximum value.
- When a notice has been updated, you get the most recent version.
- Contact names, email addresses and phone numbers are **not** included. Use the `noticeUrl` to reach the official notice.
- The official feeds limit how fast they can be read. If a feed asks the Actor to slow down, it waits and carries on.

### Data source and licence

Contains public sector information licensed under the [Open Government Licence v3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/). Data comes from Contracts Finder and Find a Tender, both published by the Cabinet Office. This Actor is independent and is not affiliated with or endorsed by the UK Government.

# Actor input Schema

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

Keep notices whose title, description or category contains ANY of these words or phrases. Leave empty for every notice.

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

Contracts Finder covers lower-value contracts (England and UK-wide bodies). Find a Tender covers higher-value contracts across the UK.

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

Open opportunities, awarded contracts, early planning notices, or everything.

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

Keep only notices whose deadline is in the future.

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

Earliest publication date, for example 2026-11-01. Default: 7 days before 'Published to'.

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

Latest publication date. Default: now.

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

Keep only notices with a stated value of at least this much. Notices with no stated value are dropped when this is set.

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

Keep only notices with a stated value of at most this much.

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

Official procurement category codes. A broad code such as 45000000 (construction) also matches every code beneath it.

## `buyerContains` (type: `string`):

Keep only notices from buyers whose name contains this text, for example 'council' or 'NHS'.

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

Stop after saving this many notices. You are charged per saved notice.

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

Safety limit. Each page holds 100 notices. Raise it for long date ranges with narrow filters.

## Actor input object example

```json
{
  "keywords": [
    "cleaning"
  ],
  "sources": [
    "contracts-finder",
    "find-a-tender"
  ],
  "stage": "tender",
  "openOnly": false,
  "maxResults": 100,
  "maxPagesPerSource": 100
}
```

# Actor output Schema

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

One row per notice: title, buyer, value, deadline, category, region and a link to the official notice.

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

How many notices were read and saved from each official feed.

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

// Run the Actor and wait for it to finish
const run = await client.actor("coresight-data/uk-public-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 = { "keywords": ["cleaning"] }

# Run the Actor and wait for it to finish
run = client.actor("coresight-data/uk-public-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 '{
  "keywords": [
    "cleaning"
  ]
}' |
apify call coresight-data/uk-public-tenders --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,coresight-data/uk-public-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/ln8knRKkvB9uerf4u/builds/iZtOnplhvYQMM1fiT/openapi.json
