Analytics

Refresh post analytics

Fetches fresh provider analytics for a published post and stores a snapshot. Native stats are supported for Instagram, TikTok, YouTube, Reddit, X, Pinterest, and Snapchat; other providers return an unsupported snapshot with the metric fields null.

post/v1/analytics/refresh

Request

  • Base URL: https://getsocialclaw.com
  • URL: https://getsocialclaw.com/v1/analytics/refresh
  • Auth: HTTP bearer

Request body

postIdstring required

Post id. Also accepted as post_id.

windowstring nullable

Metric window, for example lifetime.

metricWindowstring nullable

Alias for window.

Response

Successful response.

okunknown required
latestobject nullable

Most recent stored snapshot for this scope, or null.

snapshotobject nullable

The snapshot written by a refresh call.

historyobject[] nullable

Prior snapshots, newest first.

analyticsobject nullable
metricsobject nullable
windowstring nullable

Metric window.

Changes

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