# WordPress Theme & Plugin Detector (Bulk) (`scrapemint/wordpress-theme-plugin-detector`) Actor

See which theme and plugins any WordPress site runs: theme name, version, parent theme, plugins with detected vs latest version, outdated flags, active installs and wordpress.org links. WooCommerce and WP version too. Bulk lookup, no API key.

- **URL**: https://apify.com/scrapemint/wordpress-theme-plugin-detector.md
- **Developed by:** [Ken M](https://apify.com/scrapemint) (community)
- **Categories:** Developer tools, Lead generation, SEO tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## 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 Theme & Plugin Detector (Bulk)

Check a list of sites and see which WordPress theme and plugins each one runs, which versions, and which plugins are out of date. Every theme and plugin is matched against the free wordpress.org directory for its real name, latest version, active installs and last update. Plugins not in the directory are flagged as premium or custom.

No API key, no login, no browser.

### Who uses it

- **WordPress agencies and freelancers**: find sites with outdated plugins to pitch maintenance or security work
- **Plugin and theme makers**: find sites using a competitor, or sites missing your category
- **Security teams**: inventory plugin versions across a portfolio of sites
- **SEO teams**: see which SEO and cache plugins competitors use

### What you get

One row per URL:

- `isWordPress`, `wordpressVersion`, `siteName`, `siteDescription`
- `themeSlug`, `themeName`, `themeVersion`, plus `theme` with author, author URI, latest version, active installs and `isOutdated`
- `parentTheme` and `isChildTheme` when a child theme is active
- `plugins`: `[{ slug, name, detectedVersion, latestVersion, isOutdated, activeInstalls, lastUpdated, inDirectory, author, directoryUrl, detectedBy }]`
- `pluginCount`, `outdatedPluginCount`, `premiumOrCustomPluginCount`, `pluginNames`
- `isWooCommerce`, `restApiOpen`

Plugins are found three ways: asset paths (`/wp-content/plugins/<slug>/` with `?ver=`), HTML markers left by plugins such as Yoast, Rank Math, Elementor or WP Rocket, and REST API namespaces listed at `/wp-json/`.

### Example input

```json
{
  "urls": ["techcrunch.com", "yoast.com", "wordpress.org/news"],
  "enrichFromWordPressOrg": true,
  "checkRestApi": true
}
```

### Example output

```json
{
  "url": "https://techcrunch.com/",
  "isWordPress": true,
  "wordpressVersion": "6.9.11",
  "themeName": "TechCrunch 2024",
  "themeVersion": "0.1.0",
  "pluginCount": 4,
  "outdatedPluginCount": 1,
  "plugins": [
    {
      "slug": "wordpress-seo",
      "name": "Yoast SEO",
      "detectedVersion": "25.1",
      "latestVersion": "28.8",
      "isOutdated": true,
      "activeInstalls": 10000000,
      "detectedBy": ["html", "rest-api"]
    }
  ]
}
```

### Pricing

Pay per WordPress site detected. Sites not on WordPress, unreachable URLs and invalid inputs are free, and the first 2 sites of every run are free.

### Notes

- Only what the public homepage and REST API reveal can be detected. Admin-only plugins (backups, security scanners) usually leave no trace.
- `detectedVersion` comes from asset `?ver=` values and plugin comments. Some sites strip or rewrite these, so `isOutdated` is `null` when no version is visible.
- For non-WordPress stacks use [Website Tech Stack Detector](https://apify.com/scrapemint/website-tech-stack-detector); for Shopify stores use [Shopify Theme & App Detector](https://apify.com/scrapemint/shopify-theme-app-detector).

# Actor input Schema

## `urls` (type: `array`):

Site domains or URLs, e.g. techcrunch.com. Non-WordPress sites are reported and not charged.

## `enrichFromWordPressOrg` (type: `boolean`):

Look up each theme and plugin on wordpress.org: display name, latest version, active installs, last update, outdated flag.

## `checkRestApi` (type: `boolean`):

Read /wp-json/ for the site name and plugins that register API namespaces (Yoast, WooCommerce, Rank Math...).

## `concurrency` (type: `integer`):

Sites checked in parallel.

## `maxRows` (type: `integer`):

Cap on sites checked. Controls cost.

## Actor input object example

```json
{
  "urls": [
    "techcrunch.com",
    "yoast.com",
    "wordpress.org/news"
  ],
  "enrichFromWordPressOrg": true,
  "checkRestApi": true,
  "concurrency": 6,
  "maxRows": 1000
}
```

# Actor output Schema

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

Theme, plugins, versions and outdated flags per URL.

## `summary` (type: `string`):

WordPress vs other counts, most common 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 = {
    "urls": [
        "techcrunch.com",
        "yoast.com",
        "wordpress.org/news"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapemint/wordpress-theme-plugin-detector").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 = { "urls": [
        "techcrunch.com",
        "yoast.com",
        "wordpress.org/news",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("scrapemint/wordpress-theme-plugin-detector").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 '{
  "urls": [
    "techcrunch.com",
    "yoast.com",
    "wordpress.org/news"
  ]
}' |
apify call scrapemint/wordpress-theme-plugin-detector --silent --output-dataset

```

## MCP server setup

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

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/jkXfX6BUJiIalgYFH/builds/IGBxsttLIdQV4uNVu/openapi.json
