# Medium User RSS Posts Scraper (`w3crawler/medium-user-posts-scraper`) Actor

Reads public Medium user RSS feeds with bounded direct HTTP requests. Records include article identity, author and publication data, feed-provided content, headings, media, links, tags, timestamps, provenance, and truthful diagnostics.

- **URL**: https://apify.com/w3crawler/medium-user-posts-scraper.md
- **Developed by:** [w3crawler](https://apify.com/w3crawler) (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 user posts

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

## Medium User RSS Posts Scraper

Collect the public posts of one or more Medium users from their Medium RSS feeds. Each saved row contains post identity and URL, title, author, tags, publication dates, RSS content, headings, images, links, counts, and feed provenance. The Actor uses direct HTTP requests and Cheerio; it does not launch a browser, configure a proxy, or open protected article pages.

### Get started

1. Open the [Actor Store page](https://apify.com/w3crawler/medium-user-posts-scraper) and select **Try for free**, or open the **Input** tab.
2. Enter one `username` (the default is `karpathy`) or a `usernames` list.
3. Keep `maxItems` small for the first run; the limit is shared across users.
4. Start the Actor, open the dataset, and export the rows as JSON, CSV, or Excel. Open **Run summary** (`OUTPUT_SUMMARY`) to check the feed outcome.

### Input

All fields are optional. `usernames` replaces `username` when supplied. Unsupported fields and out-of-range values are rejected before requests start.

| Field | Type | Required? | Default | Meaning |
| --- | --- | --- | --- | --- |
| `username` | string | Optional | `karpathy` | One Medium username with an optional `@`, used when `usernames` is absent. |
| `usernames` | string array | Optional | Not supplied | Multiple usernames; replaces `username` and divides `maxItems` across users. |
| `maxItems` | integer | Optional | `10` | Maximum unique post rows across all users, 1–200. |
| `timeoutMs` | integer | Optional | `30000` | Per-feed request timeout, 1,000–120,000 ms. |
| `requestDelayMs` | integer | Optional | `500` | Delay between feed requests, 250–10,000 ms. |
| `maxResponseBytes` | integer | Optional | `5000000` | Maximum RSS response size accepted, 100,000–10,000,000 bytes. |
| `retries` | integer | Optional | `1` | Retries for transient HTTP and network errors, 0–3. |

Default input:

```json
{
  "username": "karpathy",
  "maxItems": 10,
  "timeoutMs": 30000,
  "requestDelayMs": 500,
  "maxResponseBytes": 5000000,
  "retries": 1
}
```

Each user is read from `https://medium.com/feed/@<username>`. The Actor does not use a browser, proxy, login, or article-page navigation.

### Output

The dataset contains one row per unique post. RSS supplies an excerpt, not the full article body, so content fields are labeled accordingly. Missing optional fields are omitted rather than inferred.

| Field | Type | Availability | Meaning |
| --- | --- | --- | --- |
| `recordId` | string | Always | Stable identifier for the user/post record. |
| `recordType` | string | Always | Record type; `mediumUserPost`. |
| `source` | string | Always | Source label; `Medium public user RSS feeds`. |
| `provenance` | string | Always | Extraction provenance; `medium_user_rss_v1` in the saved run. |
| `sourceUrl` | string | Always | Feed URL used for the request. |
| `userPostRank` | integer | Always | One-based position within the user's feed. |
| `articleId` | string | Always | Medium post identifier. |
| `articleTitle` | string | Always | Post title. |
| `articleUrl` | string | Always | Post URL. |
| `articleDomain` | string | Always | Host of the post URL. |
| `rssGuid` | string | Always | RSS GUID. |
| `authorName` | string | Always | Author display name. |
| `authorUsername` | string | Always | Author username. |
| `authorProfileUrl` | string | Always | Author profile URL. |
| `authorSubdomainUrl` | string | When published | Author subdomain URL when exposed. |
| `authorAvatarUrl` | string | Always | Author avatar URL. |
| `publicationSlug` | string | When published | Publication slug when the post belongs to a publication. |
| `publicationName` | string | When published | Publication name when exposed. |
| `publicationUrl` | string | When published | Publication URL when exposed. |
| `tags` | string array | Always | Tag slugs from RSS categories. |
| `tagCount` | integer | Always | Number of tags. |
| `publishedAt` | string | Always | Publication time in ISO UTC. |
| `updatedAt` | string | Always | Update time in ISO UTC. |
| `contentHtml` | string | Always | RSS content HTML; full feed content for this user, but some feeds publish only an excerpt. |
| `contentText` | string | Always | Plain-text form of the RSS content. |
| `contentExcerpt` | string | Always | First 500 characters of the RSS content. |
| `contentCharacterCount` | integer | Always | Content character count. |
| `contentWordCount` | integer | Always | Content word count. |
| `estimatedReadMinutes` | integer | Always | Estimate derived from the RSS content length. |
| `paragraphCount` | integer | Always | Paragraphs counted in the content. |
| `headingCount` | integer | Always | Headings counted in the content. |
| `headings` | string array | Always | Heading texts found in the content. |
| `listItemCount` | integer | Always | List items counted. |
| `blockquoteCount` | integer | Always | Blockquotes counted. |
| `codeBlockCount` | integer | Always | Code blocks counted. |
| `images` | object array | When published | Image objects with `imageUrl`; present for two of three saved rows. |
| `imageUrls` | string array | When published | Image URLs as strings; present for two of three saved rows. |
| `imageCount` | integer | Always | Number of unique images. |
| `links` | object array | Always | Link objects with `linkText`, `linkUrl`, and `isExternal`. |
| `linkUrls` | string array | Always | Link URLs. |
| `linkCount` | integer | Always | Number of links. |
| `externalLinkCount` | integer | Always | Links outside the article domain. |
| `feedTitle` | string | Always | RSS channel title. |
| `feedDescription` | string | Always | RSS channel description. |
| `feedUrl` | string | Always | User feed URL. |
| `feedPageUrl` | string | Always | Public user page for the feed. |
| `feedLastBuildAt` | string | Always | Channel build time in ISO UTC. |
| `scrapedAt` | string | Always | Time the row was saved, in ISO UTC. |
| `url` | string | When published | Compatibility alias of `articleUrl` when supplied; absent in the saved run. |
| `contentCompleteness` | string | Always | Content marker; `rss_feed_content` in the saved run, or `rss_excerpt` when the feed publishes only a snippet. |
| `actorName` | string | When published | Actor display name when supplied. |
| `actorSlug` | string | When published | Actor slug when supplied. |
| `targetHint` | string | When published | Target description when supplied. |
| `accessPolicy` | string | When published | Access-policy note when supplied. |
| `generatedBy` | string | When published | Generator metadata when supplied. |
| `sourceWebsite` | string | When published | Source website when supplied. |
| `sourceDomain` | string | When published | Source domain when supplied. |
| `sourceTransport` | string | When published | Transport label when supplied. |
| `sourceHttpStatus` | integer | When published | Source HTTP status when supplied. |
| `httpStatus` | integer | When published | HTTP status when supplied. |
| `apiHttpStatus` | integer | When published | API HTTP status when supplied. |
| `jobsHttpStatus` | integer | When published | Jobs endpoint status when supplied. |
| `requestAttempts` | integer | When published | Attempts for the record request when supplied. |
| `totalRequestAttempts` | integer | When published | Run-level attempts when supplied. |
| `responseBytes` | number | When published | Response size when supplied. |
| `proxyConfigured` | boolean | When published | Whether a proxy was configured when supplied. |
| `proxyUsed` | boolean | When published | Whether a proxy was used when supplied. |
| `fingerprintApplied` | boolean | When published | Browser fingerprint flag when supplied. |
| `browserFingerprinting` | boolean | When published | Browser-fingerprinting flag when supplied. |
| `headlessBrowser` | boolean | When published | Headless-browser flag when supplied. |
| `requestUserAgent` | string | When published | User agent when supplied. |
| `extractionMethod` | string | When published | Extraction method when supplied. |
| `scrapeMode` | string | When published | Scrape mode when supplied. |
| `rawRecord` | object | When published | Raw record payload when supplied. |
| `rawPost` | object | When published | Raw post payload when supplied. |
| `rawPublication` | object | When published | Raw publication payload when supplied. |
| `rawUser` | object | When published | Raw user payload when supplied. |

The example below is a real saved row from the 2026-10-25 run. `contentHtml` is shortened; `contentText`, `contentExcerpt`, and long arrays are omitted for readability.

```json
{
  "recordId": "medium_user_post_cfa269e9907acdb2072f1716",
  "recordType": "mediumUserPost",
  "source": "Medium public user RSS feeds",
  "provenance": "medium_user_rss_v1",
  "sourceUrl": "https://medium.com/feed/@karpathy",
  "userPostRank": 1,
  "articleId": "a64152b37c35",
  "articleTitle": "Software 2.0",
  "articleUrl": "https://karpathy.medium.com/software-2-0-a64152b37c35",
  "articleDomain": "karpathy.medium.com",
  "rssGuid": "https://medium.com/p/a64152b37c35",
  "authorName": "Andrej Karpathy",
  "authorUsername": "karpathy",
  "authorProfileUrl": "https://medium.com/@karpathy",
  "authorAvatarUrl": "https://cdn-images-1.medium.com/fit/c/150/150/0*8ldFdx9B6FhSkQmV.jpeg",
  "tags": ["programming", "software-development", "artificial-intelligence", "future", "machine-learning"],
  "tagCount": 5,
  "publishedAt": "2017-11-11T22:18:53.000Z",
  "updatedAt": "2021-03-13T18:18:43.264Z",
  "contentHtml": "<p>I sometimes see people refer to neural networks as just “another tool in your machine learning toolbox”. They have some pros and cons, they work here or there, and sometimes you can use them to win Kaggle competitions.…",
  "contentCharacterCount": 13122,
  "contentWordCount": 2127,
  "contentCompleteness": "rss_feed_content",
  "estimatedReadMinutes": 11,
  "paragraphCount": 32,
  "headingCount": 4,
  "listItemCount": 0,
  "blockquoteCount": 0,
  "codeBlockCount": 0,
  "imageCount": 4,
  "linkCount": 15,
  "externalLinkCount": 15,
  "feedTitle": "Stories by Andrej Karpathy on Medium",
  "feedDescription": "Stories by Andrej Karpathy on Medium",
  "feedUrl": "https://medium.com/feed/@karpathy",
  "feedPageUrl": "https://medium.com/@karpathy",
  "feedLastBuildAt": "2026-10-25T21:00:32.000Z",
  "scrapedAt": "2026-10-25T21:13:51.180Z"
}
```

### Run summary

**Run summary** is stored separately from the dataset in the run's key-value store under `OUTPUT_SUMMARY`.

| Field | Meaning |
| --- | --- |
| `recordId` | Stable summary identifier. |
| `recordType` | Summary type, `run-summary`. |
| `status` | Actor outcome: `SUCCEEDED` or `FAILED`. |
| `actorStatus` | Actor-level status. |
| `accessStatus` | Access outcome. |
| `found` | Whether the user's feed was found. |
| `dataAvailable` | Whether rows were saved. |
| `source` | Source label. |
| `provenance` | Extraction provenance. |
| `accessPolicy` | Access boundary used for the run. |
| `actorName` | Actor display name. |
| `actorSlug` | Actor slug. |
| `targetHint` | Target description. |
| `generatedBy` | Generator metadata. |
| `sourceUrl` | Feed URL used. |
| `sourceWebsite` | Medium website URL. |
| `startedAt` | Start time in ISO UTC. |
| `finishedAt` | Summary write time in ISO UTC. |
| `durationMs` | Duration in milliseconds. |
| `itemCount` | Items saved. |
| `itemsStored` | Items written. |
| `totalDatasetItems` | Total dataset count. |
| `postRecords` | Post rows produced. |
| `diagnosticsStored` | Diagnostic entries written. |
| `diagnosticCount` | Issues recorded. |
| `feedPagesVisited` | Feed pages requested. |
| `requestCount` | Requests made. |
| `requestsAttempted` | Total attempts. |
| `successfulRequests` | Successful requests. |
| `failedRequests` | Failed requests. |
| `failedRequestCount` | Failed request count. |
| `totalAttempts` | Attempts including retries. |
| `recordsParsed` | Feed items parsed. |
| `duplicateRecords` | Duplicates removed. |
| `usernamesRequested` | Unique users requested. |
| `feedUrls` | Feeds used. |
| `visitedUrls` | URLs visited. |
| `filters` | Effective input values. |
| `scrapedAt` | Summary timestamp in ISO UTC. |
| `datasetWriteFailureCount` | Dataset write failures. |
| `optionalFailureCount` | Non-fatal failures. |
| `dataStatus` | `COMPLETE`, `PARTIAL`, `NO_RESULTS`, or `FAILED`. |
| `runStatus` | Canonical run status. |
| `errors` | Bounded error entries. |

| Status | Data status | Meaning |
| --- | --- | --- |
| `SUCCEEDED` | `COMPLETE` | Post rows were saved without an extraction or write problem. |
| `SUCCEEDED` | `PARTIAL` | Posts were saved, but an optional compatibility write failed. |
| `SUCCEEDED` | `NO_RESULTS` | The user feed was read but contained no posts. |
| `FAILED` | `FAILED` | A fatal error prevented any usable row from being saved. |

Example `OUTPUT_SUMMARY` from the saved 2026-10-25 run:

```json
{
  "recordId": "medium_user_posts_run_summary",
  "recordType": "run-summary",
  "status": "SUCCEEDED",
  "actorStatus": "SUCCEEDED",
  "accessStatus": "PARTIAL",
  "found": true,
  "dataAvailable": true,
  "source": "Medium public user RSS feeds",
  "provenance": "medium_user_rss_v1",
  "accessPolicy": "Public Medium RSS feeds only; no login, protected-profile navigation, proxy, paywall, CAPTCHA, or access-control bypass.",
  "actorName": "Medium User RSS Posts Scraper",
  "actorSlug": "medium-user-posts-scraper",
  "targetHint": "Public Medium user RSS feeds",
  "generatedBy": "OpenAI Codex with GPT-6",
  "sourceUrl": "https://medium.com/",
  "sourceWebsite": "https://medium.com/",
  "startedAt": "2026-10-25T21:13:50.836Z",
  "finishedAt": "2026-10-25T21:13:51.271Z",
  "durationMs": 435,
  "itemCount": 3,
  "itemsStored": 3,
  "totalDatasetItems": 3,
  "postRecords": 3,
  "diagnosticsStored": 0,
  "diagnosticCount": 0,
  "feedPagesVisited": 1,
  "requestCount": 1,
  "requestsAttempted": 1,
  "successfulRequests": 1,
  "failedRequests": 0,
  "failedRequestCount": 0,
  "totalAttempts": 1,
  "recordsParsed": 3,
  "duplicateRecords": 0,
  "usernamesRequested": 1,
  "feedUrls": ["https://medium.com/feed/@karpathy"],
  "visitedUrls": ["https://medium.com/feed/@karpathy"],
  "filters": {
    "username": "karpathy",
    "usernames": ["karpathy"],
    "maxItems": 3,
    "timeoutMs": 30000,
    "requestDelayMs": 500,
    "maxResponseBytes": 5000000,
    "retries": 1
  },
  "scrapedAt": "2026-10-25T21:13:51.271Z",
  "datasetWriteFailureCount": 0,
  "optionalFailureCount": 1,
  "dataStatus": "PARTIAL",
  "runStatus": "SUCCEEDED",
  "errors": [
    {
      "code": "OUTPUT_WRITE_FAILED",
      "message": "Schema validation failed: must be equal to constant"
    }
  ]
}
```

### Coverage and limitations

The saved run read `https://medium.com/feed/@karpathy` and stored three posts. The summary is `PARTIAL` because the optional compatibility `OUTPUT` key failed schema validation, not because the feed failed; the dataset and `OUTPUT_SUMMARY` contain all three rows. Version 1.1.1 fixes that historical cause: the `OUTPUT` compatibility alias is now written with the `recordType: "runSummary"` value declared in the key-value store schema, while `OUTPUT_SUMMARY` keeps `recordType: "run-summary"`, so clean runs are no longer downgraded to `PARTIAL`.

Medium user RSS is a recent-post feed, not a complete archive. The saved example is a 2017 post that Medium still includes in the feed, but older posts can disappear and pinned or draft content is not exposed. This user's feed contained full article HTML, so `contentCompleteness` is `rss_feed_content`; other users may receive `rss_excerpt` with only a snippet. Publication fields and some image arrays may be absent. The Actor does not use a browser or proxy, open protected pages, or recover posts that Medium no longer publishes in the feed.

### Usage and support

Cost is low and driven by Apify compute plus one or more feed requests and retries. Start with the default user and `maxItems: 3`–`10`, verify the feed in the summary, then add users or raise the limit. See the Actor's Pricing tab for current rates.

Use the [Actor Issues page](https://apify.com/w3crawler/medium-user-posts-scraper/issues) to report a problem. Include the run ID, input, and summary; do not include tokens, cookies, or private data. This Actor is not affiliated with Medium. Use it only for public data and in accordance with Medium's terms, robots guidance, and applicable law.

# Changelog

This Actor's version history is a separate document: https://apify.com/w3crawler/medium-user-posts-scraper/changelog.md

# Actor input Schema

## `username` (type: `string`):

One username with an optional leading @. Used when usernames is not supplied.

## `usernames` (type: `array`):

Optional list of usernames. When supplied, it replaces username and maxItems is distributed fairly across users.

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

Maximum total unique post records across all requested users.

## `timeoutMs` (type: `integer`):

Maximum time allowed for each public RSS request.

## `requestDelayMs` (type: `integer`):

Delay between feed requests.

## `maxResponseBytes` (type: `integer`):

Maximum RSS response size accepted before the request is marked failed.

## `retries` (type: `integer`):

Retries for transient HTTP and network errors.

## Actor input object example

```json
{
  "username": "karpathy",
  "maxItems": 10,
  "timeoutMs": 30000,
  "requestDelayMs": 500,
  "maxResponseBytes": 5000000,
  "retries": 1
}
```

# Actor output Schema

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

Post records and truthful access or parsing diagnostics.

## `runSummary` (type: `string`):

Run status and counters stored by the Actor.

## `output` (type: `string`):

No description

## `sourceMetadata` (type: `string`):

No description

# 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 = {
    "username": "karpathy"
};

// Run the Actor and wait for it to finish
const run = await client.actor("w3crawler/medium-user-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 = { "username": "karpathy" }

# Run the Actor and wait for it to finish
run = client.actor("w3crawler/medium-user-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 '{
  "username": "karpathy"
}' |
apify call w3crawler/medium-user-posts-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,w3crawler/medium-user-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/mZDez2af4tTElLM5L/builds/2yYcOjM8oKxUKVQ2N/openapi.json
