Medium Scraper: Articles, Full Text, Authors & Publications avatar

Medium Scraper: Articles, Full Text, Authors & Publications

Pricing

from $3.00 / 1,000 articles

Go to Apify Store
Medium Scraper: Articles, Full Text, Authors & Publications

Medium Scraper: Articles, Full Text, Authors & Publications

Scrape Medium articles from tags, authors, publications (custom domains too), search or URLs: claps, clappers, responses, word count, reading time, author and publication followers, and the full text as Markdown. Date and clap filters; only new articles on a schedule. No login, $3 per 1,000.

Pricing

from $3.00 / 1,000 articles

Rating

0.0

(0)

Developer

Spyridon Pikoulas

Spyridon Pikoulas

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

2

Monthly active users

4 days ago

Last modified

Features

Limited permissions

Share

Medium Scraper

Get Medium articles, with their stats, their author's and publication's audience, and optionally their full text, from any of five sources:

  • Tags: every article in a tag, newest first, as far back as you ask; its most-read of all time; or its most-read of a given month or year.
  • Authors: everything a writer has published.
  • Publications: a publication's articles, including ones on custom domains such as betterprogramming.pub.
  • Search: the same results as Medium's own search.
  • Article URLs: specific articles.

Or paste any mix of those as Medium URLs: each link is read as what it is.

For each article you get the title, subtitle, URL and canonical URL, publish and update dates, claps and the number of readers who clapped, responses, reading time, word count, language, tags, whether it is member-only, the cover image, the author's followers, bio and X handle, the publication's followers, the claps per 1,000 followers (an article that outdid its author's audience) and, if you ask for it, the text as Markdown (bold, links, lists, images and code blocks kept), as plain text and as HTML.

Every run also leaves its authors as one list, free, the most clapped first (the AUTHORS record in its key-value store): followers, bio, X handle, how many of the run's articles are theirs, total and median claps, responses, the publications they wrote for and their top article.

Filter by publish date (a date, or "1 day", "6 months"), minimum claps, language, or free articles only. Newest-first sources stop reading at the date you give, so a daily run on a busy tag reads only what is new.

Turn on New articles only and a scheduled run gives, and charges for, only the articles no earlier run gave: tags, authors and publications stop where the last run reached, and an article that turns up again in a search is left out.

It reads Medium's own data API, so it needs no browser and no login, and it is fast: 800 articles with full text in under two minutes. It costs $3 per 1,000 articles, full text included.

What people use it for

  • Content research: find the most-clapped articles in a tag, month by month, and what length and angle they take.
  • Monitoring: a daily schedule on a set of tags, authors or publications with New articles only on, so each run gives what was published since the last one.
  • AI and RAG datasets: article text by topic, in one language, free articles only.
  • Writer discovery: who publishes on your topic, with followers, median claps and best article, from the AUTHORS list.
  • Moving or archiving a blog: all of an author's or publication's articles as HTML or Markdown.

How to scrape Medium

  1. Click Try for free; Apify's free plan covers a first run.
  2. Paste Medium URLs, or fill in one or more of Tags, Authors, Publications, Search queries and Article URLs, set Max articles per source, and turn on Include full text if you need the body.
  3. Click Start, then download the results as JSON, CSV, Excel or HTML, or read them through the API.

An input with more options:

{
"tags": ["python", "artificial-intelligence"],
"authors": ["@karpathy"],
"publications": ["towards-data-science"],
"maxArticlesPerSource": 500,
"maxItems": 2000,
"publishedAfter": "30 days",
"minClaps": 10,
"language": "en",
"includeContent": true
}

Output

{
"id": "a64152b37c35",
"title": "Software 2.0",
"subtitle": "I sometimes see people refer to neural networks as just “another tool in your machine learning toolbox”…",
"url": "https://karpathy.medium.com/software-2-0-a64152b37c35",
"canonicalUrl": "https://karpathy.medium.com/software-2-0-a64152b37c35",
"author": "Andrej Karpathy",
"authorUsername": "karpathy",
"authorUrl": "https://medium.com/@karpathy",
"authorFollowers": 62198,
"clapsPer1000Followers": 981.2,
"authorFollowing": 183,
"authorBio": "I like to train deep neural nets on large datasets.",
"authorTwitter": "karpathy",
"authorIsMember": false,
"publication": null,
"publicationFollowers": null,
"publishedAt": "2017-11-11T22:18:53.751000+00:00",
"updatedAt": "2017-11-11T22:18:53.751000+00:00",
"readingTimeMinutes": 8.8,
"wordCount": 2146,
"claps": 61025,
"clappers": 8889,
"responses": 194,
"memberOnly": false,
"visibility": "PUBLIC",
"language": "en",
"tags": ["machine-learning", "artificial-intelligence", "programming"],
"imageUrl": "https://miro.medium.com/v2/resize:fit:1200/1*CHcu2L0NmAZwCpQgmS1ByA.jpeg",
"source": "url:https://medium.com/@karpathy/software-2-0-a64152b37c35",
"contentMarkdown": "## Software 2.0
I sometimes see people refer to neural networks…",
"contentText": "Software 2.0
I sometimes see people refer to neural networks…",
"contentIsPreview": false
}

Each article appears once per run, even when several sources list it. With Include full text as HTML there is contentHtml too.

Use it as an API

One call runs it and returns the results as JSON (for runs under 5 minutes; longer ones start a run and read its dataset). Apify's Python and JavaScript clients, and its Make, Zapier and n8n integrations, work the same way.

$curl -X POST "https://api.apify.com/v2/acts/pikoulas~medium-articles-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" -H "Content-Type: application/json" -d '{"tags": ["python"], "maxArticlesPerSource": 10}'

AI agents can call it as a tool through Apify's MCP server: https://mcp.apify.com?tools=pikoulas/medium-articles-scraper.

How much does it cost to scrape Medium?

You pay $0.003 per article, which is $3 per 1,000, full text included. Articles the filters leave out cost nothing. Runs that go through Apify's residential proxy also pay its traffic, $0.0012 per 100 KB. There are no monthly fees.

Good to know

  • New articles only remembers what it gave in a key-value store in your account, medium-memory, under the Memory name; give each schedule a name of its own. A run cut short by Max articles per source reads the rest of what is new on the next run.
  • Medium keeps about 18 articles in any "most read" list, so a tag's all-time or monthly top stops there. The newest-first order goes back as far as you ask.
  • For member-only articles, Medium serves only the preview part of the text without a paid login. contentIsPreview tells you when that is the case; Leave out member-only articles keeps them out.
  • Max articles in total caps the whole run exactly, across every source.
  • A run with a timeout stops shortly before it and finishes as succeeded, with the articles it has.
  • If Medium starts refusing requests on a very large run, turn on Apify Proxy in the input.

FAQ

It collects only what Medium shows publicly, without logging in. Medium's terms prohibit this, and your use of it is your own responsibility. Personal data is also protected by laws such as the GDPR and the CCPA. If you're unsure, ask a lawyer; Apify's Is web scraping legal? is a good start.

Something missing or not working?

Open an issue on the Issues tab with the input you used, or ask there for a field you need.

If it does what you need, a review on the Reviews tab helps others find it.

Articles from other sites?

Substack and any website as Markdown each have an Actor of their own.