# Wordpress Org Themes Scraper (`real-estate-api/wordpress-org-themes-scraper-202610120341`) Actor

WordPress.org Themes Scraper is a Python tool designed to extract theme names, download counts, active installation metrics, user ratings, author information, and update histories from the WordPress.org Theme Directory. It exports structured open-source design datasets into clean CSV or JSON format

- **URL**: https://apify.com/real-estate-api/wordpress-org-themes-scraper-202610120341.md
- **Developed by:** [real-estate-api](https://apify.com/real-estate-api) (community)
- **Security:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 1,000 results

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.org Themes Scraper — Theme Search, Ratings, and Version Details

### Overview

WordPress.org Themes Scraper collects publicly available theme information from the WordPress.org themes directory. Search by keyword, browse popular, new, or recently updated themes, and retrieve details for specific theme slugs.

The collected records are organized into a structured dataset that can be exported as JSON, CSV, or Excel for research, comparison, and catalog monitoring.

### Features

- **Theme Search:** Find themes using one or more keywords.
- **Theme Browsing:** Browse popular, new, or updated themes.
- **Theme Details:** Retrieve information about specific themes by slug.
- **Version Information:** Collect published versions and minimum WordPress and PHP requirements.
- **Ratings and Reviews:** Examine available rating scores and rating counts.
- **Author Details:** Collect available theme author information.
- **Commercial Indicators:** Review commercial and community theme flags.
- **Duplicate Filtering:** Skip duplicate theme slugs.
- **Structured Exports:** Prepare theme records for spreadsheet analysis and reporting.

### Use Cases

- **Theme Research:** Compare themes matching a particular niche or keyword.
- **Catalog Monitoring:** Collect snapshots of popular, new, or recently updated themes.
- **Theme Comparison:** Review versions, ratings, and compatibility requirements.
- **Directory Research:** Examine available author details and commercial indicators.
- **Quality Review:** Identify themes with missing ratings or incomplete metadata.
- **Scheduled Inventories:** Compare exports from separate runs to identify changes over time.

### Input Parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `searchQueries` | Array | `["blog"]` | Keywords used to search for themes. |
| `browse` | String | Empty | Optional browsing category: `popular`, `new`, or `updated`. |
| `themeSlugs` | Array | `[]` | Exact theme slugs for collecting detailed information. |
| `maxItems` | Integer | `100` | Maximum number of theme records to collect. Minimum: 1; maximum: 1000. |

### Example Input

```json id="8t3mqa"
{
  "searchQueries": ["blog"],
  "browse": "",
  "themeSlugs": ["astra"],
  "maxItems": 100
}
```

### What Data Does This Actor Extract?

Each collected theme is stored as a dataset record. Available fields depend on the theme and the collection mode.

#### Extracted Data Fields

| Field | Type | Description |
|---|---|---|
| `name` | String | Theme name. |
| `slug` | String | Theme slug used to identify and deduplicate themes. |
| `version` | String | Published theme version. |
| `author` | Object | Available author information, such as login name and display name. |
| `rating` | Integer | Theme rating score when available. |
| `num_ratings` | Integer | Number of ratings received. |
| `themeDescription` | String | Public theme summary. |
| `requires` | String | Minimum required WordPress version. |
| `requires_php` | String | Minimum required PHP version. |
| `is_commercial` | Boolean | Indicates whether the theme is marked as commercial. |
| `external_support_url` | Boolean | Indicates whether external support is available. |
| `is_community` | Boolean | Indicates whether the theme is marked as a community theme. |
| `mode` | String | Collection mode: `search`, `browse`, or `detail`. |
| `scraped_at` | String | Timestamp when the record was collected. |

### Example Output

The following is an illustrative dataset record. Values and available fields vary by theme.

```json id="5j2vna"
{
  "name": "Beyond Blog",
  "slug": "beyond-blog",
  "version": "1.0.1",
  "author": {
    "user_nicename": "ascendoor",
    "display_name": "Ascendoor",
    "author": "Ascendoor"
  },
  "rating": 0,
  "num_ratings": 0,
  "themeDescription": "A stylish and modern theme designed for personal and professional bloggers.",
  "requires": "5.0",
  "requires_php": "8.0",
  "is_commercial": false,
  "external_support_url": false,
  "is_community": false,
  "mode": "search",
  "scraped_at": "2026-10-12T00:00:00+00:00"
}
```

### Collection Modes

- **`search`** — Collects themes matching the configured search keywords.
- **`browse`** — Collects themes from the selected popular, new, or updated category.
- **`detail`** — Collects detailed information for specified theme slugs.

### Working with Your Dataset

When collection finishes, review the dataset and export the results in your preferred format:

- **JSON:** For structured data processing.
- **CSV:** For spreadsheet analysis and catalog comparisons.
- **Excel:** For reviewing theme information in a workbook.

You can compare exports from different runs to track version changes, changes in ratings, and newly discovered themes.

### Important Notes

- You can combine keyword searches, browsing, and specific theme slugs in one run.
- The maximum configured collection size is 1000 theme records per run.
- Duplicate theme slugs are skipped.
- Some themes may have missing ratings, descriptions, or other optional information.
- The `scraped_at` field represents when the record was collected, not the theme's last modification time.
- This is an independent data collection tool and not an official WordPress.org product.

### FAQ

**Can I search for multiple theme keywords?**

Yes. Add multiple keywords to `searchQueries`.

**Can I collect a specific theme?**

Yes. Add its slug to `themeSlugs`.

**Can I browse popular or recently published themes?**

Yes. Set `browse` to `popular`, `new`, or `updated`.

**Can I collect theme compatibility information?**

Yes. The available records can include minimum WordPress and PHP version requirements.

**Can I export the results to Excel?**

Yes. The dataset can be exported as Excel, CSV, or JSON.

### Disclaimer

This actor is an independent tool and is not affiliated with, endorsed by, sponsored by, or officially associated with WordPress.org or its maintainers. Users are responsible for ensuring that their collection and use of data comply with applicable laws and relevant terms.

### Is Web Scraping Legal?

Collecting information that is already public is generally legal. Scraping is not the same thing as hacking, and there is no single law that bans it. The limits are the usual ones: do not break into accounts, do not take private or confidential data, and be careful with personal data and copyrighted works. A site's terms can also restrict how you access it. Facts such as a public name, price, or rating are not the same thing as republishing someone's article or photo.

This actor collects information from public pages. It does not log in and it does not bypass access controls.

For a longer explanation, see Apify's article [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/).

# Actor input Schema

## `searchQueries` (type: `array`):

Keywords to search on the public WordPress.org themes directory. One keyword per line. Leave empty to skip search mode.

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

Directory list to walk: popular, new, or updated. Leave blank to skip browse mode.

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

Theme slugs for the detail endpoint, such as astra. One slug per line.

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

Maximum theme records to save in one run. The hard cap is 1000.

## `requestDelaySecs` (type: `number`):

Seconds to wait between API calls. Minimum 0.3 so the directory is not hammered.

## `timeoutSecs` (type: `integer`):

Overall run time limit in seconds. The actor stops cleanly when this elapses.

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

How long to wait for a single WordPress.org API response before retrying.

## `proxyConfiguration` (type: `object`):

Optional proxy for API requests. Leave Apify Proxy off unless the directory starts blocking your IP.

## Actor input object example

```json
{
  "searchQueries": [
    "blog"
  ],
  "browse": "",
  "themeSlugs": [],
  "maxItems": 100,
  "requestDelaySecs": 0.3,
  "timeoutSecs": 300,
  "requestTimeoutSecs": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

Default dataset of theme records and any error rows.

## `overview` (type: `string`):

Table view of the theme dataset.

# 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 = {
    "searchQueries": [
        "blog"
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("real-estate-api/wordpress-org-themes-scraper-202610120341").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 = {
    "searchQueries": ["blog"],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("real-estate-api/wordpress-org-themes-scraper-202610120341").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 '{
  "searchQueries": [
    "blog"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call real-estate-api/wordpress-org-themes-scraper-202610120341 --silent --output-dataset

```

## MCP server setup

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

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/b8ZpIciYIcJIO1eg8/builds/hSadB5FdQBeNPp4Jh/openapi.json
