Medium API avatar

Medium API

Try for free

7 days trial then $30.00/month - No credit card required now

Go to Store
Medium API

Medium API

jupri/medium
Try for free

7 days trial then $30.00/month - No credit card required now

💫 Scrape Medium.com [v1.0a]

Developer
Maintained by Community

Actor Metrics

  • 5 monthly users

  • No reviews yet

  • 1 bookmark

  • >99% runs succeeded

  • Created in Feb 2025

  • Modified 17 days ago

Categories

Welcome To Medium Scraper

don't be sad readme is here

🍂 About Medium.com

Medium is an American online publishing platform for written content such as articles and blogs, developed by Evan Williams and launched in August 2012. It is owned by A Medium Corporation.[2] The platform is an example of social journalism, having a hybrid collection of amateur and professional people and publications, or exclusive blogs or publishers on Medium,[3] and is regularly regarded as a blog host.

Williams, who previously co-founded Blogger and Twitter,[4] initially developed Medium as a means to publish writings and documents longer than Twitter's 140-character (now 280-character) maximum.

In March 2021, Medium announced a change in its publishing strategy and business model, reducing its own publications and increasing support of independent writers.[5]

🍂 About This Actor

All-in-One tool for scraping Medium.com

🍂 Tutorial

🍿 Parameters

ParameterTypeDescription
queryarrayList of QUERY, KEYWORD or URL
limitintegerNumber of results per-query
filtersobjectVarious QUERY filters

🍿 Basic Usage

Search for Stories

{ "query": ["Web Scraping"], "limit": 10  }

Get a user info

{ "query": ["@elonmusk"] }

🍿 Advanced Usage

MEDIUM QUERY LANGUAGE (MEQL)

[ <COMMAND:> | # | @ ] [ <NAME> | <ID> | <KEYWORD> | <URL> ] [ /<SECTION> ]

Possible QUERY Values

FormatExampleDescription
<KEYWORDS>search termsSearch Anything
<KEYWORDS>PythonSearch for stories
users:<KEYWORDS>users:johnSearch for users/people
topics:<KEYWORDS>topics:javaSearch for topics
collections:<KEYWORDS>collections:pythonSearch for publications
(aka. collections)
lists:<KEYWORDS>lists:apifySearch for lists
#<TOPIC> or
tag:<TOPIC> or
topic:<TOPIC>
#art
tag:art
topic:art
Topic/Tag Data
/posts#art/postsArchive
/recommended#art/recommendedRecommended Stories
/people or /users#art/peopleWho to follow
post:<STORY_ID>post:xxxxxxxxStory/Post Data
STORY-ID is 12 digits HEX
/infopost:xxxxxxxx/infoPost info/content
/commentspost:xxxxxxxx/commentsPost comments/responses
@<USER> or
user:<USER>
@jancurnUser Data
/info@jancurn/infoUser info
/posts or /stories@jancurn/postsUser posts/stories
/followers@jancurn/followersUser followers
/following@jancurn/followingUser following
/collections@jancurn/collectionsUser following(publications)
/lists@jancurn/listsUser lists(catalogs)
list:<LIST>List/Catalog Data
/infolist:xxxxx/infoCatalog info
/itemslist:xxxxx/itemsCatalog items
collection:<SLUG>collection:pythonPublication/Collection
ex: https://medium.com/python
/infocollection:python/infoPublication info
/postscollection:python/postsPublication posts
/followerscollection:python/followersPublication followers
https:<URL>https://medium.com/...Start URL
/search?q=<KEYWORDS>Search page
/@<USER>User profile
/tag/<TAGNAME>/recommendedTopic recommended posts
/tag/<TAGNAME>/archive/<year>/<month>Topic posts archive
https://<USER>.medium.com/...User domain

🍂 INPUT Examples

🍿 Example #1: Searching

Search for Stories

{ "query": ["Web Scraping"], "limit": 10  }

Search for Users

{ "query": ["users:Python"], "limit": 10  }

🍿 Example #2: User Data

Get a user info

{ "query": ["@elonmusk"] }

Get a user posts (aka. stories)

{ "query": ["@elonmusk/posts"], "limit": 10 }

Get a user followers

{ "query": ["@elonmusk/followers"], "limit": 10 }

🍂 OUTPUT Samples

🍂 Support

Feel free to reach out to the developer for any issues or suggestions for improvement.