# WordPress & WooCommerce Plugin Churn Scraper (`ttyan0111/wordpress-plugin-churn-spy`) Actor

Zero-proxy WordPress.org & WooCommerce plugin B2B scraper. Extracts active installs, rating distributions, unresolved support ratios, domain-matched vendor emails, 1-2 star churn reviews, live unresolved merchant tickets, agentSummary, and RUN_SUMMARY.

- **URL**: https://apify.com/ttyan0111/wordpress-plugin-churn-spy.md
- **Developed by:** [Truong Truong Giang](https://apify.com/ttyan0111) (community)
- **Categories:** E-commerce, Lead generation, Agents
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 wordpress/woocommerce plugin scrapeds

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/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

## WordPress & WooCommerce Plugin Churn Scraper

Fast **zero-proxy B2B intelligence scraper** for **WordPress.org & WooCommerce plugins** built for **e-commerce agencies, SaaS/plugin founders, B2B outbound teams, and AI agents**.

### Key Capabilities

1. **Lightweight Plugin Telemetry (`95%` Payload Reduction):** Queries `api.wordpress.org/plugins/info/1.2/` with surgical field projections (`activeInstalls`, `downloaded`, `averageStars`, `ratings` 1–5★ breakdown, `supportThreads`, `unresolvedSupportThreads`, `testedUpToWp`, `requiresPhp`, `requiresPlugins`, `lastUpdated`).
2. **Full-Text `1★` & `2★` Churn Reviews (`0` HTML Pagination Needed):** Harvests complete `1★` and `2★` complaints directly from WordPress.org review RSS feeds (`/support/plugin/<slug>/reviews/feed/?filter=1` & `?filter=2`).
3. **Live Unresolved Merchant Support Tickets:** Captures urgent unanswered merchant issues from `/support/plugin/<slug>/unresolved/feed/` (`creatorUsername`, `pubDate`, `repliesCount`, `topicUrl`, `bodyText`).
4. **Domain-Verified Vendor Email Enrichment:** Probes external plugin vendor domains (`/`, `/privacy-policy/`, `/contact/`, `/support/`, `/impressum/`, including Cloudflare `data-cfemail` decoding) to resolve verified vendor contact emails.
5. **5-Bucket B2B Pain Classification & AI Summaries:** Tags every churn review and unresolved ticket across `woocommerce_checkout_bug`, `site_slowdown_crash`, `billing_upsell_lockin`, `broken_update_regression`, and `unresponsive_support`, exporting per-item `agentSummary` and Key-Value Store `RUN_SUMMARY` at `256 MB` RAM and `$0` proxy cost.

### Input Parameters

| Parameter | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `queries` | `string[]` | `["woocommerce stripe", "checkout upsell"]` | Search keywords, exact plugin slugs, or WordPress.org URLs |
| `maxPluginsPerQuery` | `integer` | `5` | Maximum unique plugins per query (`1–50`) |
| `minActiveInstalls` | `integer` | `500` | Minimum active installs filter for keyword searches |
| `includeChurnReviews` | `boolean` | `true` | Extract `1★` and `2★` full-text reviews and classify pain signals |
| `maxReviewsPerPlugin` | `integer` | `15` | Max `1★–2★` reviews per plugin (`1–50`) |
| `includeUnresolvedSupport` | `boolean` | `true` | Extract up to `10` live unresolved support tickets per plugin |
| `enrichAuthorContacts` | `boolean` | `true` | Probe vendor websites for domain-verified emails |

### Pricing

Pay-per-Event pricing (`actor-start`, `plugin-scraped`, and `churn-signal-analyzed`).

# Actor input Schema

## `queries` (type: `array`):

Search keywords (e.g. 'woocommerce stripe', 'checkout upsell'), exact WordPress.org plugin slugs (e.g. 'woocommerce-gateway-stripe', 'woocommerce-pdf-invoices-packing-slips'), or wordpress.org/plugins/<slug>/ URLs.

## `maxPluginsPerQuery` (type: `integer`):

Maximum number of unique plugins to extract per query (1-50).

## `minActiveInstalls` (type: `integer`):

Minimum active WordPress site installs required when searching by keyword.

## `includeChurnReviews` (type: `boolean`):

Harvest full-text 1-star and 2-star plugin reviews via WordPress.org RSS feeds and classify churn pain signals.

## `maxReviewsPerPlugin` (type: `integer`):

Maximum number of 1-2 star churn reviews to keep per plugin (1-50).

## `includeUnresolvedSupport` (type: `boolean`):

Extract up to 10 live unresolved merchant support threads per plugin from WordPress.org forums.

## `enrichAuthorContacts` (type: `boolean`):

Probe external plugin vendor websites (/, /privacy-policy/, /contact/, /support/, /impressum/) to extract verified business & support emails.

## Actor input object example

```json
{
  "queries": [
    "woocommerce stripe",
    "checkout upsell"
  ],
  "maxPluginsPerQuery": 5,
  "minActiveInstalls": 500,
  "includeChurnReviews": true,
  "maxReviewsPerPlugin": 15,
  "includeUnresolvedSupport": true,
  "enrichAuthorContacts": true
}
```

# Actor output Schema

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

Structured plugin install metrics, support resolution ratios, verified vendor emails & domains, 1-2 star churn reviews, and live unresolved merchant support tickets.

## `runSummary` (type: `string`):

Compact B2B intelligence summary in Key-Value Store (totalPlugins, totalChurnReviews, totalUnresolvedTickets, vendorEmailsFound, topPainCategories, highInstallVulnerablePlugins).

# 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 = {
    "queries": [
        "woocommerce stripe",
        "checkout upsell"
    ],
    "maxPluginsPerQuery": 5,
    "minActiveInstalls": 500,
    "maxReviewsPerPlugin": 15
};

// Run the Actor and wait for it to finish
const run = await client.actor("ttyan0111/wordpress-plugin-churn-spy").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 = {
    "queries": [
        "woocommerce stripe",
        "checkout upsell",
    ],
    "maxPluginsPerQuery": 5,
    "minActiveInstalls": 500,
    "maxReviewsPerPlugin": 15,
}

# Run the Actor and wait for it to finish
run = client.actor("ttyan0111/wordpress-plugin-churn-spy").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 '{
  "queries": [
    "woocommerce stripe",
    "checkout upsell"
  ],
  "maxPluginsPerQuery": 5,
  "minActiveInstalls": 500,
  "maxReviewsPerPlugin": 15
}' |
apify call ttyan0111/wordpress-plugin-churn-spy --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ttyan0111/wordpress-plugin-churn-spy"
        }
    }
}
```

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/gpcdQYoORhHYCPREc/builds/ghVjgnW3Cs8qj9J78/openapi.json
