# UK Procurement Notices: Find a Tender and Contracts Finder (`asaadat/uk-procurement-notices`) Actor

UK public tenders and contract awards from the Find a Tender and Contracts Finder open-data feeds, as one flat record per notice with a link to the source notice. Contact fields left out. Optional change tracking. Independent tool, not affiliated with the UK government.

- **URL**: https://apify.com/asaadat/uk-procurement-notices.md
- **Developed by:** [Atilla Saadat](https://apify.com/asaadat) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 results

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 Procurement Notices: Find a Tender and Contracts Finder in one schema

Get UK public-sector tenders and contract awards from the two official open-data feeds, **Find a Tender** and **Contracts Finder**, as one flat, consistent record per notice. Each record links to the official notice. Contact details are left out.

This is an independent tool. It is not affiliated with, endorsed by, or operated by the UK government.

### What you get

- **Two feeds, one schema.** The same 23 fields for every notice, whichever feed it came from.
- **Flat records.** The feeds publish deeply nested OCDS release packages. This returns one row per notice, ready for a spreadsheet, a database, or an alert.
- **Categories filled in.** Find a Tender often puts CPV codes on items or awards rather than on the tender. They are collected into `category_code` and `additional_category_codes`.
- **Filters that save money.** Filter by CPV prefix or keyword. Notices that do not match are not delivered and not charged.
- **One record per notice.** Contracts Finder publishes every revision of a notice as a separate entry. You get the latest revision in your window once, not each revision.
- **Only what changed (optional).** On a schedule, turn on **Only new and changed notices** to skip anything an earlier run already delivered unchanged.
- **No contact fields.** The feeds' contact names, email addresses, phone numbers, and postal addresses are never copied. Email addresses and phone numbers that buyers typed into free text are replaced with `[removed]` where they follow a usual pattern. See the limits below.

### Input

Every field is optional. With the default input you get up to 200 notices from the last 7 days.

| Field | What it does | Default |
|---|---|---|
| `sources` | `uk-find-a-tender`, `uk-contracts-finder`, or both | both |
| `stages` | Any of `planning`, `tender`, `award`. Empty means all | all |
| `daysBack` | Days before the end date to start from (1 to 31) | 7 |
| `dateFrom`, `dateTo` | Explicit window, `YYYY-MM-DD`, in UTC. `dateFrom` overrides `daysBack` | none |
| `maxNotices` | Stop after this many delivered notices (1 to 5,000) | 200 |
| `cpvPrefixes` | Keep notices whose CPV code starts with one of these, such as `72` | none |
| `keywords` | Keep notices whose title or description contains one of these | none |
| `trackChanges` | Deliver only new and changed notices, labelled in `change_type` | off |

Find a Tender matches the window against the date a notice was last updated. Contracts Finder matches it against the date a notice was published. A window never extends past the present moment.

**Running on a schedule.** Without change tracking, every run delivers, and charges for, everything in its window. A daily run with the default 7-day window would deliver each notice about seven times. Either turn on `trackChanges`, or set `daysBack` to match how often you run.

### Output

One record per notice:

| Field | Meaning |
|---|---|
| `notice_id` | The notice's id. Find a Tender: its notice number, such as `000001-2026`. Contracts Finder: the notice's UUID, shared by all its revisions |
| `process_id` | The OCDS id (`ocid`) of the procurement process. Notices about the same procurement share it |
| `source` | `uk-find-a-tender` or `uk-contracts-finder` |
| `source_url` | Link to the official notice |
| `stages` | The notice's OCDS tags, such as `tender`, `award`, `contract`, `tenderUpdate` |
| `published_at` | When this notice, or this revision of it, was published |
| `title`, `description` | As published, with email addresses and phone numbers removed by pattern |
| `status` | Tender status, such as `active` or `complete` |
| `buyer_id`, `buyer_name` | The buying organisation, as the feed identifies and names it |
| `category_scheme`, `category_code`, `category_description` | Main category, normally CPV |
| `additional_category_codes` | Other category codes on the notice |
| `regions` | Delivery regions, as region codes or names given by the feed |
| `value_amount`, `value_currency` | Estimated value of the tender, when the buyer gave one. The net amount when the feed has it, otherwise the gross amount including VAT |
| `deadline_at` | Closing date for bids, when there is one |
| `lot_count` | Number of lots |
| `awards` | A list. Each award has `award_id`, `status`, `supplier_names`, `suppliers_withheld`, `value_amount`, `value_currency` (net when given, otherwise gross), and `date_signed` (the contract's signing date, or the award date when no contract is listed) |
| `attribution` | The licence statement to keep with the data |
| `change_type` | `new`, `update`, or `amended` when change tracking is on. Otherwise `null` |

Illustrative record (invented values):

```json
{
  "notice_id": "000001-2026",
  "process_id": "ocds-h6vhtk-000001",
  "source": "uk-find-a-tender",
  "source_url": "https://www.find-tender.service.gov.uk/Notice/000001-2026",
  "stages": ["tender"],
  "published_at": "2026-11-06T15:17:51Z",
  "title": "Software support and maintenance",
  "description": "Support for the council's case management system. Questions to [removed].",
  "status": "active",
  "buyer_id": "GB-PPON-XXXX-0000-XXXX",
  "buyer_name": "Example Borough Council",
  "category_scheme": "CPV",
  "category_code": "72000000",
  "category_description": "IT services: consulting, software development, Internet and support",
  "additional_category_codes": ["48000000"],
  "regions": ["UKH21"],
  "value_amount": 250000,
  "value_currency": "GBP",
  "deadline_at": "2027-01-08T12:00:00Z",
  "lot_count": 1,
  "awards": [],
  "attribution": "Contains public sector information licensed under the Open Government Licence v3.0.",
  "change_type": null
}
```

### Change tracking

With `trackChanges` on, each run compares notices with what earlier runs delivered:

| `change_type` | Meaning |
|---|---|
| `new` | The first notice seen for this procurement process |
| `update` | A further notice on a process seen before, for example the award after the tender |
| `amended` | A notice delivered before that has since been revised or changed |

Unchanged notices are skipped and not charged. A run can therefore finish with an empty dataset, which is expected.

Good to know:

- The memory is kept in a named key-value store in your own account, `uk-procurement-notices-state`. It holds short hashes and dates only, with no notice content. It counts toward your account's storage, at roughly 100 bytes per notice tracked. A notice that no run has seen for 45 days is forgotten.
- Runs with different sources, stages, CPV prefixes, or keywords keep separate memories, so two saved tasks do not interfere. The date window and the notice cap are not part of this.
- Deleting that store resets the memory, and the next run treats everything as new.
- If a run stops at your spending limit, at `maxNotices`, or at the time limit, the notices it did not reach are delivered by a later run, as long as that run's window still covers them. Keep the window wider than the gap between runs, for example `daysBack` 3 on a daily schedule.
- The memory is saved after each batch of notices is written. If a run fails part-way, the next run continues from there.
- After an update to this tool changes how records are built, notices already delivered are not sent again as `amended` just because of the update.

### Price

Pay per event: you pay for each notice delivered to the dataset, plus Apify's small standard charge for starting a run. Filtered-out and unchanged notices cost nothing. Use `maxNotices` or the run's maximum charge to cap spending.

### Limits, stated plainly

- **Supplier names are often withheld.** An award's supplier is named only when the feed identifies it with a Companies House number. Other suppliers may be sole traders, whose names are personal data, so they are counted in `suppliers_withheld` instead. This is common: in a sample of 400 notices taken on 9 November 2026, about half of the supplier entries were withheld (342 of 640).
- **Free text is published as written.** Email addresses and phone numbers in the usual UK and international layouts are removed by pattern, and some unusual layouts will be missed. A person's name or a postal address written inside a title or description cannot be detected reliably and may remain.
- **`value_amount` is the buyer's estimate, and it is often absent.** Award values are in `awards`. When a tender has several lots and no overall value, the lot values are not added up.
- **This is not the complete notice.** Documents, lots in detail, selection criteria, and contact points are not included. Follow `source_url` for the authoritative version.
- **The feeds are read politely, which limits volume.** One request at a time, at least four seconds apart, 100 notices per request. The feeds limit how fast they can be read: on 9 November 2026 they asked for a 120-second pause after about 15 requests made in under a minute. A pause the feed asks for is always obeyed. If it does not fit in the run's time, that feed is marked `INCOMPLETE` in the status message, and the run delivers what it has.
- **A run reads for about four minutes at most.** No new request starts after 200 seconds. Expect a few thousand notices per run at most. For more, use several runs with narrower date windows, or change tracking on a schedule.
- **Failures are reported, not hidden.** If one feed is unavailable, the run delivers what it could from the other and says so in the status message. If neither can be read and nothing was delivered, the run fails rather than returning an empty result.
- **Two feeds only.** Scotland, Wales, and Northern Ireland also run their own procurement portals, which this does not read.

### Data source and licence

Notices come from the Find a Tender service and the Contracts Finder service, published by the UK government under the [Open Government Licence v3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).

Contains public sector information licensed under the Open Government Licence v3.0.

The licence allows commercial reuse with attribution, so keep the `attribution` field with any data you pass on. It does not cover personal data, which is why contact details are left out. The official notice at `source_url` remains the authoritative version.

### Support

Report problems in the Issues tab. Please include the run id and the input you used.

# Actor input Schema

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

Which official feeds to read. Find a Tender is the UK-wide service for higher-value contracts. Contracts Finder covers lower-value contracts. The notice cap is shared between the selected feeds.

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

Keep only notices at these stages. Leave empty for all stages.

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

How many days before the end date to start from. Ignored when a start date is set. For a daily schedule, 1 or 2 is enough.

## `dateFrom` (type: `string`):

Optional. Start of the window (UTC), as YYYY-MM-DD. Find a Tender matches on the date a notice was last updated; Contracts Finder matches on the date it was published.

## `dateTo` (type: `string`):

Optional. End of the window (UTC), as YYYY-MM-DD, inclusive. Defaults to now, and is never later than now.

## `maxNotices` (type: `integer`):

Stop after delivering this many notices. You are charged per delivered notice, so this caps the cost of a run.

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

Optional. Keep only notices with a CPV category code starting with one of these digits, for example 72 for IT services or 45 for construction. Notices that do not match are not delivered and not charged.

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

Optional. Keep only notices whose title or description contains at least one of these words or phrases (case-insensitive). Notices that do not match are not delivered and not charged.

## `trackChanges` (type: `boolean`):

For scheduled runs. Remembers what earlier runs with the same sources and filters delivered, skips notices that have not changed, and labels the rest as new, update, or amended. Stores short hashes and dates (no notice content) in a named key-value store in your account. Without this, every run delivers and charges for everything in its window.

## Actor input object example

```json
{
  "sources": [
    "uk-find-a-tender",
    "uk-contracts-finder"
  ],
  "stages": [],
  "daysBack": 7,
  "maxNotices": 200,
  "cpvPrefixes": [],
  "keywords": [],
  "trackChanges": false
}
```

# Actor output Schema

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

Normalized notices in the default dataset.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("asaadat/uk-procurement-notices").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("asaadat/uk-procurement-notices").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 '{}' |
apify call asaadat/uk-procurement-notices --silent --output-dataset

```

## MCP server setup

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

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/w3vpcR0nWmLh0YVeo/builds/O8SanimjspxTzt5S3/openapi.json
