# Global Regulatory & Government Document Monitor (`aieast/china-public-web-intelligence`) Actor

Monitor public regulatory and government pages worldwide, detect changes, and extract AI-ready Markdown and JSON with agencies, identifiers, dates, attachments, links, and hashes.

- **URL**: https://apify.com/aieast/china-public-web-intelligence.md
- **Developed by:** [Aden](https://apify.com/aieast) (community)
- **Categories:** Automation, News, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$5.00 / 1,000 successfully extracted pages

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?

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

## Global Regulatory & Government Document Monitor

Monitor public regulatory and government web pages worldwide. The Actor converts each page into clean Markdown and structured JSON, stores a stable content hash, and labels later checks as `new`, `changed`, or `unchanged`.

It is designed for compliance teams, regulatory intelligence, legal and financial research, RAG pipelines, knowledge bases, and autonomous AI agents. No paid language model is used. You are charged only when a page is successfully downloaded, processed, and written to the dataset.

> Independent data extraction tool. Not affiliated with or endorsed by any government authority.

### Try it in 30 seconds

This example monitors official US, UK, and EU regulatory pages:

```json
{
  "startUrls": [
    { "url": "https://www.sec.gov/newsroom/press-releases" },
    { "url": "https://www.gov.uk/government/publications/implementing-the-uks-ai-regulatory-principles-initial-guidance-for-regulators" },
    { "url": "https://digital-strategy.ec.europa.eu/en/policies/regulatory-framework-ai" }
  ],
  "enableChangeDetection": true,
  "monitorId": "global-ai-regulation",
  "respectRobotsTxt": true,
  "includeLinks": true,
  "maxLinks": 100
}
```

Run the same input again to receive an `unchanged` result. When the readable content changes, the result is labeled `changed` and includes the previous hash and timestamps. Schedule the Actor in Apify and connect a webhook or integration to build a recurring regulatory alert workflow.

Ready-to-run public examples:

- [SEC regulatory press releases](https://apify.com/aieast/china-public-web-intelligence/examples/monitor-sec-regulatory-press-releases)
- [SEC, CFTC, and FINRA regulatory news](https://apify.com/aieast/china-public-web-intelligence/examples/monitor-us-financial-regulators)
- [EU AI Act updates](https://apify.com/aieast/china-public-web-intelligence/examples/monitor-eu-ai-act-updates)
- [Global AI regulation across the US, UK, EU, and China](https://apify.com/aieast/china-public-web-intelligence/examples/monitor-global-ai-regulation)

### What you get

- Change status: `new`, `changed`, `unchanged`, or `not-tracked`
- Stable current and previous SHA-256 content hashes
- First-seen, previous-fetch, last-changed, and current-fetch timestamps
- Clean Markdown and plain text
- Title, description, language, publication date, and effective date
- Jurisdiction, source or issuing organization, document type, and identifiers
- Attachment links, heading outline, deduplicated links, and JSON-LD
- Canonical and final redirected URLs, HTTP status, and detected encoding
- Explicit error records; failed pages do not trigger a success-event charge

### Supported use cases

- Monitor regulator newsrooms, consultation pages, guidance, rules, and policy documents
- Detect changes across SEC, GOV.UK, EU institutions, and other public authorities
- Feed verified source content into compliance copilots, RAG, and AI agents
- Track Chinese government and regulator pages with issuing-body, policy-number, attachment, encoding, and ICP extraction
- Build scheduled research or market-intelligence pipelines without an LLM dependency

### Change detection

Change detection is enabled by default. Only a page hash, canonical URL, and timestamps are stored in a named key-value store inside the running user's Apify account; page content is not duplicated in monitoring state.

Use `monitorId` to isolate independent monitoring jobs that happen to check the same URL. For example, `global-ai-regulation` and `weekly-compliance-review` maintain separate histories.

### Input reference

```json
{
  "startUrls": [{ "url": "https://example.gov/regulation" }],
  "enableChangeDetection": true,
  "monitorId": "default",
  "respectRobotsTxt": true,
  "includeLinks": true,
  "maxLinks": 200,
  "maxMarkdownChars": 120000,
  "maxContentBytes": 3000000,
  "requestTimeoutSecs": 20
}
```

Up to 20 unique public HTTP(S) URLs can be processed per run.

### Output example

```json
{
  "status": "ok",
  "changeStatus": "changed",
  "jurisdiction": "US",
  "url": "https://www.sec.gov/newsroom/press-releases",
  "title": "Press Releases",
  "sourceOrganization": "U.S. Securities and Exchange Commission",
  "publishedAt": "2026-09-03T16:30:00Z",
  "documentIdentifiers": ["Release No. 2026-85"],
  "previousContentHash": "sha256:...",
  "contentHash": "sha256:...",
  "markdown": "# Press Releases\n\n..."
}
```

### Pricing

The Store price is **$0.005 per successfully processed page** ($5 per 1,000 successful page checks). Failed or blocked pages do not trigger the `page-extracted` event. Platform usage is included in the event price.

### Automation

Run from the Apify Console, REST API, schedules, webhooks, or AI agents through Apify integrations. A practical workflow is:

1. Save a task containing the target regulatory pages.
2. Schedule it daily or weekly.
3. Filter dataset items where `changeStatus` is `new` or `changed`.
4. Send those items to email, Slack, a database, or a downstream AI workflow.

### Safety and responsible use

- Only public HTTP(S) pages are accepted.
- Localhost, private networks, metadata endpoints, and URL credentials are blocked.
- Redirect targets are revalidated; download size, URL count, redirects, and request duration are limited.
- `robots.txt` is respected by default.
- The Actor does not bypass logins, paywalls, CAPTCHAs, or access controls.
- Users are responsible for verifying access rights and complying with applicable website terms, privacy, copyright, data-protection, and data-export rules.

### Limitations

This version extracts server-rendered HTML. Pages whose meaningful content requires complex JavaScript may return an insufficient-content error. PDFs and other binary documents are linked as attachments but are not parsed in this version.

### 中文说明

本 Actor 面向全球公开监管与政府网页，可定时提取 Markdown/JSON，并用内容哈希判断页面是首次出现、发生变化还是保持不变。中国网页能力作为特色保留，包括中文编码、发文机构、政策文号、附件和 ICP 备案号识别。默认遵守 `robots.txt`，不绕过登录、验证码或访问控制。

# Actor input Schema

## `startUrls` (type: `array`):

One or more public regulatory, government, or policy pages to monitor and extract (maximum 20 per run).

## `respectRobotsTxt` (type: `boolean`):

Skip URLs disallowed for this Actor's user agent. Keep enabled unless you control the target site.

## `includeLinks` (type: `boolean`):

Return deduplicated HTTP(S) links found in the extracted content.

## `maxLinks` (type: `integer`):

Maximum number of links returned for each page.

## `maxMarkdownChars` (type: `integer`):

Truncate unusually long pages to control storage and downstream AI costs.

## `maxContentBytes` (type: `integer`):

Maximum HTML response size accepted for each page.

## `requestTimeoutSecs` (type: `integer`):

Per-request timeout, including redirects.

## `enableChangeDetection` (type: `boolean`):

Persist only hashes and timestamps in your Apify storage and label each page as new, changed, or unchanged.

## `monitorId` (type: `string`):

Optional namespace for a recurring monitoring job. Use a different value for independent monitors of the same URL.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.sec.gov/newsroom/press-releases"
    }
  ],
  "respectRobotsTxt": true,
  "includeLinks": true,
  "maxLinks": 200,
  "maxMarkdownChars": 120000,
  "maxContentBytes": 3000000,
  "requestTimeoutSecs": 20,
  "enableChangeDetection": true,
  "monitorId": "default"
}
```

# Actor output Schema

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

No description

## `dataset` (type: `string`):

No description

## `summary` (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 = {
    "startUrls": [
        {
            "url": "https://www.sec.gov/newsroom/press-releases"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("aieast/china-public-web-intelligence").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 = { "startUrls": [{ "url": "https://www.sec.gov/newsroom/press-releases" }] }

# Run the Actor and wait for it to finish
run = client.actor("aieast/china-public-web-intelligence").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 '{
  "startUrls": [
    {
      "url": "https://www.sec.gov/newsroom/press-releases"
    }
  ]
}' |
apify call aieast/china-public-web-intelligence --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,aieast/china-public-web-intelligence"
        }
    }
}

```

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/W7xsPFlvmFtAEeS9T/builds/tHip0mqQGIgP92NMu/openapi.json
