# Medium Tag User Publication Scraper (`kawsar/medium-tag-user-publication-scraper`) Actor

Collect Medium posts by tag, user, or publication via public RSS feeds without a browser. Extract titles, links, dates, and authors into clean JSON, CSV, or Excel.

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

## Medium Tag User Publication Scraper

![Medium Tag/User/Publication Scraper cover](https://images.bigibyte.com/cdn-cgi/image/width=1260,height=540,fit=cover,format=webp/apify-actors-covers/medium-tag-user-publication-scraper-cover.png)

Collect recent Medium posts by topic, author, or publication with Medium Tag/User/Publication Scraper. Choose a collection mode, provide tags, usernames, or publication names, and retrieve structured post information, including titles, links, publishing dates, descriptions, and creator details. Export your results as JSON, CSV, or Excel.

### What This Actor Does

This actor collects publicly available Medium posts and returns one structured dataset record per feed item.

You can collect posts from selected tags, Medium users, or publications. Results include post metadata, descriptions, creator information, and categories when available.

### Collection Modes

- **Tag Feed:** Collect recent posts associated with one or more Medium tags. The default tag is `artificial-intelligence`.
- **User Feed:** Collect recent posts from specified Medium usernames.
- **Publication Feed:** Collect recent posts from specified Medium publication slugs.

### Input Example

```json
{
  "mode": "tagFeed",
  "tags": ["artificial-intelligence"],
  "users": [],
  "publications": [],
  "maxItems": 50,
  "requestDelaySecs": 1
}
```

### Input Parameters

| Parameter | Description |
|---|---|
| `mode` | Collection mode: `tagFeed`, `userFeed`, or `publicationFeed`. |
| `tags` | Array of Medium tags to collect posts from. |
| `users` | Array of Medium usernames to collect posts from. |
| `publications` | Array of Medium publication slugs to collect posts from. |
| `maxItems` | Maximum number of records to collect. |
| `requestDelaySecs` | Delay between requests, in seconds. |

### Output Example

```json
{
  "itemTitle": "AI Agent or Workflow? How to Choose the Right Automation for Your Business",
  "link": "https://medium.com/@sales_95773/ai-agent-or-workflow-how-to-choose-the-right-automation-for-your-business-2da6a99ba5f2?source=rss------artificial_intelligence-5",
  "pubDate": "Mon, 12 Oct 2026 05:08:26 GMT",
  "descriptionHtml": "<div class=\"medium-feed-item\">...</div>",
  "guid": "https://medium.com/p/2da6a99ba5f2",
  "creator": "Nooral.ai - Data & AI Company",
  "category": "artificial-intelligence",
  "scraped_at": "2026-10-26T00:00:00+00:00"
}
```

### Output Fields

| Field | Description |
|---|---|
| `itemTitle` | Title of the Medium post. |
| `link` | URL of the post. |
| `pubDate` | Publication date provided by the feed. |
| `descriptionHtml` | HTML description or content snippet from the feed. |
| `guid` | Unique feed identifier for the post. |
| `creator` | Creator or author information when available. |
| `category` | Associated Medium tag or category when available. |
| `scraped_at` | Timestamp when the record was collected. |

### Use Cases

- **Topic Monitoring:** Track recent Medium articles about artificial intelligence, marketing, technology, and other subjects.
- **Author Monitoring:** Collect recent posts from selected Medium writers.
- **Publication Research:** Build datasets from selected Medium publications.
- **Content Discovery:** Find relevant articles for reading lists, research, and content planning.
- **Research Pipelines:** Send structured post records into dashboards, reporting tools, or monitoring workflows.

### FAQ

**What collection modes are available?**

You can collect posts by Medium tag, user, or publication using `tagFeed`, `userFeed`, and `publicationFeed`.

**Can I collect posts from multiple tags or users?**

Yes. Provide multiple entries in the corresponding `tags`, `users`, or `publications` arrays.

**How recent are the collected posts?**

The actor retrieves recent items available in the selected Medium feeds. The number of available posts depends on the feed.

**What information does each result contain?**

Results can include the post title, URL, publication date, description HTML, GUID, creator, category, and source feed URL.

**Can I export the results?**

Yes. Apify supports exporting dataset records as JSON, CSV, Excel, and other available formats.

**Can I schedule recurring collections?**

Yes. Configure an Apify schedule to collect updated Medium posts automatically at your preferred intervals.

### Trademark Notice

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

### Is Web Scraping Legal?

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

- **Personal Data:** Post records may include author names, usernames, and other information that could identify individuals. Follow applicable privacy laws, including GDPR and CCPA where relevant.
- **Copyright and Licensing:** Medium articles, descriptions, images, and other creative content may be protected by copyright. Check applicable licences and obtain permission before reproducing or redistributing protected content.
- **Platform Terms and Rate Limits:** Respect Medium's policies, usage conditions, attribution requirements, and reasonable request practices.
- **Disclaimer:** This information is general guidance, not legal advice. Consult a qualified professional about your intended use.

For more information, read Apify's guide: [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/)

# Actor input Schema

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

Which Medium RSS feed type to scrape.

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

Tag slugs for tagFeed (e.g. artificial-intelligence).

## `users` (type: `array`):

Medium usernames for userFeed (with or without @).

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

Publication slugs for publicationFeed.

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

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

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

Seconds to wait between requests. Raise if you see 429.

## `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": "tagFeed",
  "tags": [
    "artificial-intelligence"
  ],
  "users": [],
  "publications": [],
  "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 = {
    "users": [],
    "publications": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("kawsar/medium-tag-user-publication-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 = {
    "users": [],
    "publications": [],
}

# Run the Actor and wait for it to finish
run = client.actor("kawsar/medium-tag-user-publication-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 '{
  "users": [],
  "publications": []
}' |
apify call kawsar/medium-tag-user-publication-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,kawsar/medium-tag-user-publication-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/xYlfNy9Gxt9TJTQ63/builds/ENeGpknWFdp9aCgFW/openapi.json
