---
title: "Discussion on \"Using Hashnode's API for Blog Previews\" | Hashnode"
description: "Discussion on \"Using Hashnode's API for Blog Previews\". I recently decided to host my blog on Hashnode so I could spend more time writing and less managing the code. I still wanted to display previews and links to my most recent posts on my portfolio website. Luckily, Hashnode offers a GraphQL API where I..."
url: "https://hashnode.com/posts/using-hashnodes-api-for-blog-previews/5f5788ededbc0327d34af9cf"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Using Hashnode's API for Blog Previews](https://blog.codebycorey.com/using-hashnodes-api-for-blog-previews?utm_source=hashnode&utm_medium=feed)

I recently decided to host my blog on Hashnode so I could spend more time writing and less managing the code. I still wanted to display previews and links to my most recent posts on my portfolio website. Luckily, Hashnode offers a GraphQL API where I...

Sep 8, 2020 · 6 min read · blog.codebycorey.com  
Updated Dec 3, 2020  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#programming](https://hashnode.com/tag/programming)
-   [#2articles1week](https://hashnode.com/tag/2articles1week)
-   [#nextjs](https://hashnode.com/tag/nextjs)
-   [#hashnode](https://hashnode.com/tag/hashnode)

## Written by

[Corey O'Donnell](https://hashnode.com/@CodeByCorey)

@CodeByCorey

  
[View profile](https://hashnode.com/@CodeByCorey)

Full-Stack Web Developer 💻 | Always Learning 📖 | Love for Plants 🌱

## Responses 4

Markdown supported · ⌘↵ to post

[Bryan Lilly](https://hashnode.com/@bjl)

[Aug 19, 2021](https://hashnode.com/posts/using-hashnodes-api-for-blog-previews/5f5788ededbc0327d34af9cf/comment/611e327fc4783a33f5e25745)

I am curious, is it possible to get a list of the posts I have bookmarked from the HashNode API?

[Micaiah Effiong](https://hashnode.com/@Micaiah_Effiong)

[Sep 10, 2020](https://hashnode.com/posts/using-hashnodes-api-for-blog-previews/5f5788ededbc0327d34af9cf/comment/5f59c4329890d7397f16172a)

You just gave me a side project... Am trying this out 👊👊👊

[Corey O'Donnell](https://hashnode.com/@CodeByCorey)

[Sep 10, 2020](https://hashnode.com/posts/using-hashnodes-api-for-blog-previews/5f5788ededbc0327d34af9cf/comment/5f59c4329890d7397f16172a#reply-5f5a8f541f75694fab53eb27)

Awesome!

Let me know if you have any questions. I can try and help.

[Victoria Lo](https://hashnode.com/@victoria)

[Sep 8, 2020](https://hashnode.com/posts/using-hashnodes-api-for-blog-previews/5f5788ededbc0327d34af9cf/comment/5f57fb71edbc0327d34affff)

Nicely written! Very helpful thanks!

[Corey O'Donnell](https://hashnode.com/@CodeByCorey)

[Sep 9, 2020](https://hashnode.com/posts/using-hashnodes-api-for-blog-previews/5f5788ededbc0327d34af9cf/comment/5f57fb71edbc0327d34affff#reply-5f582495edbc0327d34b00bf)

Thank you!

I hope it helped you 🚀

[Vuong Dang](https://hashnode.com/@VuongDDang)

[Sep 8, 2020](https://hashnode.com/posts/using-hashnodes-api-for-blog-previews/5f5788ededbc0327d34af9cf/comment/5f57972da5765727f4c3246e)

Awesome! this is exactly what I would like to do soon. Thanks for writing this up!

[Corey O'Donnell](https://hashnode.com/@CodeByCorey)

[Sep 8, 2020](https://hashnode.com/posts/using-hashnodes-api-for-blog-previews/5f5788ededbc0327d34af9cf/comment/5f57972da5765727f4c3246e#reply-5f57984fa5765727f4c32489)

No problem!

Let me know if you have any issues.
