Skip to main content
GET
/
api
/
posts
/
{post_id}
/
stats
Get post stats
curl --request GET \
  --url https://api.mymarky.ai/api/posts/{post_id}/stats \
  --header 'Authorization: Bearer <token>'
{
  "post_id": "<string>",
  "platforms": [
    {
      "platform": "<string>",
      "external_post_id": "<string>",
      "stats": {
        "fetched_at": "2023-11-07T05:31:56Z",
        "likes": 123,
        "comment_count": 123,
        "impressions": 123,
        "shares": 123,
        "reach": 123,
        "saves": 123,
        "clicks": 123,
        "views": 123,
        "video_duration_ms": 123,
        "avg_watch_time_ms": 123,
        "total_watch_time_ms": 123,
        "completion_rate": 123,
        "video_views_organic": 123,
        "video_views_paid": 123
      }
    }
  ],
  "skipped": [
    {
      "platform": "<string>",
      "error": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.mymarky.ai/llms.txt

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

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

post_id
string
required

Response

Successful Response

post_id
string
required

Marky post ID

platforms
PlatformPostStats · object[]

Per-platform stats

skipped
PlatformPostStatsError · object[]

Platforms we could not fetch stats for (no success, expired token, etc.)