Skip to content
a microservice that allows you to fetch the upvote count from a medium post
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Medium Upvotes

Medium has a nice [API], but it doesn't give us what we all really want, DAT UPVOTE COUNT BOI.

This is a simple microservice built on zeit's micro, got, and cheerio that scrapes that upvote number and returns it to you.


all you need is a post property, which can be:

  • a Medium post URL:
  • a Medium vanity URL:
  • a Medium post ID: 5bfe9b3d6d85

Just post to your endpoint (the URL here is a demo endpoint running this repo's code):

curl -H "Content-Type: application/json" -X POST -d '{"post": ""}'

and get back:


That's it!


  • node v6 or later
You can’t perform that action at this time.