# Medium Articles Scraper (`piotrv1001/medium-articles-scraper`) Actor

Medium Articles Scraper exports Medium articles from keyword search, tags, authors and publications: title, subtitle, author, publication, date, claps, responses, reading time, tags, member-only flag and optional full text. Ideal for content research, trend tracking and AI datasets.

- **URL**: https://apify.com/piotrv1001/medium-articles-scraper.md
- **Developed by:** [FalconScrape](https://apify.com/piotrv1001) (community)
- **Categories:** News, Social media, AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 articles

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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 Articles Scraper: Search, Tags, Authors and Publications

Export **Medium articles** as clean JSON, CSV or Excel. The **Medium Articles Scraper** searches Medium by keyword or lists the newest articles from tags, authors and publications, and returns each article's title, subtitle, author, publication, publish date, claps, responses, reading time, tags and member-only flag. Turn on full text to get the article body too. Use it as a simple Medium API for content research, trend tracking and building article datasets.

### 🎯 Use Cases

- **Medium articles research**: search Medium for any topic ("artificial intelligence", "python pandas", "product management") and get up to about 1,000 matching articles per search.
- **Medium tags monitoring**: list the newest articles in a tag every day and see what gets published and which posts collect claps.
- **Medium publications tracking**: follow publications such as Better Programming or the Netflix TechBlog and export every new article.
- **Medium stats for authors**: pull an author's articles with claps, responses and reading time to compare what performs best.
- **Medium data for AI and NLP**: collect article text with tags and dates to build training, RAG or classification datasets.
- **A Medium RSS feed alternative**: get far more than the 10 latest items an RSS feed shows, with claps and responses that RSS does not include.

### ✨ Features

- **Four ways in**: keyword search, tags (newest first), authors and publications, freely combined in one run.
- **Engagement numbers**: claps, responses, author follower count, reading time and word count as numbers.
- **Publication and tags**: the publication name and URL, and up to 5 topic tags per article.
- **Member-only flag**: `isMemberOnly` tells you which articles sit behind Medium's paywall.
- **Optional full text**: the article body as plain text, billed only for articles whose full text came back.
- **Flexible input**: usernames, `@handles`, profile URLs, tag URLs, publication slugs, publication URLs, custom publication domains and pasted Medium search URLs all work.
- **No duplicates**: an article found by two searches, a tag and an author is saved and billed once.

### 🛠️ How It Works

1. **Enter search queries**, or add authors, publications or tags.
2. **Set Max articles** (default 50) and switch on **Include full text** if you need the body.
3. **Run the scraper** and download the results, or pull them through the API.

### ⚙️ Input

| Field                 | What it does                                                                                        |
| --------------------- | --------------------------------------------------------------------------------------------------- |
| **Search queries**    | Keywords to search Medium articles for. About 1,000 articles per search.                            |
| **Authors**           | Usernames (`karpathy`, `@karpathy`) or profile URLs. Articles come newest first.                    |
| **Publications**      | Slugs (`better-programming`), publication URLs or custom domains (`netflixtechblog.com`).           |
| **Tags**              | Tag names or URLs (`machine-learning`, `https://medium.com/tag/javascript`). Newest articles first. |
| **Include full text** | Adds the article body as plain text. Off by default.                                                |
| **Max articles**      | Total articles to save across all inputs. Default 50.                                               |

```json
{
    "queries": ["artificial intelligence"],
    "authors": ["karpathy"],
    "publications": ["netflixtechblog.com"],
    "tags": ["machine-learning"],
    "includeFullText": false,
    "maxItems": 200
}
```

With no input at all, the scraper searches for "artificial intelligence" and saves 50 articles.

### 💰 Pricing

Pay only for the articles you get. No monthly rental.

| Event           | Price                                | What you get                                                            |
| --------------- | ------------------------------------ | ----------------------------------------------------------------------- |
| **Article**     | $0.002 per article ($2.00 per 1,000) | One article with all metadata fields                                    |
| **Full text**   | $0.002 per article ($2.00 per 1,000) | The full article body, only when you turn on full text and it came back |
| **Actor start** | $0.00005 per run                     | Charged once when the run starts.                                       |

Examples:

- 50 articles without full text = $0.10 + $0.00005.
- 1,000 articles without full text = $2.00.
- 1,000 articles with full text, of which 400 are open articles = $2.00 + $0.80 = $2.80. Member-only articles return only their free preview, which is included at no extra charge.

### 📊 Sample Output Data

```json
{
    "id": "6b0811a1c015",
    "title": "Making Failure Diagnosis Reliable with Pensive AI",
    "subtitle": "By Praneeth Yenugutala, Victor Dusa, Anastasia Samoilova, Megan Ren, Justin Wei, Marcelo Mayworm",
    "url": "https://netflixtechblog.com/making-failure-diagnosis-reliable-with-pensive-ai-6b0811a1c015",
    "authorName": "Netflix Technology Blog",
    "authorUsername": "netflixtechblog",
    "authorUrl": "https://medium.com/@netflixtechblog",
    "authorFollowers": 487113,
    "publicationName": "Netflix TechBlog",
    "publicationUrl": "https://netflixtechblog.com",
    "publishedAt": "2026-10-26T16:01:02.156Z",
    "updatedAt": "2026-10-26T17:04:58.324Z",
    "claps": 256,
    "responses": 13,
    "readingTimeMinutes": 14,
    "wordCount": 3426,
    "language": "en",
    "tags": ["Pensive", "Maestro", "Orchestration", "Data Engineering", "Data Science"],
    "isMemberOnly": false,
    "imageUrl": "https://miro.medium.com/v2/resize:fit:1200/1*2TSVpCdPYj4fMMlFPuheCg.png",
    "source": "publication",
    "sourceValue": "netflixtechblog.com",
    "fullText": "Making Failure Diagnosis Reliable with Pensive AI\n\nBy Praneeth Yenugutala, Victor Dusa, ...\n\nAt Netflix, data and machine learning practitioners...",
    "fullTextIsPreview": false
}
```

`subtitle` is the preview line Medium shows under the title. `source` and `sourceValue` tell you which search, author, publication or tag found the article. `fullText` and `fullTextIsPreview` appear only with full text on; `fullTextIsPreview: true` means a member-only article, where only the free preview is public.

### 🔁 Schedule and Integrate

To monitor a topic, run it **once a day** with your tags, authors or publications: they list the newest articles first, so each run picks up what was published since the last one. Set it up in Apify **Schedules**. Send the results to **Google Sheets**, **Zapier**, **Make**, **n8n** or a webhook with Apify **integrations**, so new Medium articles land where your team already works.

### 🤖 Use with AI Agents (MCP)

This Actor works as a tool in Claude, ChatGPT, Cursor and other MCP clients through the Apify MCP server (`https://mcp.apify.com`). An agent can call it with:

```json
{ "queries": ["vector databases"], "maxItems": 20 }
```

### ❓ FAQ

**Does Medium have an official API?** Medium's official API was built for publishing posts to your own account and does not offer search, tag feeds or other writers' stats. This Actor needs no API key or account and returns public article data with claps, responses, tags and dates.

**How many Medium articles can I get per search?** Medium shows about 1,000 articles per search query. The run says so in its status when a search reaches that limit. Use narrower queries or tags to get more; tag, author and publication feeds go much deeper.

**Can I get the full text of member-only articles?** No. For member-only articles only the free preview is public, so `fullText` holds that preview, `fullTextIsPreview` is `true`, and the full-text charge is not applied.

**Do I need a Medium account?** No.

**Why is a field empty?** `publicationName` is empty for articles that are not in a publication, and `imageUrl` for articles without a cover image.

**How do I export Medium articles to a spreadsheet?** Run the Actor and download the dataset as CSV or Excel, or connect Google Sheets in Apify integrations.

### 🔗 Related Scrapers

- [Substack Scraper](https://apify.com/piotrv1001/substack-scraper): newsletter posts from Substack, the other big writing platform.
- [Quora Scraper](https://apify.com/piotrv1001/quora-answers-scraper): answers and profiles for the same topics you research on Medium.
- [Reddit Search Scraper](https://apify.com/piotrv1001/reddit-search-scraper): Reddit posts by keyword, to see where articles get discussed.
- [Google News Scraper](https://apify.com/piotrv1001/google-news-scraper): news articles by keyword and date for wider topic monitoring.
- [YouTube Transcript Scraper](https://apify.com/piotrv1001/youtube-transcript-scraper): video transcripts as text, to pair with article text in AI datasets.

# Actor input Schema

## `queries` (type: `array`):

Keywords to search Medium articles for, e.g. "artificial intelligence" or "python pandas". Medium shows about 1,000 articles per search.

## `authors` (type: `array`):

Medium writers whose articles you want, newest first. Use a username (karpathy, @karpathy) or a profile URL (https://medium.com/@karpathy or https://karpathy.medium.com).

## `publications` (type: `array`):

Medium publications to list articles from, newest first. Use the slug (towards-data-science), the URL (https://medium.com/better-programming) or a custom domain (netflixtechblog.com).

## `tags` (type: `array`):

Medium topics to list the newest articles from, e.g. "machine-learning", "Startup" or https://medium.com/tag/javascript.

## `includeFullText` (type: `boolean`):

Add the article body as plain text. Billed per article whose full text came back. Member-only articles return only their free preview, which is included without the full-text charge.

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

Stop after this many articles in total, across all queries, authors and tags. Your maximum charge per run also caps the run.

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

The default setting works best for this site; change it only if your runs fail.

## Actor input object example

```json
{
  "queries": [
    "artificial intelligence"
  ],
  "includeFullText": false,
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

No description

## `results` (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 = {
    "queries": [
        "artificial intelligence"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("piotrv1001/medium-articles-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 = {
    "queries": ["artificial intelligence"],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("piotrv1001/medium-articles-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 '{
  "queries": [
    "artificial intelligence"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call piotrv1001/medium-articles-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,piotrv1001/medium-articles-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/cYcj5XrOX8MKb0cD8/builds/I4FVPbxC4HJFrSqgB/openapi.json
