Blog analytics: post counts, views and subscribers.
Blog analytics: post counts, views and subscribers.
GET
https://app.softsolz.uk/api/v1/services/blogs/analyticsRecent Requests
Log in to see full request historyTimeStatusUser Agent
Make a request to see history.
Headers
AuthorizationstringrequiredBearer token: `Bearer sk_live_...` (or `sk_test_...` for sandbox). A login token will not work here.
Response
Response Body
postsobjectPost counts by status.subscribersintegerTotal active subscribers.subscribers_30dintegerSubscribers added in the last 30 days.views_30darray of objectsDaily view counts for the last 30 days.top_postsarray of objectsHighest-viewed posts.Request
import { SoftSolz } from '@softsolz/sdk';
const client = new SoftSolz({ apiKey: process.env.SOFTSOLZ_API_KEY });
const result = await client.blogs.getAnalytics();console.log(result);Credentials
Sent as a Bearer token. Stored only in your browser.
Response · 200
{ "data": { "posts": {}, "subscribers": 0, "subscribers_30d": 0, "views_30d": [], "top_posts": [] }}