CMS Blog-Posts EndPoint

Hi,
I am trying to retrieve a blog-posts details in a time period but the endpoints requires a filter, I do not know what to filter by as I need the details of the blog post with the provided blog post ID. This is my endpoint: “https://api.hubapi.com/analytics/v2/reports/blog-posts/231153473744/sources/daily?start=20240301&end=20250831”
The endpoint represents :

GET

analytics/v2/reports/:content_type/content-group/:blog_id/sources/:time_period.

Hi @Yoli_Mmutsi,
Thank you for posting to the Community!
I’d like to tag in some of our Community Champions to see if they have any insight.
@Gonzalo @HubSpot_Corey @mangelet - Do any of you all have any filtering tips for @Yoli_Mmutsi?
Cassie, Community Manager

@Yoli_Mmutsi - I’m curious about what information you are actually looking to retieve. You seem to be using an Anaytics API rather than the more specific Blog API,

To obtain details of blog posts - including the internal ID - the use of these APIs is given here: Accounts Dashboard | HubSpot
I have been using this API recently, including the filtering mechanisms that narroew down the list of posts and teh properties returned. I can give some examples of this if helpful.

Obviously, the Blog API’s do not return traffic information, but maybe they form teh starting point that you were looking for?

Hope this is helpful.

Steve

Hi Steve,
The issue has been resolved, this is an example of the endpoint I needed: https://api.hubapi.com/analytics/v2/reports/blog-posts/monthly?start=20250801&end=20250831&f=231153473744
I needed to pivot through Reporting - v2 | HubSpot API instead of the CMS section of the endpoint.
Thanks for the response!

The cleanest way to think about this is that HubSpot split responsibilities clearly between the Analytics API and the CMS Blog Posts API.

If your goal is simply to fetch the post details by ID (title, slug, publish date, etc.) you’d use the CMS Blog Posts API with a GET /cms/v3/blogs/posts/{postId} call, which doesn’t require filters. That’s the endpoint that respects blog-post IDs directly and returns the metadata

(Accounts Dashboard | HubSpot )

If what you really want is traffic and source data over a time window, then you’re in the Analytics API family, where filters (f) act as the selector for the content ID. That’s why your original request worked once you used …/blog-posts/monthly?..&f={blogId} the f parameter tells HubSpot which asset’s analytics to return

In practice, in 2025, most teams pair both: first call CMS to get the canonical blog post ID and metadata, then call Analytics with the f parameter to pull the time-series traffic for the same post.

So the answer depends on whether you mean “details of the blog post itself” (CMS) or “details of its performance” (Analytics). Mixing them won’t work, but combining both endpoints in sequence is the reliable pattern now. Hope that clears it up.