# China Media Coverage Check (`plummy_hydra/china-media-coverage-check`) Actor

Check whether a news story has already been covered by Chinese-language media. Returns covered / not_covered / uncertain with evidence links.

- **URL**: https://apify.com/plummy_hydra/china-media-coverage-check.md
- **Developed by:** [Naocanyige xue](https://apify.com/plummy_hydra) (community)
- **Categories:** News, AI, Agents
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $30.00 / 1,000 coverage gap emitteds

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

## China Media Coverage Check

Check whether an English-language news story has already been covered by Chinese-language media. Returns a verdict with confidence, evidence links, and the search queries used.

### What it does

- Searches Chinese-language sources (Xinhua, People's Daily, Guangming, Sina, and other Baidu-indexed outlets).
- Compares the story headline and optional Chinese title / keywords against found articles.
- Returns one of three verdicts:
  - `covered` — Chinese coverage found (strong match, or 3+ weak matches).
  - `not_covered` — no Chinese match found in the searches performed. Low confidence by design: absence of evidence.
  - `uncertain` — only adjacent / weak signals; do not auto-publish on this.
- Writes one dataset row per checked story. Batch up to 50 stories per run.

### Who it is for

- Newsletter editors deciding whether a story is still exclusive for a Chinese audience.
- Media monitoring and PR teams tracking Chinese coverage.
- Sourcing agents tracking China coverage of telecom / tech supply-chain news.

### Input

| Field | Type | Required | Description |
|---|---|---|---|
| `title_en` | string | no\* | English headline of the story to check. A health-check placeholder is used when no input is supplied; replace it with a real headline. |
| `title_cn` | string | no\* | Chinese title or translation; improves accuracy. Can be supplied on its own if `title_en` is omitted. |
| `keywords_cn` | string | no | Space-separated Chinese keywords used as an extra query. |

\* At least one of `title_en`, `title_cn`, or `title` must contain a real headline. Supplying none produces a free health-check row.
| `keywords_cn` | string | no | Space-separated Chinese keywords used as an extra query. |
| `request_id` | string | no | Your own idempotency key. Echoed back in the output. Retries with the same `request_id` **and the same story** are deduplicated across runs and not charged twice; reusing the id for a different story is treated as a new billable request. |
| `items` | array | no | Batch of up to 50 `{title_en, title_cn?, keywords_cn?, request_id?}` objects. Overrides the single-item fields above. |

### Output

One dataset item per story:

```json
{
  "ok": true,
  "billable": true,
  "verdict": "covered",
  "confidence": "high",
  "summary_en": "This story has already been covered by Chinese-language media (8 strong, 3 weak matches across 2 search queries). Example: \"...\".",
  "matched": { "strong": 8, "weak": 3, "near_miss": 0 },
  "evidence": [
    { "title_cn": "媒体报道标题", "url": "https://example.com/article", "match": "strong", "score": 0.692 }
  ],
  "queries_used": ["中文检索词", "English headline"],
  "checked_at": 1794901531,
  "request_id": "your-id",
  "charged": true,
  "duplicate": false
}
```

Evidence titles stay in Chinese with source links; no machine translation is invented.

### Pricing

- **$0.03 per checked story** — pay-per-event `verdict` (shown in Apify as **Coverage Gap Emitted**).
- Invalid / unjudgeable items are not charged.
- A repeated `request_id` is not charged again (`duplicate: true` in the output row).
- No-input runs produce a free health-check row (`kind: "healthcheck"`), so they never cost $0.03.
- A negligible per-run start fee applies: $0.00005 per GB of actor memory, minimum one event.
- Users pay no separate platform-usage fee for this Actor.

### API example

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_API_TOKEN")
run = client.actor("plummy_hydra/china-media-coverage-check").call(
    run_input={"title_en": "NTT Docomo suffers third nationwide 5G outage"}
)

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["verdict"], item["confidence"], item["summary_en"])
```

### Limitations

- Search recall is not perfect. `not_covered` means no evidence was found in the searches performed, not proof that no Chinese coverage exists.
- `uncertain` means only adjacent signals were found; do not auto-publish on it.
- Evidence titles remain in Chinese; use your own translation step if needed.
- Cross-run deduplication uses the Actor's persistent key-value store. Two simultaneous runs with the same `request_id` can still race; retry sequentially to guarantee no duplicate charge.

# Actor input Schema

## `title_en` (type: `string`):

The English headline of the story you want to check for Chinese-language coverage. The default is a health-check placeholder; replace it with a real headline. No-input runs produce a free health-check row.

## `title_cn` (type: `string`):

If you already have a Chinese rendering of the story, providing it improves accuracy.

## `keywords_cn` (type: `string`):

Space-separated Chinese keywords, used as an extra search query.

## `request_id` (type: `string`):

Your own idempotency key. Echoed back in the output row and deduplicated across runs: a repeated request_id is never charged twice.

## `items` (type: `array`):

Check up to 50 stories in one run. Each item: {title_en, title_cn?, keywords_cn?, request_id?}. Overrides the single-item fields above.

## Actor input object example

```json
{
  "title_en": "NTT Docomo suffers third nationwide 5G standalone outage within a month",
  "title_cn": "都科摩 5G 独立组网 全国故障 第三次"
}
```

# Actor output Schema

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

Default dataset items. Each item is one checked story: verdict (covered / not_covered / uncertain), confidence, summary_en, matched counts, evidence URLs, queries_used, and charge status (charged / duplicate / kind healthcheck).

# 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 = {
    "title_en": "NTT Docomo suffers third nationwide 5G standalone outage within a month",
    "title_cn": "都科摩 5G 独立组网 全国故障 第三次"
};

// Run the Actor and wait for it to finish
const run = await client.actor("plummy_hydra/china-media-coverage-check").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 = {
    "title_en": "NTT Docomo suffers third nationwide 5G standalone outage within a month",
    "title_cn": "都科摩 5G 独立组网 全国故障 第三次",
}

# Run the Actor and wait for it to finish
run = client.actor("plummy_hydra/china-media-coverage-check").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 '{
  "title_en": "NTT Docomo suffers third nationwide 5G standalone outage within a month",
  "title_cn": "都科摩 5G 独立组网 全国故障 第三次"
}' |
apify call plummy_hydra/china-media-coverage-check --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,plummy_hydra/china-media-coverage-check"
        }
    }
}
```

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/NqUXHp1QQeuDDlB3j/builds/9YtkPL63NPVv25FZL/openapi.json
