# Scrape WordPress sites through their REST API

> Get blog posts, media, categories or comments from one or more WordPress websites, with the HTML cleaned to plain text and every field the post carries, as JSON.

Who it is for: Content teams, SEO specialists and developers migrating, auditing or analysing WordPress content.

## What you get

- **Four modes**: Scrape `posts`, `media`, `categories` or `comments`.
- **Clean content**: Post HTML cleaned to plain text, with title, author, publication date, tags, categories and media links.
- **All post data**: Next to the cleaned fields, all raw post data the API returns.

## How it works

1. Put the websites in `start_urls` and choose the `scrape_mode`.
2. Set `max_results` per site, or all for every post, and start the run.

## Use cases

- Migrating a WordPress blog to another platform.
- A content audit across several company blogs.
- Collecting competitor blog posts for analysis.

## Pricing


Free Actor: you pay only for your Apify platform usage.

## Limits

- Only works on WordPress sites that accept REST API calls.

## Questions

### What does it cost?

It is a free Actor: you pay only for your Apify platform usage.

### Can I scrape several sites at once?

Yes. Put them all in `start_urls`.

### Why do I get nothing from a site?

The site probably blocks REST API calls; the scraper only works when the API is open.

Scrape WordPress content: https://apify.com/eloquent_mountain/wordpress-post-scraper---new?utm_source=actors.taskmastergpt.nl&utm_medium=llms&utm_campaign=wordpress-post-scraper---new
