# UK Public Tenders Scraper - Find a Tender & Contracts Finder (`scarlet_sheet/uk-public-tenders`) Actor

Search UK government tenders, contract opportunities and awards from Find a Tender (FTS) and Contracts Finder in one run. Filter by keyword, CPV, region, value, deadline and SME suitability. No API key or login.

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

## Pricing

Pay per event

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 Scraper - Find a Tender & Contracts Finder

Get **UK government tenders, contract opportunities and contract awards** from both official UK procurement services in one run:

- **Find a Tender (FTS)** - all above-threshold and Procurement Act 2023 notices (planning, tender, award, contract, cancellations)
- **Contracts Finder** - lower-value opportunities and awards in England

No API key, no login, no browser. The Actor reads the official public open data feeds (OCDS) and returns clean, flat rows ready for spreadsheets, CRMs and bid alerts.

### What you can filter on

- **Keywords** (any match in title, description or buyer)
- **Notice stage**: planning / pipeline, tender (open opportunity), award, cancelled
- **Published date window** (last N days, or from/to dates)
- **CPV codes or prefixes** (e.g. `72` IT services, `45` construction, `90910000` cleaning)
- **Region** (ITL/NUTS codes like `UKI` London, `UKM` Scotland)
- **Min / max value** in GBP
- **Open only** (deadline in the future) and **SME-suitable only**

### Output

Each row includes: source, notice ID, OCID, stage, title, description, status, published date, **submission deadline**, buyer name, buyer town/postcode/website, main CPV + description, additional CPVs, category, procurement method, **estimated value**, regions, SME suitability, lot count, **awarded suppliers and award value**, and a direct link to the notice.

Personal contact details (named contacts, emails, phone numbers) are intentionally **not** collected.

```json
{
  "source": "Find a Tender",
  "noticeId": "106227-2026",
  "stage": "tender",
  "title": "Digital development partner and content management system platform",
  "deadline": "2026-12-11T15:00:00Z",
  "valueAmount": 258333,
  "valueCurrency": "GBP",
  "url": "https://www.find-tender.service.gov.uk/Notice/106227-2026"
}
```

### Use cases

- Daily or weekly **bid alerts** for your sector (schedule the Actor and connect to email, Slack or Google Sheets)
- **Competitor tracking**: who is winning UK public contracts and for how much
- **Market research** on public sector spend by CPV, region and buyer

### Pricing

Pay per event: a small start fee per run plus a fee per notice saved. You only pay for results you get. Set **Max results** to control cost.

### Tips

- Scanning Find a Tender takes about 1 second per 100 notices; a 7-day window (~2,500 notices) runs in under a minute.
- Use `stages: ["tender"]` + `openOnly: true` for live opportunities you can still bid on.
- Data is published under the UK Open Government Licence.

# Actor input Schema

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

Match any keyword in title, description or buyer name (case-insensitive). Empty = all notices.

## `stages` (type: `array`):

planning = pipeline / market engagement, tender = open opportunities, award = awarded contracts, cancelled = withdrawn/cancelled.

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

Used when 'Published from' is empty.

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

Optional. Overrides 'last N days'.

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

Optional. Defaults to now.

## `cpvPrefixes` (type: `array`):

e.g. 72 (IT services), 4521 (building works), 90910000. Matches main or additional CPV.

## `regionPrefixes` (type: `array`):

e.g. UKI (London), UKM (Scotland), UKD (North West). Find a Tender uses codes; Contracts Finder uses names like 'London'.

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

Optional. Uses estimated value, or award value for awards.

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

Optional.

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

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

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

Keep only notices marked suitable for small and medium-sized businesses.

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

Which official UK services to search.

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

Stop after this many matching notices (controls cost).

## Actor input object example

```json
{
  "keywords": [
    "software"
  ],
  "stages": [
    "tender"
  ],
  "daysBack": 7,
  "openOnly": false,
  "smeOnly": false,
  "sources": [
    "findATender",
    "contractsFinder"
  ],
  "maxResults": 100
}
```

# 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 = {
    "keywords": [
        "software"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scarlet_sheet/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": ["software"] }

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scarlet_sheet/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/7ZNyinwVRffnZgNul/builds/ZAogljv9nSWgmJZSv/openapi.json
