# UK Tenders Feed: Find a Tender + Contracts Finder (`datakit/uk-tenders-feed`) Actor

Get new UK public sector tenders from Find a Tender and Contracts Finder by CPV code, keyword, region and value. Deadline, buyer, value, SME suitability, notice link. New-since-last-run mode for daily tender alerts.

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

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## 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 Tenders Feed (Find a Tender + Contracts Finder)

Get new UK public sector tenders as clean JSON/CSV from both official portals, **Find a Tender** (higher-value, all UK) and **Contracts Finder** (lower-value, England), via their OCDS APIs (Open Government Licence). Filter by CPV code, keyword, delivery region, minimum value and SME suitability. Run it daily in `newOnly` mode to get only notices you have not seen yet.

### Who uses it

- Small suppliers and agencies who bid for UK public contracts and want a daily alert instead of checking the portal.
- Bid writers, consultants and market researchers tracking what buyers plan to procure and who wins.

### Input (all optional; empty input returns a small sample)

| Field | Meaning |
|---|---|
| `cpvCodes` | CPV prefixes, e.g. `72` (IT services), `45` (construction), `71` (engineering) |
| `keywords` | Words in title/description; any match |
| `stage` | `tender` (open to bid), `planning` (pipeline), `award` (who won what) |
| `region` | e.g. `London`, `Scotland` |
| `minValue`, `smeOnly` | Value floor in GBP, SME-suitable only |
| `daysBack`, `maxResults` | Window (1-60 days) and cap |
| `mode`, `stateKey` | `newOnly` remembers seen notices per `stateKey` |

### Output fields

`title`, `description`, `publishedDate`, `deadline`, `buyerName`, `buyerLocality`, `cpv`, `cpvDescription`, `category`, `procurementMethod`, `value`, `currency`, `regions`, `suitableForSme`, `contractStart/End`, `awardedTo`, `url` (notice page).

### Notes

- Data: Contracts Finder (Crown Commercial Service), Open Government Licence v3. Buyer contact details are not output.
- The API allows about 30 requests per 5 minutes; large windows can take a few minutes because the Actor waits when throttled.
- Covers notices published on Contracts Finder (England, plus UK-wide central government). Above-threshold Find a Tender notices are a separate service.

# Actor input Schema

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

Common Procurement Vocabulary codes or prefixes. 72 = all IT services, 45 = construction, 79 = business services, 71 = engineering/architecture. A notice matches if its main CPV starts with any prefix. Empty = all sectors.

## `keywords` (type: `string`):

Words searched in title and description (any one matches, e.g. 'cloud cyber'). Empty = no keyword filter.

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

both = Find a Tender (higher-value, all UK) plus Contracts Finder (lower-value, England), merged; fts or cf = one portal only.

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

tender = open opportunities you can bid on; planning = early market engagement / pipeline; award = contracts already awarded.

## `region` (type: `string`):

Text matched against delivery regions, e.g. 'London', 'Scotland', 'North West'.

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

Only notices with a stated value at or above this.

## `smeOnly` (type: `boolean`):

Only notices flagged as suitable for small businesses.

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

Only notices published within this many days.

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

Stop after this many notices.

## `mode` (type: `string`):

all = every matching notice; newOnly = only notices not seen in previous runs with the same state key (for daily alerts).

## `stateKey` (type: `string`):

Name for the remembered set in newOnly mode. Use a different key per saved search.

## Actor input object example

```json
{
  "cpvCodes": [
    "72"
  ],
  "source": "both",
  "stage": "tender",
  "smeOnly": false,
  "daysBack": 7,
  "maxResults": 100,
  "mode": "all",
  "stateKey": "default"
}
```

# Actor output Schema

## `results` (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 = {
    "cpvCodes": [
        "72"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("datakit/uk-tenders-feed").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 = { "cpvCodes": ["72"] }

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

```

## MCP server setup

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

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/cif82uvrxPb8wnCOz/builds/VQ7uGinRN48d0cXbq/openapi.json
