# WordPress Scraper: Posts, Markdown & Plugins (`slavako/wordpress-posts-plugins-scraper`) Actor

Scrape any WordPress site via REST API to clean Markdown. Extract WordPress.org plugins, active installs, and developer leads. Standby MCP ready.

- **URL**: https://apify.com/slavako/wordpress-posts-plugins-scraper.md
- **Developed by:** [Sviatoslav](https://apify.com/slavako) (community)
- **Categories:** E-commerce, News, Developer tools
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 post or plugin records

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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 Scraper: Posts, Markdown & Plugins

Extract complete content intelligence from **any WordPress website** and the official **WordPress.org Plugin Directory** with zero proxy costs.

Designed for **SEO researchers, content marketers, LLM / RAG pipeline engineers, B2B SaaS founders, and AI agents**.

***

### ⚡ Key Features

#### 📰 Mode 1: Universal WordPress Blog & Article Scraper

- **Universal REST API Integration**: Scrapes posts, pages, categories, and tags from **any** WordPress site exposing `/wp-json/wp/v2/posts` (e.g. `techcrunch.com`, `woocommerce.com`, or any client blog).
- **🤖 Clean Markdown for LLMs & RAG**: Automatically converts article HTML into clean, boilerplate-free Markdown with Turndown (preserving headers, code blocks, lists, and images).
- **👤 Complete Post Metadata**: Extracts author profile names, avatars, URLs, published/modified dates, featured images, and tags.
- **🔍 Full-Text Keyword Filtering**: Target only articles matching specific topics or keywords.

#### 🔌 Mode 2: WordPress.org Plugin Directory & Developer Leads

- **📈 Real-Time Installation & Market Share**: Extracts active installations (e.g. `5,000,000+`), download counts, ratings (0–100 & 5-star equivalent), and review breakdowns.
- **🤝 Support Quality Metrics**: Tracks total support threads and resolution rate percentage (*% threads resolved*).
- **💼 B2B Developer Leads**: Extracts developer author profiles, profile URLs, homepages, and donation links.
- **⚙️ Technical Requirements**: Extracts minimum WordPress version, tested version, and PHP compatibility requirements.

#### 🚀 Architecture & Speed

- **🤖 Apify Standby & MCP Ready**: Query WordPress posts and plugin stats live over HTTP or MCP without restarting containers.
- **💸 100% Zero Proxy & Infrastructure Cost**: Operates purely on high-speed HTTP/JSON (128 MB RAM) with zero residential proxies and zero headless browsers.

***

### 💡 Use Cases

1. **LLM RAG & Knowledge Base Ingestion**: Continuously scrape technical blogs, documentation, and news sites directly into clean Markdown vectors.
2. **SEO & Competitor Content Auditing**: Analyze competitor publishing frequency, top authors, content structures, and category hierarchies.
3. **WordPress Ecosystem Market Research**: Monitor plugin growth trends, active install milestones, and customer satisfaction ratings across the official WordPress plugin store.
4. **B2B Outreach to Plugin Developers**: Discover active WordPress plugin authors and pitch integrations, acquisitions, or developer tools.

***

### 📥 Input Parameters

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | String | `"posts"` | Scraping mode: `"posts"`, `"plugins"`, or `"both"`. |
| `siteUrls` | Array | `["https://developer.wordpress.org/news"]` | List of WordPress website URLs or domains to scrape. |
| `maxPostsPerSite` | Integer | `20` | Maximum number of posts to extract per site. |
| `includeFullContent` | Boolean | `true` | Convert HTML article content into clean Markdown. |
| `searchKeyword` | String | `""` | Optional keyword filter for article titles or text. |
| `pluginSearchQueries` | Array | `[]` | Search queries on WordPress.org (e.g. `["seo", "ecommerce"]`). |
| `pluginSlugs` | Array | `[]` | Direct plugin slugs from `wordpress.org/plugins/{slug}`. |
| `maxPluginsPerQuery` | Integer | `20` | Maximum plugins to extract per search query. |

#### Example Input: Blog Posts & Plugin Market Intelligence

```json
{
  "mode": "both",
  "siteUrls": [
    "https://developer.wordpress.org/news"
  ],
  "maxPostsPerSite": 10,
  "includeFullContent": true,
  "pluginSearchQueries": [
    "seo"
  ],
  "pluginSlugs": [
    "woocommerce"
  ],
  "maxPluginsPerQuery": 5
}
```

***

### 📤 Output Schema

#### 1. WordPress Blog Post Sample

```json
{
  "id": 6437,
  "type": "post",
  "siteDomain": "https://developer.wordpress.org",
  "url": "https://developer.wordpress.org/news/2026/11/whats-new-for-developers-november-2026/",
  "title": "What’s new for developers? (November 2026)",
  "slug": "whats-new-for-developers-november-2026",
  "publishedAt": "2026-11-13T21:08:16",
  "authorName": "WordPress Developer Blog",
  "featuredImageUrl": "https://developer.wordpress.org/news/files/2026/11/header.png",
  "categories": ["Developer News"],
  "tags": ["WordPress 7.1", "Gutenberg", "API"],
  "excerpt": "A roundup of the latest changes in WordPress core, Gutenberg, and developer APIs.",
  "bodyMarkdown": "## Overview\n\nWelcome to the November edition of What's new for developers...",
  "scrapedAt": "2026-11-13T22:20:00.000Z"
}
```

#### 2. WordPress.org Plugin Sample

```json
{
  "id": "woocommerce",
  "type": "plugin",
  "slug": "woocommerce",
  "name": "WooCommerce",
  "version": "11.3.0",
  "authorName": "Automattic",
  "authorProfileUrl": "https://profiles.wordpress.org/automattic/",
  "homepageUrl": "https://woocommerce.com/",
  "downloadUrl": "https://downloads.wordpress.org/plugin/woocommerce.11.3.0.zip",
  "activeInstalls": 7000000,
  "rating": 90,
  "ratingFiveStar": 4.5,
  "reviewsCount": 4832,
  "supportThreads": 130,
  "supportThreadsResolved": 99,
  "supportResolutionRate": 76,
  "requiresWpVersion": "7.0",
  "testedWpVersion": "7.1.4",
  "requiresPhpVersion": "7.4",
  "tags": ["ecommerce", "online-store", "shopping-cart"],
  "shortDescription": "An open-source ecommerce platform built on WordPress.",
  "pluginDirectoryUrl": "https://wordpress.org/plugins/woocommerce/",
  "scrapedAt": "2026-11-13T22:20:00.000Z"
}
```

***

### 💳 Pay-Per-Event (PPE) Pricing

| Event | Price | Description |
|---|---|---|
| **Actor Start** (`apify-actor-start`) | **$0.003** | Run initialization and container allocation. |
| **Record Result** (`apify-default-dataset-item`) | **$0.001** | Post or Plugin item pushed to dataset. |
| **Article Markdown Enriched** (`wp-markdown-enriched`) | **$0.002** | Full HTML body converted to clean Markdown. |
| **Plugin Metrics Enriched** (`wp-plugin-enriched`) | **$0.002** | Active installs, support rate, and developer profile. |

> 🎁 **Free Test Drive**: Free accounts receive up to 15 items per run with zero billing.

***

### 🔌 Apify Standby & MCP Integration

This Actor supports **Apify Standby Mode**. Query WordPress posts and plugins live over HTTP:

- `GET /health`: Service health probe.
- `GET /mcp?site=https://techcrunch.com&limit=10`: Instant articles in clean Markdown.
- `GET /api/plugin?slug=woocommerce`: Instant plugin statistics and installation metrics.

***

### 📜 License

Apache-2.0 License.

# Actor input Schema

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

Choose whether to scrape WordPress site posts, WordPress.org plugins, or both.

## `siteUrls` (type: `array`):

List of WordPress websites or blog URLs to scrape (e.g. 'https://developer.wordpress.org/news', 'https://techcrunch.com', 'woocommerce.com').

## `maxPostsPerSite` (type: `integer`):

Maximum number of posts/articles to extract per WordPress website.

## `includeFullContent` (type: `boolean`):

Converts HTML post bodies into clean, boilerplate-free Markdown optimized for LLM RAG pipelines.

## `searchKeyword` (type: `string`):

Filter posts containing this keyword in the title or content.

## `pluginSearchQueries` (type: `array`):

Search queries for the WordPress.org Plugin Directory (e.g. 'seo', 'ecommerce', 'forms', 'security').

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

Direct plugin slugs from wordpress.org/plugins/{slug} (e.g. 'woocommerce', 'seo-by-rank-math', 'elementor').

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

Maximum number of plugins to extract per search query from WordPress.org.

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

Optional Apify proxy configuration (rarely needed as public WordPress REST APIs work directly).

## Actor input object example

```json
{
  "mode": "posts",
  "siteUrls": [
    "https://developer.wordpress.org/news"
  ],
  "maxPostsPerSite": 20,
  "includeFullContent": true,
  "maxPluginsPerQuery": 20
}
```

# Actor output Schema

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

Extracted WordPress articles, clean Markdown, author profiles, categories, and WordPress.org plugin metrics.

# 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 = {
    "siteUrls": [
        "https://developer.wordpress.org/news"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("slavako/wordpress-posts-plugins-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 = { "siteUrls": ["https://developer.wordpress.org/news"] }

# Run the Actor and wait for it to finish
run = client.actor("slavako/wordpress-posts-plugins-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 '{
  "siteUrls": [
    "https://developer.wordpress.org/news"
  ]
}' |
apify call slavako/wordpress-posts-plugins-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,slavako/wordpress-posts-plugins-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/MeNG2hqzw64RDHkr7/builds/GDCh5qZtqQhrxEYhX/openapi.json
