# UK Contracts Finder Notices (`recorddesk/uk-contracts-finder-notices`) Actor

Collect UK procurement tender and award notices by publication window.

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

## Pricing

from $5.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

### What does UK Contracts Finder Notices do?

**UK Contracts Finder Notices** collects **UK government tender and contract award notices** from the official **Contracts Finder** open data feed for any publication window. Each record includes the notice title and description, **buyer**, **contract value**, **tender deadline**, contract dates, CPV classification, delivery regions, SME suitability and, for awards, the **winning suppliers**.

Run it for a one-off export, or schedule it daily with **Only new** turned on to get a clean feed of fresh opportunities and awards.

### Who uses it

- **Suppliers and SMEs** bidding for UK public sector contracts who want new opportunities in a spreadsheet every morning.
- **Bid writers and procurement consultants** monitoring opportunities for several clients.
- **Sales teams** selling to councils, NHS bodies and other public buyers.
- **Competitive intelligence teams** tracking which suppliers win which contracts and at what value.
- **Researchers and journalists** analysing public spending and procurement activity.

### Features

- Collect notices published in the **last N hours** or between two dates.
- Tender, award and other notice types in one consistent format, with nested award and supplier details.
- **Only new since last run**: skip releases already delivered by earlier runs.
- Export as **CSV, Excel, JSON, XML or HTML**, or read results through the Apify API.
- Schedule runs, connect webhooks, or use integrations such as Zapier, Make and n8n.
- No login, browser or proxy needed: data comes from the official open data feed, published under the Open Government Licence.

### How to use

1. Open the Actor in Apify Console and sign in (a free account works).
2. Set `hoursBack` (for example 24 for a daily run), or set `publishedFrom` and `publishedTo` for a fixed period.
3. Set `maxItems` to cap the number of notices (and the cost).
4. Click **Start** and wait a few seconds.
5. Download the results from the **Output** tab, or connect them to your tools.
6. For a daily feed, create a **schedule** with `onlyNew` set to `true` and a window a little longer than the schedule interval.

### How much does it cost?

You pay **$0.005 per notice** ($5.00 per 1,000), plus $0.00005 per run start. Platform compute is included in that price. A run that finds nothing new costs only the start fee.

| What you collect | Approximate cost |
| --- | --- |
| The 50-notice sample from the prefilled input | $0.25 |
| One weekday of notices (a 24-hour window in November 2026 returned 58) | about $0.29 |
| 1,000 notices | $5.00 |

Apify's free plan includes $5 of monthly platform credit, which covers about 1,000 notices at this price. Set `maxItems` to control spend; a run also stops when it reaches the charge limit you set.

### Input

| Field | Default | Meaning |
| --- | --- | --- |
| `maxItems` | 1000 | Maximum records pushed, integer from 1 to 100000. Store prefill is 50. |
| `onlyNew` | false | Skip release IDs saved by previous onlyNew runs. |
| `hoursBack` | 24 | Integer from 1 to 720; look back from the current UTC time. |
| `publishedFrom` | omitted | ISO 8601 date or datetime; overrides hoursBack, which is ignored. |
| `publishedTo` | omitted | Optional ISO 8601 upper bound; must not precede the resolved start. |

Dates mean midnight UTC. Datetimes without a timezone are interpreted as UTC; offsets are converted to UTC. An omitted publishedTo leaves the upper bound unset. Invalid inputs fail with the field name.

The Store prefill is `{"maxItems": 50, "onlyNew": false, "hoursBack": 168}`. The window spans seven days so weekend runs still return notices. Results are available in the default dataset and through the Results output link.

### Output example

This record is generated from the repository fixture; REDACTED placeholders are preserved.

```json
{
  "release_id": "a0fc939e-2686-4e52-8462-4330bf03e5d9-921387",
  "ocid": "ocds-b5fd17-b31d13fb-3ff8-4bd8-b1ee-94c4eca31191",
  "published_date": "2026-11-12T11:52:19+00:00",
  "tags": [
    "award"
  ],
  "source": "uk_contracts_finder",
  "source_url": "https://www.contractsfinder.service.gov.uk/Published/Notices/OCDS/Search?limit=100&publishedFrom=2026-11-12T00%3A00%3A00&publishedTo=2026-11-12T12%3A00%3A00",
  "title": "GI - A30 Indian Queens WQ Arcadis",
  "description": "Ground investigation for A30 Indian Queens WQ",
  "status": "complete",
  "procurement_method": "selective",
  "procurement_method_details": "Call-off from a framework agreement",
  "main_category": "works",
  "classification": {
    "scheme": "CPV",
    "id": "71351500",
    "description": "Ground investigation services"
  },
  "value_amount": 40289.31,
  "value_currency": "GBP",
  "tender_deadline": "2026-11-12T00:00:00+00:00",
  "contract_start": "2026-11-12T00:00:00+00:00",
  "contract_end": "2027-03-31T23:59:59+01:00",
  "sme_suitable": true,
  "buyer_name": "National Highways Limited",
  "buyer_id": "GB-CFS-338998",
  "delivery_regions": [
    "South East",
    "South West"
  ],
  "awards": [
    {
      "id": "ocds-b5fd17-b31d13fb-3ff8-4bd8-b1ee-94c4eca31191-1",
      "date": "2026-11-12T00:00:00+00:00",
      "value_amount": 40289.31,
      "value_currency": "GBP",
      "supplier_names": [
        "Arcadis"
      ]
    }
  ]
}
```

