# Get blog posts from two blogs using API

**URL:** <https://community.hubspot.com/t/get-blog-posts-from-two-blogs-using-api/9865>\
**Category:** CMS Development\
**Created:** [August 16, 2018, 1:22pm UTC](https://community.hubspot.com/t/get-blog-posts-from-two-blogs-using-api/9865 "2018-08-16T13:22:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![benji\_thecroc](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/benji_thecroc/32/31851_2.png) [@benji\_thecroc](https://community.hubspot.com/u/benji_thecroc)\
**Post date:** [August 16, 2018, 1:22pm UTC](https://community.hubspot.com/t/get-blog-posts-from-two-blogs-using-api/9865/1 "2018-08-16T13:22:13Z")

</div>

Hi,

I was wondering if it was possible to pull blogs from two specific blogs within a hubspot account?

I’ve used this as a reference however seems I can only use one Group ID.

[https://developers.hubspot.com/docs/methods/blogv2/get\_blog\_posts](https://developers.hubspot.com/docs/methods/blogv2/get_blog_posts)

If I took the group ID out of the request URL would it pull all blogs from one account?

Thanks,

Benji

---

<div class="post-metadata">

**Author:** ![tjoyce](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tjoyce/32/88832_2.png) [@tjoyce](https://community.hubspot.com/u/tjoyce)\
**Post date:** [August 16, 2018, 1:38pm UTC](https://community.hubspot.com/t/get-blog-posts-from-two-blogs-using-api/9865/2 "2018-08-16T13:38:08Z")

</div>

that is correct [@benji\_thecroc](https://community.hubspot.com/t5/user/viewprofilepage/user-id/54367) - [https://api.hubapi.com/content/api/v2/blog-posts?hapikey=demo](https://api.hubapi.com/content/api/v2/blog-posts?hapikey=demo) will retrieve blog posts from all of your blogs.

* * *

If this answer helped, please, mark as solved 😄

* * *

[tim@belch.io](mailto:tim@belch.io) | [forms.belch.io](https://forms.belch.io) | Design your own Beautiful HubSpot Forms; No coding necessary.

Drop by and say Hi to me [on slack](http://slack.belch.io/).
