# Ghost Blog Posts Scraper (`b2b_lead_generation/ghost-blog-posts-scraper`) Actor

Collect Ghost blog posts instantly from any public RSS feed. Extract headlines, full HTML content, authors, categories, and publish dates into clean JSON, CSV, or Excel datasets.

- **URL**: https://apify.com/b2b_lead_generation/ghost-blog-posts-scraper.md
- **Developed by:** [B2B Lead Generation](https://apify.com/b2b_lead_generation) (community)
- **Features:** 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

## Ghost Blog Posts Scraper

![Ghost Blog Posts Scraper cover](https://images.bigibyte.com/cdn-cgi/image/width=1260,height=540,fit=cover,format=webp/apify-actors-covers/ghost-blog-posts-scraper-cover.png)

Collect blog posts from public Ghost publications. Provide one or more blog URLs, optionally filter posts by keyword, and export structured results in JSON, CSV, Excel, or other supported Apify dataset formats.

### What This Actor Extracts

- **Post Titles:** Blog post headlines and publication dates.
- **Post Details:** Post identifiers, links, and summaries.
- **Authors:** Author names associated with posts.
- **Categories:** Categories assigned to blog posts.
- **HTML Content:** Full post content when available.
- **Additional Data:** Enclosure information and source URLs.

Each feed item produces one dataset record. The `contentHtml` field contains HTML content when available.

### Use Cases

- **Content Research:** Collect posts from multiple Ghost publications for research.
- **Keyword Monitoring:** Track articles mentioning specific products, topics, or phrases.
- **Content Archives:** Store post titles, links, summaries, and available content.
- **Monitoring Pipelines:** Integrate collected blog data into dashboards and reporting workflows.

### Input Parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `mode` | string | `list` | Operation mode. Currently supports `list`. |
| `feedUrls` | array | `list` | Blog URLs or feed URLs to collect posts from. |
| `keyword` | string | Empty | Optional keyword filter for matching posts. |
| `maxItems` | integer | `50` | Maximum number of output items. |
| `requestDelaySecs` | number | `1` | Delay between requests in seconds. |

### Example Input

```json
{
  "mode": "list",
  "feedUrls": "list",
  "keyword": "",
  "maxItems": 50,
  "requestDelaySecs": 1
}
```

### Output Example

```json
{
  "itemTitle": "Grasping your growth",
  "pubDate": "Sun, 03 May 2026 10:00:37 GMT",
  "guid": "69ef62eddeea3f0001db4fc9",
  "link": "https://ghost.org/resources/grasping-your-growth/",
  "summaryText": "Growth isn't just about the big number at the end...",
  "creator": "Team Ghost",
  "category": "The Newsletter",
  "enclosure": "",
  "scraped_at": "2026-10-26T00:00:00+00:00"
}
```

### Output Fields

| Field | Type | Description |
|---|---|---|
| `itemTitle` | string | Title of the blog post. |
| `pubDate` | string | Publication date of the post. |
| `guid` | string | Unique identifier associated with the feed item. |
| `link` | string | URL of the original blog post. |
| `summaryText` | string | Post summary or description. |
| `creator` | string | Author or creator name, when available. |
| `category` | string | Category associated with the post. |
| `enclosure` | string | Enclosure information associated with the feed item. |
| `scraped_at` | string | Timestamp indicating when the record was collected. |

### FAQ

#### Which Ghost blogs can I collect posts from?

You can provide public Ghost blog URLs. The actor collects posts from the supplied sources.

#### Can I filter posts by keyword?

Yes. Provide a value in `keyword` to keep matching posts. Leave it empty to collect posts without keyword filtering.

#### Does the actor collect full blog content?

It collects full HTML content when the feed provides it. Otherwise, available post summaries and metadata are returned.

#### Which export formats are supported?

You can export results in JSON, CSV, Excel, and other supported Apify dataset formats.

#### Can I run the actor automatically?

Yes. Apify schedules can run the actor at your preferred intervals to refresh your collected dataset.

### Trademark Notice

Ghost and its related names, logos, and trademarks belong to their respective owners. This actor is an independent tool and does not imply affiliation, sponsorship, endorsement, or partnership with Ghost.

### Disclaimer

This actor is an independent data collection tool. Users are responsible for verifying collected information and ensuring their use complies with applicable laws, content licences, and website policies.

### Is Web Scraping Legal?

This actor collects publicly accessible blog content without bypassing login screens, paywalls, or technical security measures. How collected information can be used depends on applicable laws and each website's policies.

- **Personal Data:** Blog posts may contain author names or other personal information. Handle such data in accordance with applicable privacy laws, including GDPR and CCPA where relevant.
- **Copyright and Licensing:** Blog text, images, and other creative content may be protected by copyright. Avoid unauthorized reproduction or redistribution, and check the applicable licences before reuse.
- **Platform Terms and Rate Limits:** Respect each website's policies, licensing conditions, and request limits.
- **Disclaimer:** This information is general guidance, not legal advice. Consult a qualified legal professional for advice about a specific use case.

[Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/)

# Actor input Schema

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

What to scrape.

## `feedUrls` (type: `array`):

Ghost blog URLs or RSS feed URLs. Blog roots are normalized to /rss/. Defaults to the official Ghost blog feed when empty.

## `keyword` (type: `string`):

Keep only items whose title or summary contain this text (case-insensitive).

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

Stop after this many successful rows. Hard max is 1000.

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

Seconds to wait between requests.

## `userAgent` (type: `string`):

User-Agent header sent with each request.

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

Overall run budget in seconds.

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

Per-request timeout in seconds.

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

Optional proxy. Leave off unless you need it.

## Actor input object example

```json
{
  "mode": "list",
  "feedUrls": [
    "https://blog.codinghorror.com/tag/coding-horror/"
  ],
  "keyword": "",
  "maxItems": 100,
  "requestDelaySecs": 1,
  "userAgent": "ActorResearch/1.0",
  "timeoutSecs": 300,
  "requestTimeoutSecs": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

Dataset rows in the overview table.

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

Full dataset for this run.

## `items` (type: `string`):

Dataset items as JSON.

# 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 = {
    "feedUrls": [
        "https://blog.codinghorror.com/tag/coding-horror/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("b2b_lead_generation/ghost-blog-posts-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 = { "feedUrls": ["https://blog.codinghorror.com/tag/coding-horror/"] }

# Run the Actor and wait for it to finish
run = client.actor("b2b_lead_generation/ghost-blog-posts-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 '{
  "feedUrls": [
    "https://blog.codinghorror.com/tag/coding-horror/"
  ]
}' |
apify call b2b_lead_generation/ghost-blog-posts-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,b2b_lead_generation/ghost-blog-posts-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/spOxkd0vfROgibXtg/builds/MzYefMoubGAaEf01l/openapi.json
