# UK Public Tender Notices & Amendments (`springlike_meadowland/uk-public-tender-scraper`) Actor

Export public UK Contracts Finder notices and amendments by date, keyword, and buyer. Get one traceable OCDS release per row with procurement stage, deadline, value, classification, and official source links.

- **URL**: https://apify.com/springlike\_meadowland/uk-public-tender-scraper.md
- **Developed by:** [Akshay Aggarwal](https://apify.com/springlike_meadowland) (community)
- **Categories:** Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 saved releases

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 Public Tender Notices & Amendments

Track UK public procurement notices in a clean dataset. Search the official Contracts Finder OCDS feed by publication date, then narrow results by tender wording or buyer. Each saved row links back to its notice and exact OCDS release, so bid teams can review a current opportunity or trace a published amendment.

### Quick start

```json
{
  "dateFrom": "2026-09-22",
  "dateTo": "2026-09-22",
  "keyword": "playtower",
  "maxNotices": 10,
  "includeAmendments": true
}
```

The dataset contains one row per distinct OCDS release. For example, a Contracts Finder `tenderAmendment` release for *Childrens Playtower* includes:

```json
{
  "ocid": "ocds-b5fd17-3facc954-fc10-4c8a-b211-abd9b1881456",
  "release_id": "eca07e49-1dc8-4bed-a76a-f2a725305918-914950",
  "buyer": "Quorn Parish Council",
  "title": "Childrens Playtower",
  "procurement_stage": "tenderAmendment",
  "is_amendment": true,
  "published_at": "2026-09-22T13:21:35+01:00",
  "deadline": "2026-10-07T09:00:00+01:00",
  "estimated_value": 42000,
  "estimated_currency": "GBP",
  "classification": "37535200",
  "notice_url": "https://www.contractsfinder.service.gov.uk/Notice/eca07e49-1dc8-4bed-a76a-f2a725305918",
  "source_url": "https://www.contractsfinder.service.gov.uk/Published/OCDS/Release/eca07e49-1dc8-4bed-a76a-f2a725305918-914950"
}
```

Additional dataset columns include notice ID, original tender publication date, description, tender status, CPV description, and published delivery locations. Unavailable source fields are omitted; no deadline, value, currency, location, or requirement is inferred.

### Inputs

| Field | Use |
| --- | --- |
| `dateFrom`, `dateTo` | Inclusive publication or update dates, `YYYY-MM-DD`. Defaults to the last seven days through today. Maximum span: 32 days. |
| `keyword` | Optional case-insensitive phrase in title, description, or CPV description. |
| `buyerFilter` | Optional case-insensitive phrase in the buyer name. |
| `includeAmendments` | Default `true`: keep each distinct release, including tender amendments and award updates. `false`: skip tagged amendments/updates and keep the first other release per procurement found in this run. |
| `maxNotices` | Maximum saved rows, 1–1,000; default 10. |

Keyword and buyer filters are applied to releases retrieved from the official feed. Broad date ranges and selective filters can reach the 30-page request limit before finding `maxNotices` matches. The `OUTPUT` record reports fetched, saved, skipped, pages, the limit reason, and any source error so you can see whether a result is partial. A source rate limit or unavailable page can also yield partial results.

### Coverage and billing

This Actor covers public UK Contracts Finder OCDS releases in the selected publication or update window: planning, tender, award, and related update stages published by that source. It does not fetch gated tender documents, create bidder accounts, interpret eligibility, contact buyers, or cover every UK procurement portal. Amendments are separate releases when the source publishes them; a notice page may contain further details that are outside the dataset.

With pay-per-result pricing, the unit is one saved release row. Skipped releases, source errors, and the `OUTPUT` summary are not result rows. A repeated run may return the same release and bill it again. The run stops at the requested row cap or an enforced spending limit; check `OUTPUT` for the actual saved count.

Source: [Contracts Finder public OCDS API](https://www.contractsfinder.service.gov.uk/apidocumentation/Notices/1/GET-Published-Notice-OCDS-Search).

# Actor input Schema

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

Inclusive release publication date, YYYY-MM-DD. Defaults to seven days before the run. Search uses the source's published or updated date.

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

Inclusive release publication date, YYYY-MM-DD. Defaults to the run date. The selected span may be up to 32 days.

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

Optional case-insensitive phrase in the title, description, or classification description. Applied to fetched releases.

## `buyerFilter` (type: `string`):

Optional case-insensitive phrase in the buyer name. Applied to fetched releases.

## `includeAmendments` (type: `boolean`):

Save each distinct release, including amendment and update releases. Turn off to keep only the first non-amendment release per procurement found in this run.

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

Maximum dataset rows from 1 to 1,000. Start with 10. The OUTPUT summary reports source and spending limits or partial results.

## Actor input object example

```json
{
  "includeAmendments": true,
  "maxNotices": 10
}
```

# Actor output Schema

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

One row per saved Contracts Finder OCDS release, including amendments when selected.

## `summary` (type: `string`):

Fetched, saved, and skipped counts; filters, limits, and any source error.

# 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("springlike_meadowland/uk-public-tender-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 = {}

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,springlike_meadowland/uk-public-tender-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/OvegHAvDiaZbt6ozC/builds/KoKJaIaQryALsvVxs/openapi.json
