Skip to main content

Command Palette

Search for a command to run...

Tags Article 4

This article was created to get its tags with the Hashnode API.

Published
1 min read
F

Full-Stack Engineer specializing in Web Development and AI.

The Hashnode API has no method to query specific tags, it only returns the most popular tags. As a workaround, I created posts with the tags I plan to use and query those posts to get tags IDs and names.

This article is hidden from Hashnode feed.

This query is the one that I've used to get post details, including tags.

post(
slug: String!
hostname: String
): PostDetailed