---
title: "Dashboard overview stats"
method: GET
path: "/stats"
tags: ["Stats & Analytics"]
---

# Dashboard overview stats

`GET /stats`

## Request

- Base URL: `https://api.misar.io/post`
- URL: `https://api.misar.io/post/stats`
- Auth: API key in header `Authorization`

Connected-account count, queued/published-post counts, drafts, the caller's most recent published post, the top-performing post by engagement in the last 30 days, and the average engagement rate over the last 30 days.

## Response `200`

Overview stats.

- StatsResponse
  - `connectedAccounts` integer
  - `queuedPosts` integer
  - `publishedThisWeek` integer
  - `publishedThisMonth` integer
  - `drafts` integer
  - `lastPost` object, nullable
    - `platform` string
    - `content_text` string
    - `published_at` string, date-time, nullable
    - `platform_post_url` string, uri, nullable
  - `topPerformingPost` object, nullable
    - `platform` string
    - `likes` integer
    - `comments` integer
    - `reposts` integer
    - `impressions` integer
    - `contentSnippet` string
    - `publishedAt` string, date-time, nullable
  - `avgEngagementRate` number, nullable: Percent, e.g. 4.32 for 4.32%. Over the last 30 days.

## Other responses

- `401`: Missing, malformed, revoked, or invalid API key/session.
- `402`: Plan limit: no active plan (any write; `reason: "no_active_plan"`), a monthly allowance is spent, or the feature is not on the caller's plan. Detect by `code: "plan_limit_exceeded"`.
- `403`: The API key lacks the scope this operation requires (`code: "insufficient_scope"`, `required_scope`).

---

[API](https://skmtc.dev/misarpost/apis/misarpost-api.md) · [All operations](https://skmtc.dev/misarpost/apis/misarpost-api/llms.txt) · [OpenAPI document](https://skmtc.dev/misarpost/apis/misarpost-api/revisions/deec26db1305?raw)
