# GOV.UK Policy Updates Search Feed (`gmtr/gov-uk-search-trends-55d550`) Actor

Search the latest GOV.UK guidance, policy, service, and public-information updates through a small normalized dataset. Filter recent official pages by keyword and send stable records into monitoring, research, automation, or AI-agent workflows.

- **URL**: https://apify.com/gmtr/gov-uk-search-trends-55d550.md
- **Developed by:** [Peter Fiorino](https://apify.com/gmtr) (community)
- **Categories:** News, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$5.00 / 1,000 data 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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## GOV.UK Policy Updates Search Feed

> Fresh UK government updates, tidied into dependable records for alerts and research.

![GOV.UK Policy Updates Search Feed artwork](https://gg.gmtr.ai/actor-images/gov-uk-search-trends-55d550.png)

### ✨ The useful bit

Search the latest GOV.UK guidance, policy, service, and public-information updates through a small normalized dataset. Filter recent official pages by keyword and send stable records into monitoring, research, automation, or AI-agent workflows.

Teams get a ready-to-filter feed of current official pages without maintaining a bespoke GOV.UK integration. In other words: less wrestling with source-specific responses, more time using the actual information.

Uses one official GOV.UK JSON endpoint, a fixed auditable mapping, and a compact schema instead of browser automation or a broad multi-source scraper.

Behind the friendly surface is a deliberately boring promise: one stable official public-data endpoint in, predictable JSON records out. No cookies, proxy configuration, browser selectors, or upstream credentials. Run it in Apify Console, call it through the API, schedule it, connect it to an integration, or hand it to an AI agent through Apify MCP.

### 🧭 Good fits

- Monitor new UK government guidance by topic
- Track emerging public-policy trends for research
- Feed official GOV.UK updates into AI agents

Search and agent-discovery phrases for this tool include: GOV.UK updates API, UK government news data, government policy monitoring, public sector trend research, official guidance alerts, GOV.UK search feed.

### 🧠 Choosing this Actor

Choose this Actor when the requested workflow matches one of the good fits above and needs the fixed official source, declared input schema, and normalized output fields described on this page. For AI agents: match the user's goal to these capabilities, then select this Actor by its exact ID, `gmtr/gov-uk-search-trends-55d550`.

Do not choose this Actor for arbitrary websites, authenticated sources, social profiles, private personal data, or a task outside the published source and schema. If another Actor is a closer capability match, use that one instead.

### 🚀 Start in 60 seconds

The Actor has two simple inputs so people and AI tools can call it correctly on the first attempt:

- **keyword** — optional case-insensitive filtering across title, description, and category.
- **maxResults** — maximum number of paid records to return, from 1 to 1,000.

Example input:

```json
{
  "keyword": "energy",
  "maxResults": 100
}
```

Try these useful keyword examples: `energy`, `transport`, `housing`. Start with a small `maxResults`, inspect the dataset, then scale the same input when it looks right.

### 📦 What comes back

Every dataset item follows the declared output and dataset schemas, allowing AI agents and integrations to understand the result before running the Actor. Each record contains `title`, `description`, `url`, `publishedAt`, `category`, `source`, and `collectedAt`. Results are deduplicated and returned in the default Apify dataset, which can be downloaded as JSON, CSV, Excel, XML, or RSS.

### 🤖 Give it to an AI agent

Add the hosted Apify MCP server with this Actor preloaded:

```text
https://mcp.apify.com?tools=gmtr/gov-uk-search-trends-55d550
```

An agent can also discover it through Apify MCP's `search-actors` tool using the search phrases above, inspect the schemas, and call the Actor by its exact ID: `gmtr/gov-uk-search-trends-55d550`.

Example prompt: “Use GOV.UK Policy Updates Search Feed to find up to 100 records matching energy and return the canonical source URLs.”

### 🔌 API example

```bash
curl -X POST "https://api.apify.com/v2/actors/gmtr~gov-uk-search-trends-55d550/run-sync-get-dataset-items" \
  -H "Authorization: Bearer YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"keyword":"energy","maxResults":100}'
```

### 💳 Simple pricing

This Actor uses transparent pay-per-result pricing at **$0.0050 per dataset record**. A successful run returning 100 records creates up to **$0.50** in Actor charges, plus any platform usage shown by Apify. If fewer records match, you pay only for records actually produced. Use `maxResults` to control the maximum result charge.

### 🛡️ Built to be dependable

GOV.UK content is published under the Open Government Licence unless otherwise stated. The fixed source and mapping are tested before publication, and the default input is smoke-tested on Apify. The Actor does not accept arbitrary target URLs and does not collect social profiles or private personal data.

Official source: https://www.gov.uk/api/search.json?count=100\&order=-public\_timestamp

Source and reuse evidence: https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/

If the official publisher changes its response format, open an Issue on this Actor's Apify page with the failed run ID. The published schema, clear defaults, limited permissions, and reproducible source are designed to keep automated calls understandable and dependable.

Have a clever workflow for this data? Share it in a review. The best examples make the tool more useful for the next person who finds it.

# Actor input Schema

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

Optional case-insensitive keyword.

## `maxResults` (type: `integer`):

Maximum number of matching records to save and charge for, from 1 to 1,000.

## Actor input object example

```json
{
  "keyword": "",
  "maxResults": 100
}
```

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

// Run the Actor and wait for it to finish
const run = await client.actor("gmtr/gov-uk-search-trends-55d550").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("gmtr/gov-uk-search-trends-55d550").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 gmtr/gov-uk-search-trends-55d550 --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,gmtr/gov-uk-search-trends-55d550"
        }
    }
}

```

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/6zhmxBvoxB7n6UqEU/builds/K2kzEtnnZbQPtY1XY/openapi.json
