# WordPress Plugin Directory Scraper: Installs, Ratings & Authors (`groundplanes/wordpress-plugin-directory`) Actor

Scrape the official WordPress.org Plugin Directory by keyword or tag and retrieve active installs, download counts, ratings, support thread resolution rates, WordPress/PHP version requirements, and author profiles.

- **URL**: https://apify.com/groundplanes/wordpress-plugin-directory.md
- **Developed by:** [Groundplane Labs](https://apify.com/groundplanes) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.10 / 1,000 plugins

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## WordPress Plugin Directory Scraper: Installs, Ratings & Authors

Search the official WordPress.org Plugin Directory API (`api.wordpress.org/plugins/info/1.2/`) by keyword or tag and retrieve active install counts, cumulative downloads, ratings, review counts, support forum resolution metrics, WordPress/PHP version compatibility, and author profiles.

> **Disclaimer:** This Actor is an independent open-data integration tool and is not affiliated with, endorsed by, or sponsored by the WordPress Foundation, WordPress.org, or Automattic Inc.

***

### What it does

- Queries the official WordPress.org Plugin Directory API v1.2 (`https://api.wordpress.org/plugins/info/1.2/?action=query_plugins`) with `per_page=100`. Live checks on 2026-10-31 showed that requesting `per_page=250` makes the search API return only 100 rows for each of the first 10 pages, silently skipping the rest of each block, and that `info.pages` on page 1 can disagree with the reported result total. The Actor therefore requests 100 per page, derives the page count from `info.results` and the observed page size, and pages until the reported total is exhausted, the page cap, or the scan-time budget.
- Strips HTML markup from `author` and decodes HTML entities in plugin names and tags.
- Calculates `supportResolvedPct` from two-month `support_threads` and `support_threads_resolved` counts.
- Normalizes `last_updated` timestamps into strict ISO `YYYY-MM-DD` strings, validates every output row against the schema before pushing, deduplicates on `slug`, and sorts newest first by `lastUpdated` descending.

### Who it's for

- **WordPress & WooCommerce ecosystem researchers** benchmarking plugin adoption, active install tiers, and rating distributions across categories.
- **SaaS product & competitive intelligence teams** tracking release cadence, WordPress/PHP version support, and support forum resolution rates.
- **Web agencies & site reliability teams** auditing plugin maintenance health (`lastUpdated`, `testedWp`, `requiresPhp`, and `supportResolvedPct`) before deployment.

***

### Input

| Field | Type | Default / Prefill | Description |
|---|---|---|---|
| `searchTerms` | array of strings | `["woocommerce checkout"]` | Keywords or phrases to search in the WordPress.org Plugin Directory. |
| `tags` | array of strings | `[]` | Optional WordPress.org plugin tag slugs (e.g. `["woocommerce", "blocks", "security"]`). |
| `minActiveInstalls` | integer | `1000` | Minimum `active_installs` count required to include a plugin (`0` = all plugins). |
| `updatedWithinDays` | integer | `0` | Only include plugins updated within the last N days (`0` = any update date). |
| `maxItems` | integer | `200` | Maximum number of plugins to return, sorted newest first by `lastUpdated`. |

#### Example input JSON

```json
{
  "searchTerms": [
    "woocommerce checkout"
  ],
  "tags": [],
  "minActiveInstalls": 1000,
  "updatedWithinDays": 0,
  "maxItems": 200
}
```

#### Canary input (a full correct scan takes about 40 seconds: the Actor scans the whole result set before sorting, so even a 5-row canary pays the full scan)

```json
{
  "searchTerms": ["woocommerce checkout"],
  "tags": [],
  "minActiveInstalls": 1000,
  "updatedWithinDays": 0,
  "maxItems": 5
}
```

A healthy canary run ends with a status starting `Complete:` and pushes 5 validated rows. A run where no plugin matches the filters is also a success: it ends `Complete: 0 rows matched your filters ...` with the scanned and reported counts, instead of failing.

#### Example run options (default max charge $50)

When starting a run via the Apify API or Console, set a default maximum charge limit of **$50** (`"maxTotalChargeUsd": 50`):

```json
{
  "maxTotalChargeUsd": 50
}
```

The Actor checks your remaining spending limit before every dataset push and stops cleanly if the limit is reached.

***

### Output

#### Output fields

| Field | Type | Description |
|---|---|---|
| `slug` | string | Unique WordPress.org plugin slug. |
| `name` | string | Plugin display name (HTML entities decoded). |
| `version` | string | null | Current published plugin version. |
| `authorName` | string | null | Plugin author name with HTML stripped. |
| `authorProfileUrl` | string | null | WordPress.org author profile URL. |
| `homepage` | string | null | External plugin or author homepage URL, if published. |
| `activeInstalls` | integer | null | Reported active installation count on WordPress.org. |
| `downloaded` | integer | null | Total cumulative downloads on WordPress.org. |
| `rating` | integer | null | WordPress.org rating score on a `0–100` scale. |
| `numRatings` | integer | null | Total number of user ratings. |
| `supportThreads` | integer | null | Support forum threads opened in the past two months. |
| `supportThreadsResolved` | integer | null | Support forum threads resolved in the past two months. |
| `supportResolvedPct` | number | null | Percentage of recent support threads resolved (`0–100`). |
| `requiresWp` | string | null | Minimum required WordPress version. |
| `testedWp` | string | null | Highest WordPress version tested up to. |
| `requiresPhp` | string | null | Minimum required PHP version. |
| `lastUpdated` | string | Date of most recent plugin update in `YYYY-MM-DD` format. |
| `added` | string | null | Date the plugin was added to WordPress.org in `YYYY-MM-DD` format. |
| `tags` | array of strings | null | List of plugin tags. |
| `pluginUrl` | string | Canonical WordPress.org plugin directory URL. |

#### Sample output row (synthetic example)

```json
{
  "slug": "example-checkout-optimizer",
  "name": "Example Checkout Optimizer for WooCommerce",
  "version": "3.4.2",
  "authorName": "Example Web Studio",
  "authorProfileUrl": "https://profiles.wordpress.org/examplewebstudio/",
  "homepage": "https://example.com/checkout-optimizer",
  "activeInstalls": 40000,
  "downloaded": 892410,
  "rating": 94,
  "numRatings": 312,
  "supportThreads": 24,
  "supportThreadsResolved": 21,
  "supportResolvedPct": 87.5,
  "requiresWp": "6.4",
  "testedWp": "7.1.4",
  "requiresPhp": "7.4",
  "lastUpdated": "2026-10-28",
  "added": "2021-03-15",
  "tags": [
    "checkout",
    "ecommerce",
    "woocommerce"
  ],
  "pluginUrl": "https://wordpress.org/plugins/example-checkout-optimizer/"
}
```

***

### How pricing works

Pay per result. You only pay for rows returned.

***

### Data source and terms

- **Official Source:** WordPress.org Plugin Directory API v1.2 (`https://api.wordpress.org/plugins/info/1.2/?action=query_plugins`, documented at `https://developer.wordpress.org/plugins/wordpress-org/`; see also the `plugins_api` reference at `https://developer.wordpress.org/reference/functions/plugins_api/`).
- **Update Frequency:** Real-time as plugin authors push updates to the WordPress.org Subversion repository.
- **Terms of Use:** WordPress.org publishes no separate service terms of use page. Plugin directory content is provided under GPLv2 or later (`https://wordpress.org/about/license/`) and the Plugin Directory Guidelines (`https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/`). The earlier link to the WordPress.org privacy page was not a terms reference and has been removed from this section. This Actor queries only the official WordPress.org API and never crawls third-party author websites.

#### Robots and terms: justification for using this API

- **Robots verdict (checked 2026-11-01):** `https://api.wordpress.org/robots.txt` currently disallows all agents. Its full content is `User-agent: *` and `Disallow: /`.
- **Justification for using the API anyway:** the WordPress.org Plugin Directory API is the official public interface that WordPress core itself calls for plugin directory data (search, plugin information, and update checks), and the data it returns is the public plugin directory: plugin names, slugs, versions, install and download counts, ratings, and public author profile references that WordPress.org publishes for every directory listing. Third-party tools across the plugin ecosystem are built on this same interface. This Actor does not crawl WordPress.org web pages, does not crawl third-party author websites, and does not use the API to build a competing directory.
- **How requests are limited and identified:** requests are rate-limited to 2.5 requests per second (under a 3 requests per second ceiling), use `per_page=100`, respect `Retry-After` on HTTP 429 and 5xx responses, and send an identified User-Agent: `GroundplaneLabs-Apify/1.0 (admin@groundplanegroup.com)`.
- **Policy call:** this call was made by Muse as Apify lane owner on 2026-11-01 in the Grok parallel-QA reconciliation. The Grok Red Team verdict for v0.1.2 graded this item High and FIX (not NO-GO) on the same reasoning, and the lane owner adopted the proceed-with-justification position recorded here. If WordPress.org publishes terms that bar this use, or directs this Actor to stop, the Actor will stop.
- **Residual privacy risk:** plugin authors are often individuals, not companies. This Actor emits only the public display names and `profiles.wordpress.org` profile URLs that WordPress.org itself publishes for each plugin. It emits no email addresses, no contact details, and no other personal data.
- **Trademark note:** the WordPress Foundation discourages use of the name WordPress in product names, and its trademark policy prefers descriptive references over branding use. The Actor title keeps the name WordPress for now only as a descriptive reference to the directory it scrapes (WordPress Plugin Directory), with no claim of affiliation (see the disclaimer at the top of this README). Whether to rename the title at publish time, for example to a WP short form, is flagged for a publish-time decision and is not changed in this round.

***

### Troubleshooting (`PARTIAL:` status messages)

- If a run finishes with a status message starting with `PARTIAL:`, the Actor preserved and pushed all validated records collected before a paging cap (`200` pages per query), the scan-time budget (`240s`), the charge cap, upstream HTTP retry exhaustion, or a schema drift check was triggered. If more than 20% of scanned rows fail validation, the run fails as a source problem instead of shipping the remainder.
- A `PARTIAL:` status message caused by the source (schema drift, source errors, stale or inconsistent responses) ends with: *"If this keeps happening, please open an issue on this actor's Issues tab and we'll fix it fast."* A `PARTIAL:` caused only by your own limits (maxItems is a Complete case; the charge cap, the page cap, or the scan-time budget) does not carry that line.
- Found a problem or need a field? Open an issue on the Issues tab; we respond quickly.

### Limits and FAQ

- **How are `activeInstalls` reported?** WordPress.org rounds active install counts into standard tiers (e.g. `1000`, `10000`, `100000`, `1000000+`).
- **How are records deduplicated across multiple `searchTerms` and `tags`?** Every plugin is deduplicated by its unique WordPress.org `slug` before sorting and pushing.

***

### Changelog

#### v0.1.3 (2026-11-01)

- Documentation fix only (no code changes, plus `exampleRunInput` in actor.json): added an explicit robots and terms section recording that `https://api.wordpress.org/robots.txt` disallows all agents, the justification for using the official public API anyway, and the policy call made by Muse as Apify lane owner on 2026-11-01 in the Grok parallel-QA reconciliation; replaced the incorrect Terms of Use link (the WordPress.org privacy page) with the GPL license and Plugin Directory Guidelines references; replaced the stale `codex.wordpress.org` documentation link with the current `developer.wordpress.org` Plugin Handbook page; added a residual privacy risk note for individual plugin authors and a trademark note on the use of WordPress in the title, flagged for a publish-time decision.

#### v0.1.2 (2026-10-31)

- Red Team fix: the canary heading no longer claims a sub-30-second run. A correct run scans the whole result set before sorting (about 90 pages at the rate limit), so a canary takes about 40 seconds; the heading and TEST_NOTES now state the same figure.

- **v0.1.1 (2026-10-31):** Fixed pagination to request 100 rows per page and derive page counts from the reported result total and the observed page size (requesting 250 made the search API skip rows on the first 10 pages, and its `info.pages` value can disagree with `info.results`); added a first-page core-field sentinel covering filter, dedupe, calculation and output fields; zero matches now finish as `Complete: 0 ...` instead of failing; the charge cap now reports a proper `PARTIAL:` with no Issues line, and the Issues line appears only on source-caused PARTIALs; stable sort tiebreak (slug ascending).

- **v0.1 (2026-10-31):** Initial release querying `https://api.wordpress.org/plugins/info/1.2/` with HTML stripping, support resolution percentage calculation, schema validation, and pay-per-event spending limit protection.

# Actor input Schema

## `maxItems` (type: `integer`):

Maximum number of plugins to return, sorted newest first by lastUpdated.

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

Minimum active_installs count required to include a plugin (default 1,000; set to 0 for all plugins).

## `searchTerms` (type: `array`):

Keywords or phrases to search in the WordPress.org Plugin Directory (e.g. \["woocommerce checkout", "seo"]).

## `tags` (type: `array`):

Optional WordPress.org plugin tag slugs to query (e.g. \["woocommerce", "blocks", "security"]).

## `updatedWithinDays` (type: `integer`):

Only include plugins updated within the last N days. Set to 0 to include plugins regardless of last update date.

## Actor input object example

```json
{
  "maxItems": 200,
  "minActiveInstalls": 1000,
  "searchTerms": [
    "woocommerce checkout"
  ],
  "tags": [],
  "updatedWithinDays": 0
}
```

# 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 = {
    "maxItems": 200,
    "minActiveInstalls": 1000,
    "searchTerms": [
        "woocommerce checkout"
    ],
    "tags": [],
    "updatedWithinDays": 0
};

// Run the Actor and wait for it to finish
const run = await client.actor("groundplanes/wordpress-plugin-directory").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 = {
    "maxItems": 200,
    "minActiveInstalls": 1000,
    "searchTerms": ["woocommerce checkout"],
    "tags": [],
    "updatedWithinDays": 0,
}

# Run the Actor and wait for it to finish
run = client.actor("groundplanes/wordpress-plugin-directory").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 '{
  "maxItems": 200,
  "minActiveInstalls": 1000,
  "searchTerms": [
    "woocommerce checkout"
  ],
  "tags": [],
  "updatedWithinDays": 0
}' |
apify call groundplanes/wordpress-plugin-directory --silent --output-dataset

```

## MCP server setup

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

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/1RF5q9d1UbA3Widw2/builds/N9jXb2lkbgeHkdr0K/openapi.json
