Analytics

Post analytics

Returns the latest stored metrics snapshot for one published post. Native stats are available for Instagram, TikTok, YouTube, Reddit, X, Pinterest, and Snapchat; call POST /v1/analytics/refresh first to pull current numbers.

get/v1/analytics/posts/{postId}

Request

  • Base URL: https://getsocialclaw.com
  • URL: https://getsocialclaw.com/v1/analytics/posts/{postId}
  • Auth: HTTP bearer

Path parameters

postIdstring required

Post id.

Query parameters

windowstring

Metric window. Defaults to lifetime.

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.