Overview
The Hashnode API is a GraphQL API that allows you to interact with Hashnode and your Hashnode blogs in various ways.
Use cases:
You can make use of the Hashnode API for the following
Fetch your blog posts and display them in your website portfolio.
Use your customized interface to publish content on your blog.
Fetch trending posts on Hashnode.
Publish posts to Hashnode
Examples:
Using the Hashnode API, you can get the Hashnode "FEATURED" posts:
Notice the feed query has two arguments used in the example above, first and filter, to learn more about what values the arguments should be, please visit the Hashnode API documentation.
Featured articles on the Hashnode feed are identified by the Featured badge:
Resources:
Learn the fundamentals of GraphQL API here.
Experiment with querying and mutating data from your blog on the Hashnode API playground.