Skip to main content
GET
Get Analytics
Fetch your analytics: posts, uploads, data uploaded, views, comments and likes received, and followers gained, over time and in total. This is the data behind the Analytics page in Snipp’s settings.

Behavior

  • Requires Plus or Ultra. Free accounts get 403 with type plan_required.
  • range sets the window for series and deltas: 7, 30, 90 or 365 days. Omitted means 30; any other value returns 400.
  • buckets are always today, the last 7 days and the last 30 days, whatever range is.
  • series has one entry per day across the window, oldest first, including days with a value of 0.
  • totals.posts and totals.views are lifetime. totals.comments, totals.likes and totals.bytes cover the fetch window, which is twice range with a floor of 30 days.
  • deltas.change is the fractional change against the previous window of the same length. It is null when the previous window was 0 and the current one is not, and 0 when both are 0.
  • All days are UTC.

Examples

Responses

Errors

Authorizations

relay-key
string
header
required

Your relay key from snipp.gg/settings/relay

Query Parameters

range
enum<integer>
default:30

Days covered by series and deltas.

Available options:
7,
30,
90,
365

Response

Success

analytics
object
required