Skip to main content
GET
/
analytics
/
posts
Per-post analytics (library)
curl --request GET \
  --url https://api.scripe.io/v1/analytics/posts \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "project_id": "<string>",
      "linkedin_post_id": "<string>",
      "content": "<string>",
      "content_type": "<string>",
      "media_type": "<string>",
      "posted_at": "2023-11-07T05:31:56Z",
      "metrics": {
        "views": 123,
        "likes": 123,
        "comments": 123,
        "shares": 123,
        "total_engagement": 123,
        "engagement_rate": 123
      }
    }
  ],
  "pagination": {
    "total": 123,
    "limit": 123,
    "offset": 123,
    "has_more": true
  }
}

Documentation Index

Fetch the complete documentation index at: https://apidocs.scripe.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Pass Authorization: Bearer scripe_sk_live_<...> (or scripe_sk_test_<...> for test keys) on every request. Keys are scoped to a single workspace and can be revoked from the Scripe dashboard.

Headers

Scripe-Api-Version
string

Pin the API version. Format YYYY-MM-DD. Omit to receive the currently rolling default. Unknown versions return 400 version_unsupported.

Example:

"2026-08-01"

Query Parameters

projectId
string
required

One project id, or a comma-separated list.

Example:

"proj_a1b2c3d4e5f6g7h8"

dateFrom
string<date-time>

ISO 8601 or YYYY-MM-DD lower bound (inclusive).

dateTo
string<date-time>

ISO 8601 or YYYY-MM-DD upper bound (inclusive).

limit
integer
default:50

Page size. Default 50, max 200.

Required range: 1 <= x <= 200
offset
integer
default:0
Required range: x >= 0

Response

Page of per-post analytics.

data
object[]
required
pagination
object
required