Analytics

Get analytics time series

Daily or weekly time series for one metric, built from stored snapshots and date-scoped rollups — never a live fetch. mode selects cumulative totals, per-period gains, or raw snapshot values. Series are excluded on the Starter tier. Call getAnalyticsContract before interpreting these numbers: top-line values are lifetime per-post totals, connected-account values are rolling windows, the two intentionally do not mirror each other, and your access tier may redact metrics — a missing field means unavailable, never zero.

get/analytics/series

Request

  • Base URL: https://app.tokportal.com/api/ext
  • URL: https://app.tokportal.com/api/ext/analytics/series
  • Auth: API key in header X-API-Key

Query parameters

metric'views' | 'likes' | 'comments' | 'shares' | 'followers'
granularity'day' | 'week'
mode'cumulative' | 'gained' | 'snapshot'
accountstring

Repeatable account filter.

fromstring date
tostring date

Response

Analytics time series.

object required

Changes

No recorded changes to this operation across all 1 revision of this API.