Analytics

The analytics API allows you to retrieve basic statistics for your publication.


GET/analytics

Get analytics

This endpoint retrieves aggregated statistics for your publication, such as total posts, comments, subscribers, and other essential metrics.

Request

curl -G https://api.bloghunch.com/app/{subdomain}/analytics \
  -H "Authorization: Bearer {token}"

Response

{
  "totalPosts": 23,
  "totalSubscribers": 11,
  "totalComments": 45,
  "totalViews": 1205
}