Medium API — The Ultimate Tool for Medium Data
Finally, it’s here: Medium API.
It started with a simple personal requirement: I needed a way to batch fetch Medium articles efficiently while bypassing the limitations of the official API. What began as a solution to my own problem quickly evolved into something bigger. I built a full-suite REST API that allows you to scrape comprehensive data on articles, users, and publications.
Whether you are building a content aggregator, gathering data for analysis, or developing a custom reader, this tool handles it all.
It is hosted on RapidAPI. Simply grab a key and you are ready to go.
Base URL: https://unofficial-medium-api-wrapper.p.rapidapi.com
Capabilities
Here is what you can query:
- Articles: Retrieve content in Markdown, HTML, or plain text. You can also access metadata like claps and followers.
- Users: Get deep insights—followers, following lists, publication history, and public profile info.
- Publications: Fetch articles and details from specific publications.
- Search: Perform full-text searches, including filtering by tags.
- Discovery: Access recommendation algorithm data, including top articles and top writers.
- Lists: Scrape reading lists from other users.
Getting Started
Add x-rapidapi-host and x-rapidapi-key to your request headers. Get your key at RapidAPI.
Code Examples
JavaScript (fetch)
1 | |
Python (requests)
1 | |
cURL
1 | |
Response Format
The API returns standard, clean JSON without unnecessary nesting:
1 | |
Support
If you encounter any issues, feel free to reach out via [email protected].
I am excited to see what you build with this API.