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

Collect UK tender and award notices from official Contracts Finder and Find a Tender OCDS APIs. Filter by date, CPV, buyer, value or keyword. No login.

- **URL**: https://apify.com/viktorov_aa/uk-tenders-scraper.md
- **Developed by:** [Andrey Viktorov](https://apify.com/viktorov_aa) (community)
- **Categories:** Lead generation, Other
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.10 / 1,000 notices

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/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

Collect UK government tender and contract award notices from the two official sources in one dataset: [Contracts Finder](https://www.contractsfinder.service.gov.uk/) and [Find a Tender](https://www.find-tender.service.gov.uk/). The Actor reads their public Open Contracting Data Standard (OCDS) JSON feeds, flattens each release into one row, and can drop the same contract when it appears in both feeds. You can filter by date, keyword, CPV code, buyer, region and value.

No portal login and no API key.

### What does it do?

- Title, description, status, procurement method and category (goods, services or works).
- Buyer name and id, and the public buyer contact email when the notice has one.
- Tender value, award value, award date and the supplier names on awards.
- CPV code with its description, delivery region and country, and an SME-suitable flag.
- Tender end date, contract start and end dates, and the public notice URL.

### Why use it

Public contracts in the UK are published in two places with different search tools. Suppliers need a daily feed of new notices that match what they sell, and analysts want award data they can count. The official feeds are complete but nested. This Actor gives you flat rows you can sort, filter and load into a CRM, a spreadsheet or a database.

### Who is it for

- **Bid teams and SME suppliers:** watch new notices for your CPV codes, regions or keywords.
- **Business-development teams:** find buyers and past award winners in a sector.
- **Market and spend analysts:** compare award values and suppliers over time.
- **Data teams:** build a procurement dataset from official sources.

### How to use it

1. Open the Actor and keep the prefill (both feeds from 20 November 2026, 20 notices), or set a date window and any of keyword, CPV, buyer, region and value.
2. Click **Start**. The prefilled input is a real, small example, so the first run finishes in seconds.
3. Open the **Output** tab and view the table, or download the dataset as CSV, Excel, JSON or HTML. To use the data in other tools, see the integrations below.

### Input

| Field | What it does |
| --- | --- |
| `sources` | `both` (default), `contracts-finder`, or `find-a-tender`. |
| `publishedFrom` / `publishedTo` | Inclusive date bounds. A `YYYY-MM-DD` value is sent as midnight or end-of-day UTC. Contracts Finder filters on published date; Find a Tender filters on updated date. |
| `keyword`, `cpv`, `buyer`, `region` | Client-side filters on the flattened notice. |
| `minValue` / `maxValue` | Keep notices whose tender or award amount falls in the range. Notices with no amount are dropped when a bound is set. |
| `maxNotices` | Cap after filters, newest first. Prefill is 20; default is 200. |
| `dedupeByOcid` | When the same contract appears in both feeds, keep the later notice. On by default. |

The form prefill reads both feeds from 20 November 2026 and keeps 20 notices, so a first run stays small.

Example input:

```json
{
  "sources": "both",
  "publishedFrom": "2026-11-20",
  "maxNotices": 20,
  "dedupeByOcid": true
}
```

### Output

One dataset row per result. This is a real row from one of our runs:

```json
{
  "ocid": "ocds-b5fd17-a42fd0f6-dd1c-4f94-8b50-381f9957ddd0",
  "releaseId": "819a2b22-31a7-41d8-bf97-15e2febf5192-922455",
  "source": "contracts-finder",
  "sourceLabel": "Contracts Finder",
  "date": "2026-11-26T18:32:11Z",
  "tag": [
    "award"
  ],
  "title": "Recruitment partner for corporate resource director - Ashfield District Council",
  "description": "Recruitment partner for Corporate Resources Director on behalf of Ashfield District Council - Direct award through GCA framework RM6277",
  "status": "complete",
  "procurementMethod": "Direct award",
  "mainProcurementCategory": "services",
  "buyerName": "Nottinghamshire County Council",
  "buyerId": "GB-CFS-227",
  "valueAmount": 500000,
  "valueCurrency": "GBP",
  "minValueAmount": 400000,
  "awardValueAmount": 400000,
  "awardDate": "2026-11-26T18:32:11Z",
  "awardStatus": "active",
  "suppliers": [
    "Macildowie Associates Ltd"
  ],
  "cpv": "79600000",
  "cpvDescription": "Recruitment services",
  "region": "England",
  "country": "United Kingdom",
  "smeSuitable": true,
  "tenderEndDate": "2026-10-05T23:59:00+01:00",
  "contractStartDate": "2026-11-01T00:00:00Z",
  "contractEndDate": "2028-03-31T23:59:59+01:00",
  "noticeUrl": "https://www.contractsfinder.service.gov.uk/Notice/819a2b22-31a7-41d8-bf97-15e2febf5192",
  "statusRow": "ok",
  "error": null
}
```

All output fields:

| Field | What it contains |
| --- | --- |
| `ocid` | Open Contracting ID that groups related notices. |
| `releaseId` | Release identifier from the source API. |
| `source` | contracts-finder or find-a-tender. |
| `sourceLabel` | Contracts Finder or Find a Tender. |
| `date` | Release date, ISO-8601. |
| `tag` | OCDS release tags, for example tender or award. |
| `title` | Tender title. |
| `description` | Tender description. |
| `status` | Tender status, for example active or complete. |
| `procurementMethod` | Method or method details. |
| `mainProcurementCategory` | goods, services or works when the source publishes it. |
| `buyerName` | Contracting authority name. |
| `buyerId` | Identifier from the notice. |
| `buyerEmail` | Public contact email from the notice, when present. |
| `valueAmount` | Tender or contract amount. |
| `valueCurrency` | Currency of valueAmount, usually GBP. |
| `minValueAmount` | Tender minimum value when published. |
| `awardValueAmount` | Award amount when this notice includes an award. |
| `awardDate` | Award or award-published date. |
| `awardStatus` | Award status when present. |
| `suppliers` | Supplier names on awards. |
| `cpv` | Common Procurement Vocabulary code. |
| `cpvDescription` | Description of the CPV code. |
| `region` | Delivery region when published. |
| `country` | Delivery country. |
| `smeSuitable` | True when the notice is marked suitable for SMEs. |
| `tenderEndDate` | Tender period end date. |
| `contractStartDate` | Contract period start date. |
| `contractEndDate` | Contract period end date. |
| `noticeUrl` | Public HTML notice on Contracts Finder or Find a Tender. |
| `statusRow` | ok on stored notices. |
| `error` | Reason on error rows. |

### How much does it cost?

You pay per result, not for compute time. The Actor uses pay-per-event pricing with the event **`notice`**: $0.003 for each notice that is stored in the dataset. Failed or error rows are not charged. On top of that, every run is charged a tiny start fee of $0.00005 per start event. Apify counts the events by the memory of the run, so a small run is one event and a memory-heavy run is a few.

| Run size | Calculation | Cost for results |
| --- | --- | --- |
| The prefill | 20 × $0.003 | $0.06 |
| Contracts Finder notices that mention "construction" | 50 × $0.003 | $0.15 |
| The default cap | 200 × $0.003 | $0.60 |

Set `publishedFrom` and `maxNotices` for scheduled runs. The exact prices, including the Apify platform fee, are shown on the Pricing tab of the Actor and apply to your plan. Apify's free plan includes monthly platform credits, so you can try a small run without paying. To cap spending, set **Maximum cost per run** in the run options. The Actor stops adding results when that limit is reached. If a run hits that limit, it stops and says so: the log gets a warning, the run status message starts with `INCOMPLETE`, and `SUMMARY.complete` is false. To get a full download, raise **Maximum cost per run**, or split the work (for example with dateFrom/dateTo or tighter filters) and merge the datasets.

### Integrations

You can run this Actor from the Apify Console, on a schedule, or from your own code and tools. Results land in a standard Apify dataset, so every integration below reads the same rows.

#### API

Run the Actor and get the rows back in one HTTP call. Replace `<YOUR_APIFY_TOKEN>` with your token from Apify Console, Settings, Integrations:

```bash
curl -X POST "https://api.apify.com/v2/acts/viktorov_aa~uk-tenders-scraper/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"sources": "both", "publishedFrom": "2026-11-20", "maxNotices": 20, "dedupeByOcid": true}'
```

The synchronous endpoint waits for the run to finish and Apify limits it to 5 minutes. For bigger runs, start the Actor with `POST /v2/acts/viktorov_aa~uk-tenders-scraper/runs`, then read the dataset when the run has finished (or let a webhook tell you).

Python, with the [Apify client](https://docs.apify.com/api/client/python):

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("viktorov_aa/uk-tenders-scraper").call(run_input={
    "sources": "both",
    "publishedFrom": "2026-11-20",
    "maxNotices": 20,
    "dedupeByOcid": True
})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(row)
```

JavaScript, with the [Apify client](https://docs.apify.com/api/client/js):

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('viktorov_aa/uk-tenders-scraper').call({
    "sources": "both",
    "publishedFrom": "2026-11-20",
    "maxNotices": 20,
    "dedupeByOcid": true
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

#### AI agents and MCP

The Actor works as a tool for AI agents through the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp). Point an MCP client that supports remote servers at this URL, sign in with your Apify account, and the agent can call the Actor with the input fields above:

```text
https://mcp.apify.com?tools=viktorov_aa/uk-tenders-scraper
```

Ask the agent in plain language, for example: "Use UK Tenders Scraper: Contracts Finder & Find a Tender with my filter and summarize the rows." The agent sees the input schema and the output fields, so it fills the fields for you.

#### Make, Zapier, n8n and Google Sheets

Apify has official apps for Make, Zapier and n8n. In each one, choose the action that runs an Actor, select `viktorov_aa/uk-tenders-scraper`, paste the input JSON, then map the dataset items to the next step. The Apify integration for Google Sheets can send a finished dataset to a spreadsheet. Webhooks on the Actor let you start your own process as soon as a run succeeds, and Apify schedules start it daily or weekly with no code.

### FAQ

#### Which sources does it read?

Both official OCDS APIs: Contracts Finder for below-threshold notices, and Find a Tender for UK-wide above-threshold notices. Choose `both`, `contracts-finder` or `find-a-tender` in `sources`.

#### Which date does the filter use?

Contracts Finder filters on the published date, and Find a Tender filters on the updated date. A `YYYY-MM-DD` value is sent as midnight or end of day UTC.

#### What does de-duplication do?

The same contract can appear in both feeds with the same Open Contracting ID. With `dedupeByOcid` on (the default), the later notice is kept. Turn it off to keep both rows.

#### How do the keyword, CPV, buyer, region and value filters work?

They are applied to the flattened notices after each page of the official feed is read, because the feeds reliably accept only date and paging parameters. The Actor reads pages of 100 releases, up to 200 pages per source, until it has enough matching notices. Notices with no amount are dropped when a value bound is set.

#### Are contact emails included?

The `buyerEmail` field holds the public buyer contact point published on the notice, when there is one. It is not collected from elsewhere. It can be a named person, so handle it as personal data under your own data-protection rules.

#### Can I get awards only?

Each row has a `tag` field (for example `award` or `tender`). There is no input filter for it yet, so filter the dataset afterwards.

#### Do I need a proxy or an API key?

No. Both official APIs answered without a proxy from cloud IPs.

### Limitations

- Both APIs are official and public. The Actor does not scrape HTML search pages.
- Keyword, CPV, buyer, region and value filters are applied after each page of the official feed, because the GET endpoints accept date and paging parameters reliably.
- Find a Tender and Contracts Finder can describe the same contract with different identifiers; turn `dedupeByOcid` off if you want both rows.
- Contact emails are the public buyer contact points published on the notice, not scraped from elsewhere.
- The official feeds can return large result sets. Always set `publishedFrom` and `maxNotices` for scheduled runs.
- The Actor reads the official feeds and not the HTML search pages. Fields that a notice does not publish are empty.

### More actors by the same author

Same publisher, same pay-per-result pricing, same no-login approach. Pick the ones that fit your workflow:

- [CQC England Care Directory: Homes, Clinics & Agencies](https://apify.com/viktorov_aa/cqc-england-registry) — the official CQC directory of care homes, clinics, dentists and agencies in England.
- [SEC No-Action and Interpretive Letters Scraper](https://apify.com/viktorov_aa/sec-no-action-letters) — SEC staff no-action, interpretive and exemptive letters by division, company and rule.
- [Contact Details Scraper: Emails, Phones, Socials, Impressum](https://apify.com/viktorov_aa/website-contact-details) — public emails, phones and social links from company websites.
- [Career Page Jobs Scraper: Greenhouse, Lever, Ashby](https://apify.com/viktorov_aa/career-site-jobs) — open jobs from company career pages.
- [FDA Guidance Documents Search Scraper](https://apify.com/viktorov_aa/fda-guidance-documents) — the FDA guidance catalog, final or draft, by center and topic.

The full catalog with use-case pages is at [legion-factory.dev/actors](https://legion-factory.dev/actors/).

### Support

Found a problem, or need a field or a filter that is missing? Open an issue in the **Issues** tab of this Actor page. Publisher: [legion-factory.dev](https://legion-factory.dev/actors/).

# Actor input Schema

## `sources` (type: `string`):

Which official UK notice feeds to read. both uses Contracts Finder and Find a Tender and can drop duplicate OCIDs.

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

Inclusive start, as YYYY-MM-DD or an ISO timestamp. Contracts Finder uses published date; Find a Tender uses updated date. Empty means no start bound.

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

Inclusive end, as YYYY-MM-DD or an ISO timestamp. Empty uses the time of the request.

## `keyword` (type: `string`):

Keep notices whose title, description, buyer, CPV or suppliers contain this text. Empty keeps every notice in the date window.

## `cpv` (type: `string`):

Keep notices whose CPV code starts with this prefix, for example 45 for construction or 72000000 for IT.

## `buyer` (type: `string`):

Keep notices whose buyer name contains this text, case-insensitive.

## `region` (type: `string`):

Keep notices whose delivery region or country contains this text, for example England or UKF.

## `minValue` (type: `number`):

Keep notices whose tender or award amount is at least this. Notices with no amount are dropped when a bound is set. Leave empty for no minimum.

## `maxValue` (type: `number`):

Keep notices whose tender or award amount is at most this. Leave empty for no maximum.

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

Cap after filters and de-duplication, newest first. The prefill is 20 so the example stays small; the default when omitted is 200.

## `dedupeByOcid` (type: `boolean`):

When the same contract appears in both feeds, keep the later notice only.

## `proxyConfiguration` (type: `object`):

Both official APIs answer without a proxy from typical cloud IPs. Turn on Apify Proxy only if a run is blocked.

## Actor input object example

```json
{
  "sources": "both",
  "publishedFrom": "2026-11-20",
  "publishedTo": "",
  "keyword": "",
  "cpv": "",
  "buyer": "",
  "region": "",
  "minValue": null,
  "maxValue": null,
  "maxNotices": 20,
  "dedupeByOcid": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

Default dataset in the overview table: source, date, title, buyer, value and notice link.

# 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": "both",
    "publishedFrom": "2026-11-20",
    "publishedTo": "",
    "keyword": "",
    "cpv": "",
    "buyer": "",
    "region": "",
    "maxNotices": 20,
    "dedupeByOcid": true,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("viktorov_aa/uk-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": "both",
    "publishedFrom": "2026-11-20",
    "publishedTo": "",
    "keyword": "",
    "cpv": "",
    "buyer": "",
    "region": "",
    "maxNotices": 20,
    "dedupeByOcid": True,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("viktorov_aa/uk-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": "both",
  "publishedFrom": "2026-11-20",
  "publishedTo": "",
  "keyword": "",
  "cpv": "",
  "buyer": "",
  "region": "",
  "maxNotices": 20,
  "dedupeByOcid": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call viktorov_aa/uk-tenders-scraper --silent --output-dataset

```

## MCP server setup

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