# UK Tenders Scraper - Contracts Finder & Find a Tender (`angaba92/uk-government-tenders-scraper`) Actor

Extract UK government tenders and contract awards from official Contracts Finder & Find a Tender (FTS) OCDS APIs. Get buyer contact emails, GBP contract values, CPV codes, deadlines, and winning supplier UK Companies House numbers under Open Government Licence v3.0.

- **URL**: https://apify.com/angaba92/uk-government-tenders-scraper.md
- **Developed by:** [Andres Garcia-Baquero Leon](https://apify.com/angaba92) (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

$6.00 / 1,000 uk tender or contract award 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 Tenders Scraper - Contracts Finder & Find a Tender

Extract **UK government tenders, framework opportunities, and public-sector contract awards** from both official British procurement portals — **Contracts Finder** and **Find a Tender Service (FTS)** — in one normalized dataset. Every record includes **buyer procurement contact emails, GBP contract values, CPV codes, submission deadlines, SME suitability flags, and winning supplier UK Companies House numbers** under the **UK Open Government Licence v3.0**.

### Why Use This UK Government Tenders Scraper?

UK public procurement is split across two separate portals: **Contracts Finder** (opportunities from £12,000 / £30,000 upwards) and **Find a Tender Service (FTS)** (high-value above-threshold tenders and multi-million-pound frameworks). Querying only one misses half the market.

| Capability | Single-Portal Scrapers | Legacy Tender Subscriptions (£150-£500/mo) | **UK Tenders Scraper (Contracts Finder + FTS)** |
|---|---|---|---|
| **Contracts Finder OCDS API** | Sometimes | Yes | **Included** |
| **Find a Tender (FTS) High-Value API** | Rarely | Yes | **Included in the same run** |
| **Buyer Procurement Contact Email & Phone** | Partial | Yes | **Normalized (`buyerEmail`, `buyerDomain`, `buyerTelephone`)** |
| **Winning Supplier UK Companies House IDs** | No | Partial | **Auto-extracted (`companiesHouseNumbers`, e.g. `02174990`)** |
| **Pricing** | $8.00 / 1,000 (1 portal) | Annual contract | **$0.00 start fee + $0.006 / notice ($6.00 / 1,000)** |

### Two High-ROI B2B Workflows

1. **Public Sector Bid & Proposal Monitoring (`stages: ["tender"]`):** Track open UK NHS, council, central government, and university tenders filtered by keyword (`"cybersecurity"`, `"cloud"`, `"facilities"`) or CPV prefix (`"72"` IT services, `"48"` Software, `"45"` Construction, `"85"` Healthcare).
2. **Newly Won Contract Trigger Leads (`stages: ["award"]`, `onlyWithAwardedSupplier: true`):** Identify private companies that just won £100k-£50M government contracts (with their exact **8-character UK Companies House number**), then enrich their directors via **[UK Companies House Scraper](https://apify.com/angaba92/uk-companies-house-scraper)** and corporate emails via **[Website Email, Contact & Tech Stack Scraper](https://apify.com/angaba92/website-email-contact-tech-stack-scraper)**.

### Input Parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `sources` | `string[]` | `["contracts_finder", "find_a_tender"]` | Query `contracts_finder`, `find_a_tender`, or both simultaneously. |
| `stages` | `string[]` | `["tender", "award"]` | Match any listed OCDS stage family (`planning`, `tender`, `award`), including corresponding updates. Tender notices are not necessarily still open: check `status` and `tenderDeadlineAt`. |
| `keywords` | `string[]` | `[]` | Case-insensitive keywords matched against title, description, CPV, buyer, or supplier. |
| `cpvPrefixes` | `string[]` | `[]` | CPV classification prefixes (e.g. `"72"`, `"48"`, `"79"`). |
| `daysBack` | `integer` | `14` | Lookback window in days (`1` to `365`). |
| `minValueGbp` | `number` | `0` | Minimum estimated or awarded contract value in GBP (`£`). |
| `smeSuitableOnly` | `boolean` | `false` | Require `smeSuitable: true` for SME-targeted contracts. |
| `onlyWithBuyerEmail` | `boolean` | `false` | Only emit notices exposing a valid `buyerEmail`. |
| `onlyWithAwardedSupplier` | `boolean` | `false` | Only emit award notices naming winning suppliers. |
| `maxPagesPerSource` | `integer` | `8` | Maximum 100-notice OCDS pages scanned per portal (`1` to `50`). |
| `maxResults` | `integer` | `25` | Maximum returned notices (`1` to `2000`). |

#### Example Input (Newly Awarded UK Tech Contracts >= £100,000)

```json
{
  "sources": ["contracts_finder", "find_a_tender"],
  "stages": ["award"],
  "cpvPrefixes": ["72", "48"],
  "daysBack": 30,
  "minValueGbp": 100000,
  "onlyWithAwardedSupplier": true,
  "maxResults": 50
}
```

#### Example Output Item

```json
{
  "ocid": "ocds-h6vhtk-07c1cf",
  "releaseId": "110839-2026-1",
  "source": "find_a_tender",
  "noticeUrl": "https://www.find-tender.service.gov.uk/Notice/110839-2026-1",
  "publishedAt": "2026-11-23T16:40:12Z",
  "stages": ["award"],
  "title": "Enterprise Cloud & Managed Cyber Security Services",
  "descriptionSnippet": "Provision of managed cloud infrastructure and security operations across regional offices.",
  "status": "active",
  "procurementCategory": "services",
  "procurementMethod": "Open procedure",
  "smeSuitable": true,
  "vcseSuitable": false,
  "cpvCode": "72222300",
  "cpvDescription": "Information technology services",
  "additionalCpvCodes": ["48000000"],
  "deliveryRegions": ["London"],
  "deliveryPostcodes": ["SW1A 2AA"],
  "valueGbp": 1450000.0,
  "minValueGbp": null,
  "awardValueGbp": 1450000.0,
  "currency": "GBP",
  "tenderDeadlineAt": null,
  "awardDate": "2026-11-20T00:00:00Z",
  "contractStartDate": "2026-12-01T00:00:00Z",
  "contractEndDate": "2028-11-30T23:59:59Z",
  "buyerName": "The Mayor's Office for Policing and Crime",
  "buyerId": "11991223",
  "buyerContactName": "Procurement Team",
  "buyerEmail": "mopacprocurement@mopac.london.gov.uk",
  "buyerTelephone": "+44 2071611578",
  "buyerWebsite": null,
  "buyerDomain": "mopac.london.gov.uk",
  "supplierCount": 1,
  "suppliers": [
    {
      "name": "Softcat PLC",
      "companiesHouseNumber": "02174990",
      "identifierScheme": "GB-COH",
      "rawId": "02174990",
      "email": null,
      "scale": "large"
    }
  ],
  "companiesHouseNumbers": ["02174990"],
  "license": "UK Open Government Licence v3.0",
  "scrapedAt": "2026-11-23T19:55:00+00:00"
}
```

### Pricing (Transparent Pay-Per-Event)

- **Actor start fee:** `$0.00`
- **Per emitted notice (`tender-notice`):** `$0.006` (`$6.00` per 1,000 notices)
- Non-matching notices scanned during keyword/CPV filtering cost **$0.00**.

### Clay, n8n, Make & Python Recipes ($0 Start Fee)

With **$0.00 per run start**, you can poll awarded UK contracts or open tenders synchronously in **Clay**, **n8n**, **Make**, or **Python**:

- **Method & Endpoint:** `POST https://api.apify.com/v2/acts/Angaba92~uk-government-tenders-scraper/run-sync-get-dataset-items`
- **Headers:** `Authorization: Bearer YOUR_APIFY_TOKEN`, `Content-Type: application/json`
- **Awarded Supplier Leads Body:** `{"query": "cybersecurity", "stages": ["award"], "maxResults": 20}`
- **Output Mapping:** `[0].title`, `[0].buyerName`, `[0].buyerEmail`, `[0].valueGbp`, `[0].companiesHouseNumbers`

```python
import os, httpx

awards = httpx.post(
    "https://api.apify.com/v2/acts/Angaba92~uk-government-tenders-scraper/run-sync-get-dataset-items",
    headers={"Authorization": f"Bearer {os.environ['APIFY_TOKEN']}"},
    json={"query": "software", "stages": ["award"], "maxResults": 10},
    timeout=120,
).json()
for a in awards:
    print(a["title"], a["valueGbp"], a["companiesHouseNumbers"])
```

### Multi-Actor UK & US Public Procurement Stack

- **[UK Companies House Scraper](https://apify.com/angaba92/uk-companies-house-scraper):** Pass `companiesHouseNumbers` from awarded tenders into `mode: "company_numbers"` to retrieve active directors, PSCs, SIC codes, and filing history.
- **[Website Email, Contact & Tech Stack Scraper](https://apify.com/angaba92/website-email-contact-tech-stack-scraper):** Enrich winning supplier websites and `buyerDomain` with verified emails, MX/DMARC records, and detected tech stacks.
- **[SAM.gov Federal Contract Opportunities Monitor](https://apify.com/angaba92/sam-gov-opportunities-monitor):** Pair UK procurement monitoring with US federal government contract opportunities.
- **[SEC Form D Scraper - Startup Funding Rounds](https://apify.com/angaba92/sec-form-d-startup-funding-scraper)** & **[France SIRENE Company Scraper](https://apify.com/angaba92/france-sirene-company-scraper):** Expand B2B triggers across US VC-backed startups and French corporate registries.

### FAQ & Data Licensing

1. **Do I need an API key or UK proxies?**
   No. Both Contracts Finder and Find a Tender publish open OCDS v1.1 JSON endpoints without authentication or proxy requirements.
2. **What is the legal license of the underlying data?**
   Public sector information extracted by this Actor is licensed under the **UK Open Government Licence v3.0 (OGL v3.0)**.
3. **Why is `valueGbp` `null` on some notices?**
   Multi-supplier frameworks or early market engagement notices occasionally omit a fixed GBP figure (`TBC`) in the official filing; enable `minValueGbp > 0` if you only want notices with explicit monetary values.
4. **How are duplicate updates handled?**
   Notices are deduplicated by `ocid` + the set of stage tags across pages and portals, sorted newest-first by `publishedAt`. Find a Tender stages are matched locally because its API can omit current-regime notices with server-side stage filters. `maxPagesPerSource` caps how far back the Actor scans; selective searches can return fewer than `maxResults` even when additional matches exist beyond that cap.
5. **Can I call this Actor synchronously from n8n, Make, or Clay?**
   Yes — `POST https://api.apify.com/v2/acts/Angaba92~uk-government-tenders-scraper/run-sync-get-dataset-items` returns normalized JSON directly in a single HTTP request.

# Actor input Schema

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

Choose Contracts Finder (notices >= £12k), Find a Tender Service (high-value UK tenders & frameworks), or both.

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

Select one or more OCDS stage families (OR): 'tender', 'award', 'planning'. Includes updates to selected stages, but not cancellation-only or implementation-only releases. A tender notice is not necessarily still open.

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

Case-insensitive keywords matched against tender title, description, CPV label, buyer name, or supplier name (leave empty for all sectors).

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

Filter by CPV procurement classification prefix, e.g. '72' (IT services), '48' (Software), '45' (Construction), '79' (Consulting), '85' (Healthcare).

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

Lookback window in days from today (1 to 365).

## `minValueGbp` (type: `number`):

Only return notices whose estimated tender or award value is at least this amount in GBP (0 = include all values, including framework/TBC).

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

Only emit notices explicitly flagged as suitable for Small and Medium-sized Enterprises (SMEs).

## `onlyWithBuyerEmail` (type: `boolean`):

Only emit notices that expose a direct buyer procurement email address.

## `onlyWithAwardedSupplier` (type: `boolean`):

Only emit contract award notices that name at least one winning supplier.

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

Maximum 100-notice OCDS pages scanned per portal when filtering by keyword or CPV.

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

Maximum number of UK tender/award notices to emit. Each emitted notice counts as 1 tender-notice event.

## Actor input object example

```json
{
  "sources": [
    "contracts_finder",
    "find_a_tender"
  ],
  "stages": [
    "tender",
    "award"
  ],
  "keywords": [],
  "cpvPrefixes": [],
  "daysBack": 14,
  "minValueGbp": 0,
  "smeSuitableOnly": false,
  "onlyWithBuyerEmail": false,
  "onlyWithAwardedSupplier": false,
  "maxPagesPerSource": 8,
  "maxResults": 15
}
```

# 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 = {
    "sources": [
        "contracts_finder",
        "find_a_tender"
    ],
    "stages": [
        "tender",
        "award"
    ],
    "daysBack": 14,
    "maxResults": 15
};

// Run the Actor and wait for it to finish
const run = await client.actor("angaba92/uk-government-tenders-scraper").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 = {
    "sources": [
        "contracts_finder",
        "find_a_tender",
    ],
    "stages": [
        "tender",
        "award",
    ],
    "daysBack": 14,
    "maxResults": 15,
}

# Run the Actor and wait for it to finish
run = client.actor("angaba92/uk-government-tenders-scraper").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 '{
  "sources": [
    "contracts_finder",
    "find_a_tender"
  ],
  "stages": [
    "tender",
    "award"
  ],
  "daysBack": 14,
  "maxResults": 15
}' |
apify call angaba92/uk-government-tenders-scraper --silent --output-dataset

```

## MCP server setup

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

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/ls5TOEf4H3PwoFCmW/builds/WPkuoTa2XELRALvtz/openapi.json
