# API: How to get Blog-Posts by Language

**URL:** <https://community.hubspot.com/t/api-how-to-get-blog-posts-by-language/29168>\
**Category:** APIs & Integrations\
**Tags:** cms-content, starter\
**Created:** [December 15, 2020, 7:17am UTC](https://community.hubspot.com/t/api-how-to-get-blog-posts-by-language/29168 "2020-12-15T07:17:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![AmandeepSingh](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/amandeepsingh/32/34870_2.png) [@AmandeepSingh](https://community.hubspot.com/u/AmandeepSingh)\
**Post date:** [December 15, 2020, 7:17am UTC](https://community.hubspot.com/t/api-how-to-get-blog-posts-by-language/29168/1 "2020-12-15T07:17:38Z")

</div>

Hi,

I am trying to get the blog-posts using API endpoint [https://api.hubapi.com/content/api/v2/blog-posts?](https://api.hubapi.com/content/api/v2/blog-posts?)…

This gives me the lists of blog-posts from all the languages. I want to get the posts in a specific Language. I read all the documentation but did not find any endpoint or parameter for this purpose.

I have to display the 4 recently published language-specific blogs in a section on different websites like Japanese blogs on a Japanese website and so on.

Is there any way to get the blog-posts by Language, using any API endpoint?

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [December 16, 2020, 6:20pm UTC](https://community.hubspot.com/t/api-how-to-get-blog-posts-by-language/29168/2 "2020-12-16T18:20:22Z")

</div>

Hey @AmandeepSingh

I don’t know of a specific parameter you could search for language.

[@Mike\_Eastwood](https://community.hubspot.com/t5/user/viewprofilepage/user-id/9259) , do you know?

I wonder if looking at the url of each and sorting that way could work 🤔

---

<div class="post-metadata">

**Author:** ![Mike\_Eastwood](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mike_eastwood/32/70075_2.png) [@Mike\_Eastwood](https://community.hubspot.com/u/Mike_Eastwood)\
**Post date:** [December 17, 2020, 1:43am UTC](https://community.hubspot.com/t/api-how-to-get-blog-posts-by-language/29168/3 "2020-12-17T01:43:50Z")

</div>

Hi @AmandeepSingh

You can use the new API (Version 3) [Accounts Dashboard | HubSpot](https://developers.hubspot.com/docs/api/cms/blog-post)

When you call`/cms/v3/blogs/posts` you will get a JSON Property for the language:

```lia-code-sample
...
"language": "af",
...

```

The V3 API is in Beta… but that’s better than not knowing which language the post is in.

Have fun

Mike

p.s. thanks for the mention @dennisedson

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [December 17, 2020, 1:50am UTC](https://community.hubspot.com/t/api-how-to-get-blog-posts-by-language/29168/4 "2020-12-17T01:50:44Z")

</div>

Not sure why I forgot about that beta!