Missing optional source values are returned as null. Awards and classification are nested objects; delivery regions and tags are arrays. The source_url identifies the feed page that supplied the release.

### Only new since last run

Enable `onlyNew` for recurring runs to persist seen release IDs and skip them on later runs. The publication window still applies: this option does not automatically expand the window to cover gaps between runs. Run frequently enough or increase hoursBack to cover those gaps. All onlyNew runs for this actor share the fixed state key `all`, including runs with different publication windows. A run with onlyNew false neither reads nor writes that persistent history, and may return the same releases again. Distinct releases for one procurement can still appear.

### FAQ

#### Can I filter by keyword, region or CPV code?

Not inside the Actor yet. Every record includes `classification`, `delivery_regions`, `value_amount`, `buyer_name` and `sme_suitable`, so you can filter the export in a spreadsheet or in your own code. If you need a built-in filter, open an issue.

#### Which notices are covered?

Notices published on Contracts Finder. Other UK procurement portals are not included.

#### Can I reuse the data?

The source data is published under the Open Government Licence. Keep the source attribution described below when you reuse it.

#### Can I use it from code or an AI agent?

Yes. Start runs and read results through the Apify API and its Python and JavaScript clients, or let AI agents call it through the Apify MCP server.

#### I need another field or filter

Open an issue in the **Issues** tab and describe what you need.

### Source and licence

Source attribution: UK Government, Contracts Finder, via its published OCDS feed. The data is made available under the Open Government Licence (OGL). Retain this source attribution when reusing the data and comply with the licence and any applicable third party rights.

This actor is independent and is not affiliated with or endorsed by the UK Government or Contracts Finder.

### Limitations

Coverage, freshness and optional fields depend on the upstream feed. This actor collects published notices, not full procurement documents, and does not provide additional filters. Retrieval is bounded by maxItems and the source limit of 50 pages of up to 100 records each. Large windows may therefore be incomplete; split them into smaller windows. No results are guaranteed for an arbitrary window, including periods with no publications. The seven-day prefill targets recent notices but cannot guarantee upstream availability or publication activity. Parsing and feed format failures are reported rather than silently treated as empty results.

### More public records Actors

- [NPI Registry Provider Search](https://apify.com/recorddesk/npi-registry-provider-search): US healthcare providers and organizations from the NPPES NPI Registry.
- [FMCSA New Carrier Registrations](https://apify.com/recorddesk/fmcsa-new-carrier-registrations): newly registered US trucking companies with USDOT numbers.
- [Hacker News Who Is Hiring Postings](https://apify.com/recorddesk/hn-who-is-hiring-postings): job postings from the monthly Hacker News hiring thread.

# Actor input Schema

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

Maximum records to push per run (1–100000).

## `onlyNew` (type: `boolean`):

Skip release IDs seen in earlier onlyNew runs.

## `hoursBack` (type: `integer`):

Publication lookback in UTC (1–720); ignored when publishedFrom is set.

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

Optional ISO 8601 date or datetime; overrides hoursBack. Naive times mean UTC.

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

Optional ISO 8601 date or datetime in UTC; cannot precede publishedFrom. Omit for no upper bound.

## Actor input object example

```json
{
  "maxItems": 50,
  "onlyNew": false,
  "hoursBack": 168
}
```

# 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 = {
    "maxItems": 50,
    "onlyNew": false,
    "hoursBack": 168
};

// Run the Actor and wait for it to finish
const run = await client.actor("recorddesk/uk-contracts-finder-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 = {
    "maxItems": 50,
    "onlyNew": False,
    "hoursBack": 168,
}

# Run the Actor and wait for it to finish
run = client.actor("recorddesk/uk-contracts-finder-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 '{
  "maxItems": 50,
  "onlyNew": false,
  "hoursBack": 168
}' |
apify call recorddesk/uk-contracts-finder-notices --silent --output-dataset

```

## MCP server setup

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