# UK Government Tenders Scraper (Contracts Finder) (`oddsdesk/uk-contracts-finder-tenders`) Actor

UK public sector tenders and contract awards from the official Contracts Finder API: title, buyer, value, deadline, CPV, SME suitability, contract dates, suppliers on awards and notice links. Filter by keyword, value, location or SME-suitable.

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

## Pricing

from $2.00 / 1,000 result rows

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 Contracts Finder Tenders Scraper

**UK Government Tenders Scraper** returns UK public sector opportunities and contract awards from **Contracts Finder**, the UK government's official procurement site, through its OCDS search API. Each row has title, description, buyer, value, deadline, CPV code, procedure, SME and VCSE suitability, contract dates, suppliers (for awards) and the notice link.

### What you can do with it

- **Small businesses and bid writers:** new opportunities that match your keywords and value range, especially SME-suitable ones.
- **Sales intelligence:** which councils, NHS trusts and departments are buying what.
- **Award tracking:** who is winning UK public contracts.

### How to use it

1. Pick **Stages** (open opportunities and/or awards) and **Published within (days)**.
2. Optional: keywords, minimum value, buyer location, SME-suitable only.
3. Click **Start**.

**Example input**

```json
{
  "publishedWithinDays": 7,
  "maxItems": 20
}
```

### What you get

| Field | Meaning |
|---|---|
| `noticeId` | Notice ID |
| `ocid` | Open Contracting ID |
| `stage` | tender, award or planning |
| `title` | Title |
| `description` | Description |
| `status` | Status |
| `category` | goods, services or works |
| `cpvCode` | Main CPV code |
| `cpvDescription` | CPV description |
| `procedure` | Procedure details |
| `value` | Contract value |
| `currency` | Currency |
| `suitableForSme` | Buyer marked it suitable for SMEs |
| `suitableForVcse` | Suitable for the voluntary/charity sector |
| `deadline` | Deadline for tenders |
| `contractStart` | Contract start |
| `contractEnd` | Contract end |
| `buyer` | Contracting authority |
| `buyerCity` | Buyer city |
| `buyerPostcode` | Buyer postcode |
| `buyerRegion` | Buyer region |
| `buyerWebsite` | Buyer website |
| `buyerEmail` | Buyer's shared procurement mailbox (generic addresses only, never personal ones) |
| `suppliers` | Awarded suppliers |
| `awardDate` | Award date |
| `publishedAt` | Publication date |
| `url` | Link to the record on the official site |
| `fetchedAt` | When this Actor fetched the row |

**Example row (real output)**

```json
{
  "noticeId": "132d7197-02c1-4923-a036-f77eefa5959b-921084",
  "ocid": "ocds-b5fd17-4fc1f20d-a92d-4b94-bf3e-a8248941989a",
  "stage": "tender",
  "title": "Taxi and MPV (1-8 seats) Passenger Assistant - Taxi and MPV (1-8 seats) Passenger Assistant",
  "description": "Vehicle type: 04 Seat Saloon\r\nPassenger Assistant Required:  Yes Epilepsy trained\r\n \r\nProposed Taxi Route:\r\nFrom:  BN7 2RL\r\nTo:   Acre Wood Sixth Form, TN6 2DY\r\n\r\nFrequency:  Monday - Friday\r\nDaily School Time: 09:00 - 15:10\r\n\r\nComments for Operator:  \r\n Epilepsy trained PA \r\n This opportunity has b...",
  "status": "active",
  "category": "services",
  "cpvCode": "60000000",
  "cpvDescription": "Transport services (excl. Waste transport)",
  "procedure": "Restricted procedure (above threshold)",
  "value": null,
  "currency": null,
  "suitableForSme": true,
  "suitableForVcse": false,
  "deadline": "2026-11-12T12:00:00Z",
  "contractStart": "2026-11-16T00:00:00Z",
  "contractEnd": "2029-07-31T22:59:59Z",
  "buyer": "East Sussex County Council",
  "buyerCity": "Lewes",
  "buyerPostcode": "BN7 1UE",
  "buyerRegion": null,
  "buyerWebsite": "http://www.eastsussex.gov.uk",
  "buyerEmail": "procurement@eastsussex.gov.uk",
  "suppliers": null,
  "awardDate": null,
  "publishedAt": "2026-11-09T16:53:56Z",
  "url": "https://www.contractsfinder.service.gov.uk/Notice/132d7197-02c1-4923-a036-f77eefa5959b",
  "fetchedAt": "2026-11-10T08:15:22Z"
}
```

### Pricing

You pay per result: **$2.00 per 1,000 rows** ($0.002 per row), plus a small Apify start fee per run. Set **Max results** to cap the cost of any run. There's no monthly rental.

### Run it on a schedule

Most people use this Actor as a feed. In Apify Console, open **Schedules**, pick this Actor and a time (daily is typical), and connect an integration to send new rows to **Google Sheets, Slack, email, Zapier, Make, n8n or a webhook**. You can also call it from your own code with the [Apify API](https://docs.apify.com/api/v2) or the Apify Python and JavaScript clients, or let an AI agent call it through the Apify MCP server.

### Is this allowed?

This Actor only reads **public notices from the UK government's Contracts Finder API, under the Open Government Licence (individual contact names are left out)**. It does not log in anywhere or bypass any access control, and it is built to return business data, not personal data about individuals. You are responsible for using the data in line with the source's terms and the laws that apply to you (for example GDPR and anti-spam rules if you use company contact data for outreach).

*Not affiliated with or endorsed by the UK government or Crown Commercial Service. Data is provided as-is from the official source.*

### Questions, bugs, ideas

Open an issue on the **Issues** tab and I'll look into it. If a source changes and something breaks, I fix it; Apify also tests this Actor automatically every day. Feature requests (a new field, a new filter, another source) are welcome.

More data tools from the same developer: [apify.com/oddsdesk](https://apify.com/oddsdesk).

# Actor input Schema

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

Open opportunities, awards, or both.

## `publishedWithinDays` (type: `integer`):

Notices published in the last N days.

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

Only notices whose title, description or CPV description contains any of these.

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

Skip notices below this value.

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

Only notices the buyer marked suitable for small businesses.

## `locations` (type: `array`):

City, region or postcode prefix, e.g. London, Manchester, BS.

## `maxItems` (type: `integer`):

Maximum number of rows to return. You pay per row, so this also caps your cost.

## Actor input object example

```json
{
  "stages": [
    "tender"
  ],
  "publishedWithinDays": 7,
  "smeSuitableOnly": false,
  "maxItems": 200
}
```

# Actor output Schema

## `results` (type: `string`):

One row per result, as described in the README.

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

// Run the Actor and wait for it to finish
const run = await client.actor("oddsdesk/uk-contracts-finder-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 = { "stages": ["tender"] }

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,oddsdesk/uk-contracts-finder-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/A7uxtcrlSoCaPZ8bf/builds/hxkJ24MOnM7dtsenc/openapi.json
