# UK Contracts Finder Scraper: Public Tenders & Buyers (`badboxx_newlife/uk-contracts-finder-scraper`) Actor

Scrape UK public tenders from Contracts Finder: buyer, value, CPV category, deadline and notice URL. No API key, no personal data.

- **URL**: https://apify.com/badboxx_newlife/uk-contracts-finder-scraper.md
- **Developed by:** [Francesco Correnti](https://apify.com/badboxx_newlife) (community)
- **Categories:** Lead generation, Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

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 bid writers, sales teams selling to the public sector and procurement analysts use this actor to pull fresh UK public tenders from Contracts Finder without an API key. It returns a clean list of notices with buyer organisation, value, CPV category, deadline and notice URL, ready for a CRM, an alert workflow or a weekly bid pipeline. No personal contact data is collected.

### Sample output

| Stage | Title | Buyer | Value (GBP) | Published | Deadline | URL |
|---|---|---|---|---|---|---|
| tender | CA18576 - Electrical Maintenance. 4 Year Opportuni | New College Swindon | 400000 | 2026-10-16 | 2026-11-19 | [link](https://www.contractsfinder.service.gov.uk/Notice/7eeb3a8e-8f79-46c3-92bf-a032bedc89d7) |
| tender | Taxi and MPV (1-8 seats) Passenger Assistant - Tax | East Sussex County Council | - | 2026-10-16 | 2026-10-21 | [link](https://www.contractsfinder.service.gov.uk/Notice/2a7494d3-86c5-40a1-9575-f93b1ab95ac0) |
| tender | Rooftop Solar PV O\&M Framework 2027 | West Sussex County Council | 2520000 | 2026-10-16 | 2026-11-13 | [link](https://www.contractsfinder.service.gov.uk/Notice/2e7a8151-800c-4d24-8056-615661b46405) |
| tender | Arboricultural services - Tree works operations | London Borough Of Islington | - | 2026-10-16 | 2026-10-23 | [link](https://www.contractsfinder.service.gov.uk/Notice/c608b122-b81f-4d6f-91d2-db6ba6bb1517) |
| tender | CA18575 - RFQ 2026/42 - Conservation Engineer for  | Newry, Mourne and Down District Council (NMD) | 15000 | 2026-10-16 | 2026-11-13 | [link](https://www.contractsfinder.service.gov.uk/Notice/8bf128b9-9ba2-41eb-922d-9fe37928f4f8) |
| tender | e-Procurement & Contract Management IT Solution | Bristol City Council | 432730.56 | 2026-10-16 | 2026-09-01 | [link](https://www.contractsfinder.service.gov.uk/Notice/04102316-5a6b-4694-9143-da408c1a4906) |

### Input

| Field | Description | Example |
|---|---|---|
| `keyword` | Keep notices whose title, buyer or CPV category contains this text. Empty = all. | `software` |
| `stages` | Comma separated: `planning`, `tender`, `award`. Default `tender`. | `tender,award` |
| `daysBack` | Notices published in the last N days. Default 7. | `7` |
| `maxItems` | Maximum notices returned. Caps your cost. Default 100. | `100` |
| `timeoutSecs` | Stops gracefully after this many seconds and keeps what was found. Default 300. | `300` |

### Output fields

`ocid`, `stage`, `title`, `buyer` (organisation), `buyerCity`, `buyerPostcode`, `valueAmount`, `currency`, `cpvCode`, `cpvDescription`, `category`, `procedure`, `publishedDate`, `deadline`, `status`, `smeSuitable`, `suppliers` (company names, award notices only), `url`. Contact names, emails and phone numbers are dropped.

### Pricing (pay per event)

- Actor start: $0.005 per run
- Result: $0.002 per notice ($2 per 1,000)

The run never fails: on a network error, the charge limit or the time limit it keeps the notices already saved, sets a status message and ends successfully.

Data: UK Government Contracts Finder OCDS API, published under the Open Government Licence v3.0.

# Actor input Schema

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

Only keep notices whose title, buyer or CPV category contains this text, e.g. software. Leave empty for all.

## `stages` (type: `string`):

Notice stages, comma separated: planning, tender, award. Example: tender,award.

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

Notices published in the last N days, e.g. 7.

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

Maximum notices returned; you pay per item, so this caps cost. Example: 100.

## `timeoutSecs` (type: `integer`):

Stop gracefully after this many seconds and keep what was found, e.g. 300.

## Actor input object example

```json
{
  "keyword": "software",
  "stages": "tender",
  "daysBack": 7,
  "maxItems": 100,
  "timeoutSecs": 300
}
```

# Actor output Schema

## `tenders` (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 = {
    "keyword": "software",
    "stages": "tender",
    "daysBack": 7,
    "maxItems": 100,
    "timeoutSecs": 300
};

// Run the Actor and wait for it to finish
const run = await client.actor("badboxx_newlife/uk-contracts-finder-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 = {
    "keyword": "software",
    "stages": "tender",
    "daysBack": 7,
    "maxItems": 100,
    "timeoutSecs": 300,
}

# Run the Actor and wait for it to finish
run = client.actor("badboxx_newlife/uk-contracts-finder-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 '{
  "keyword": "software",
  "stages": "tender",
  "daysBack": 7,
  "maxItems": 100,
  "timeoutSecs": 300
}' |
apify call badboxx_newlife/uk-contracts-finder-scraper --silent --output-dataset

```

## MCP server setup

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