# WordPress.org Themes & Plugins Scraper (`crawlerbros/wordpress-org-scraper`) Actor

Scrape WordPress.org themes and plugins, search by keyword, browse by author, fetch by slug or URL. Returns ratings, install counts, version info, tags, and direct download URLs. No proxy or auth required

- **URL**: https://apify.com/crawlerbros/wordpress-org-scraper.md
- **Developed by:** [Crawler Bros](https://apify.com/crawlerbros) (community)
- **Categories:** Developer tools, Automation, Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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?

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

## WordPress.org Themes & Plugins Scraper

Scrape themes and plugins from **WordPress.org** — the world's largest open-source CMS marketplace.\
No API key, no proxy, and no authentication required. Works on the free Apify plan.

***

### What you can do

- **Search themes or plugins** by keyword with optional sort order (popular, new, updated, featured, top-rated)
- **Browse featured/popular** themes and plugins in any browse category
- **Fetch by author** — get all themes and plugins published by a WordPress.org username
- **Fetch by slug or URL** — get full details for specific themes or plugins
- **Filter by rating** (0–5 stars) and **minimum active installs**
- Paginate up to 500 results per run

***

### Modes

| Mode | Description | Key Input Fields |
|---|---|---|
| `searchThemes` | Search themes by keyword | `searchQuery`, `browse`, `minRating`, `minInstalls` |
| `searchPlugins` | Search plugins by keyword | `searchQuery`, `browse`, `minRating`, `minInstalls` |
| `byAuthor` | All themes & plugins by a WordPress.org username | `authorSlug`, `contentType` |
| `getTheme` | Fetch theme details by slug or URL | `themeSlugs`, `startUrls` |
| `getPlugin` | Fetch plugin details by slug or URL | `pluginSlugs`, `startUrls` |
| `featured` | Browse featured/popular themes and plugins | `browse`, `contentType` |

***

### Input

| Field | Type | Description | Default |
|---|---|---|---|
| `mode` | select | Scraping mode (see table above) | `searchThemes` |
| `searchQuery` | string | Keyword to search (searchThemes, searchPlugins) | — |
| `authorSlug` | string | WordPress.org username (byAuthor) | — |
| `startUrls` | string\[] | Direct WordPress.org theme/plugin URLs | — |
| `themeSlugs` | string\[] | Theme slugs for getTheme, e.g. `twentytwentyfour` | — |
| `pluginSlugs` | string\[] | Plugin slugs for getPlugin, e.g. `woocommerce` | — |
| `browse` | select | Sort order: `popular`, `new`, `updated`, `featured`, `top-rated` | `popular` |
| `contentType` | select | For byAuthor/featured: `both`, `themes`, `plugins` | `both` |
| `minRating` | number | Minimum rating 0–5 (filters out lower-rated items) | — |
| `minInstalls` | integer | Minimum active installs threshold | — |
| `maxItems` | integer | Maximum records to return (1–500) | `50` |

#### Example inputs

**Search for blog themes:**

```json
{
  "mode": "searchThemes",
  "searchQuery": "blog",
  "browse": "popular",
  "minRating": 3.0,
  "maxItems": 50
}
```

**Get top WooCommerce plugins:**

```json
{
  "mode": "searchPlugins",
  "searchQuery": "woocommerce",
  "browse": "top-rated",
  "minInstalls": 10000,
  "maxItems": 100
}
```

**All plugins by Automattic:**

```json
{
  "mode": "byAuthor",
  "authorSlug": "automattic",
  "contentType": "plugins",
  "maxItems": 200
}
```

**Fetch specific themes by slug:**

```json
{
  "mode": "getTheme",
  "themeSlugs": ["twentytwentyfour", "astra", "hello-elementor"]
}
```

**Fetch theme from URL:**

```json
{
  "mode": "getTheme",
  "startUrls": ["https://wordpress.org/themes/neve/"]
}
```

***

### Output

Each record represents one theme or plugin.

#### Theme fields

| Field | Type | Description |
|---|---|---|
| `slug` | string | Unique theme identifier |
| `name` | string | Theme display name |
| `version` | string | Current version |
| `author` | string | Author display name |
| `authorUrl` | string | Author profile URL |
| `description` | string | Theme description (HTML stripped) |
| `previewUrl` | string | Live preview URL |
| `screenshotUrl` | string | Screenshot image URL |
| `rating` | number | Rating 0–5 (normalized from WordPress.org 0–100 scale) |
| `numRatings` | integer | Number of ratings |
| `activeInstalls` | integer | Number of active installs |
| `lastUpdated` | string | Last update date |
| `homepageUrl` | string | Theme homepage |
| `downloadUrl` | string | Direct .zip download URL |
| `tags` | string\[] | Theme tags/categories |
| `url` | string | WordPress.org theme page URL |
| `contentType` | string | Always `"theme"` |
| `scrapedAt` | string | ISO timestamp of when this record was scraped |

#### Plugin fields

| Field | Type | Description |
|---|---|---|
| `slug` | string | Unique plugin identifier |
| `name` | string | Plugin display name |
| `version` | string | Current version |
| `author` | string | Author display name |
| `authorUrl` | string | Author URL |
| `shortDescription` | string | Short plugin description |
| `homepageUrl` | string | Plugin homepage |
| `rating` | number | Rating 0–5 |
| `numRatings` | integer | Number of ratings |
| `activeInstalls` | integer | Number of active installs |
| `downloadCount` | integer | Total all-time downloads |
| `lastUpdated` | string | Last update date |
| `requiresWpVersion` | string | Minimum WordPress version required |
| `testedWpVersion` | string | Tested up to WordPress version |
| `tags` | string\[] | Plugin tags/categories |
| `url` | string | WordPress.org plugin page URL |
| `downloadUrl` | string | Direct .zip download URL |
| `contentType` | string | Always `"plugin"` |
| `scrapedAt` | string | ISO timestamp |

#### Example output (theme)

```json
{
  "slug": "twentytwentyfour",
  "name": "Twenty Twenty-Four",
  "version": "1.2",
  "author": "WordPress.org",
  "authorUrl": "https://profiles.wordpress.org/wordpressdotorg/",
  "description": "A clean, minimal theme for blogs and portfolios.",
  "screenshotUrl": "https://ts0.wp.com/themes/twentytwentyfour/screenshot.png",
  "rating": 4.0,
  "numRatings": 523,
  "activeInstalls": 1000000,
  "lastUpdated": "2024-03-15",
  "downloadUrl": "https://downloads.wordpress.org/theme/twentytwentyfour.1.2.zip",
  "tags": ["Blog", "One Column", "Custom Colors"],
  "url": "https://wordpress.org/themes/twentytwentyfour/",
  "contentType": "theme",
  "scrapedAt": "2026-05-17T10:30:00+00:00"
}
```

***

### FAQ

**Does this require an API key?**\
No. The WordPress.org Themes and Plugins APIs are completely public and require no authentication.

**Does this use a proxy?**\
No proxy is needed. WordPress.org has no bot protection on their public API endpoints.

**How many results can I get?**\
Up to 500 per run. WordPress.org returns 100 items per page; the actor paginates automatically.

**How is the rating calculated?**\
WordPress.org stores ratings on a 0–100 scale. This actor normalizes them to the standard 0–5 star scale by dividing by 20.

**What does `activeInstalls` represent?**\
The number of WordPress sites currently running this theme or plugin, as reported by WordPress.org.

**Can I search for themes and plugins at the same time?**\
Use `mode=featured` or `mode=byAuthor` with `contentType=both` to get both in a single run. For keyword searches, run two separate runs with `searchThemes` and `searchPlugins`.

**Can I get a theme/plugin by its WordPress.org URL?**\
Yes — use `mode=getTheme` or `mode=getPlugin` with `startUrls` containing the full WordPress.org URL.

**What is the `browse` parameter for?**\
It controls the sort order for search and featured results: `popular` (most installs), `new` (recently published), `updated` (recently updated), `featured` (handpicked by WordPress.org), `top-rated` (highest ratings).

***

### Data Source

Data comes directly from the official **WordPress.org Themes and Plugins APIs**:

- Themes: `https://api.wordpress.org/themes/info/1.2/`
- Plugins: `https://api.wordpress.org/plugins/info/1.2/`

These are the same APIs used by the WordPress admin dashboard when you search for themes and plugins to install. All data is publicly available.

# Actor input Schema

## `mode` (type: `string`):

What to scrape.

## `searchQuery` (type: `string`):

Keyword to search (used by searchThemes and searchPlugins modes).

## `authorSlug` (type: `string`):

WordPress.org username to fetch all themes and plugins for (mode=byAuthor).

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

Direct WordPress.org theme or plugin URLs, e.g. https://wordpress.org/themes/twentytwentyfour/ or https://wordpress.org/plugins/woocommerce/

## `themeSlugs` (type: `array`):

Theme slug identifiers for getTheme mode, e.g. twentytwentyfour, astra

## `pluginSlugs` (type: `array`):

Plugin slug identifiers for getPlugin mode, e.g. woocommerce, contact-form-7

## `browse` (type: `string`):

Browse/sort order for search results (used by searchThemes, searchPlugins, featured).

## `contentType` (type: `string`):

Which content to fetch (used by byAuthor and featured modes).

## `minRating` (type: `number`):

Only include items with rating at or above this threshold (0–5 scale).

## `minInstalls` (type: `integer`):

Only include items with active installs at or above this threshold.

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

Maximum number of records to return.

## Actor input object example

```json
{
  "mode": "searchThemes",
  "searchQuery": "blog",
  "startUrls": [],
  "themeSlugs": [],
  "pluginSlugs": [],
  "browse": "popular",
  "contentType": "both",
  "maxItems": 50
}
```

# Actor output Schema

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

Dataset containing all scraped WordPress.org themes and plugins.

# 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 = {
    "mode": "searchThemes",
    "searchQuery": "blog",
    "startUrls": [],
    "themeSlugs": [],
    "pluginSlugs": [],
    "browse": "popular",
    "contentType": "both",
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawlerbros/wordpress-org-scraper").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 = {
    "mode": "searchThemes",
    "searchQuery": "blog",
    "startUrls": [],
    "themeSlugs": [],
    "pluginSlugs": [],
    "browse": "popular",
    "contentType": "both",
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("crawlerbros/wordpress-org-scraper").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 '{
  "mode": "searchThemes",
  "searchQuery": "blog",
  "startUrls": [],
  "themeSlugs": [],
  "pluginSlugs": [],
  "browse": "popular",
  "contentType": "both",
  "maxItems": 50
}' |
apify call crawlerbros/wordpress-org-scraper --silent --output-dataset

```

## MCP server setup

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

```

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/ix0O04OFuuWBH6opw/builds/6hHdVqfqSKbeg8ohR/openapi.json
