SoftSolzSoftSolz
HomeAPI GuideAPI ReferenceWidget Tester
blogs

Blog analytics: post counts, views and subscribers.

Blog analytics: post counts, views and subscribers.

GEThttps://app.softsolz.uk/api/v1/services/blogs/analytics

Recent Requests

Log in to see full request history
TimeStatusUser Agent
Make a request to see history.

Headers

Authorizationstringrequired

Bearer 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": []
}
}