> ## Documentation Index
> Fetch the complete documentation index at: https://docs.postsyncer.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Read analytics

> What PostSyncer measures on each network, when the numbers refresh, how to ask for a fresh read, and what the Free plan gets.

PostSyncer reads the numbers of your published posts from each network, and each account's followers. You read them back per post, per account, per workspace, or across every workspace the key reaches. Every analytics endpoint needs `analytics:read`.

## What is measured

Each published row of a post gets an `analytics` object with ten counters:

| Counter | Meaning |
| - | - |
| `impressions` | Times the post was seen. The app shows it as Views. |
| `likes` | Likes and reactions. |
| `comments` | Comments and replies. |
| `shares` | Shares sent plus reposts. |
| `quotes` | Quote posts. |
| `saves` | Saves and bookmarks. |
| `views` | Video views. |
| `reach` | People who saw the post. |
| `clicks` | Link clicks. |
| `profile_visits` | Profile visits from the post. |

Besides the counters:

* `engagement_rate` is (`likes` + `comments` + `shares` + `quotes` + `saves` + `clicks`) ÷ `impressions` × 100, rounded to 2 decimals. It's `null` when the network gives no `impressions`.
* `pending` is `true` until the row's numbers are read the first time.
* `synced_at` is when they were last read (ISO 8601).

The numbers are the post's totals as of `synced_at`, not a count per day. A row that isn't published has `analytics: null`.

### Per network

A counter the network doesn't give is `null`, not `0`:

| Network | Counters it gives |
| - | - |
| X | `impressions`, `likes`, `comments`, `shares`, `quotes`, `saves` |
| Facebook | `impressions`, `likes`, `comments`, `shares`, `clicks`, `reach` |
| Instagram | `impressions`, `likes`, `comments`, `shares`, `saves`, `reach`, `profile_visits` |
| Threads | `impressions`, `likes`, `comments`, `shares`, `quotes` |
| LinkedIn | `impressions`, `likes`, `comments`, `shares`, `saves`, `clicks`, `reach`, `views`, `profile_visits` |
| TikTok | `impressions`, `likes`, `comments`, `shares` |
| YouTube | `impressions`, `likes`, `comments`, `shares` |
| Pinterest | `impressions`, `likes`, `comments`, `saves`, `clicks`, `profile_visits`, `views` |
| Bluesky | `likes`, `comments`, `shares`, `quotes`, `saves` |
| Mastodon | `likes`, `comments`, `shares`, `quotes` |
| Telegram | `impressions`, `likes` |
| Google Business Profile | None per post. Google gives numbers for the location instead (below). |

Bluesky and Mastodon give no `impressions`, so their `engagement_rate` is `null`.

### Google Business Profile locations

[Account analytics](https://docs.postsyncer.com/api-reference/analytics/account.md) for a Google Business Profile location adds `google_business`: the location's own numbers, as `totals` and one entry per day in `days`. They are views on Search and on Maps (desktop and mobile, with `search_views` and `maps_views` adding them up), direction requests, call clicks, website clicks, messaging clicks, bookings and food menu clicks. Without dates, you get the last 28 days. A number Google didn't report is `null`.

## Read the numbers

| Endpoint | Gives |
| - | - |
| [`GET /analytics`](https://docs.postsyncer.com/api-reference/analytics/all-workspaces) | `total` across every workspace the key reaches, and a `total` for each workspace with published posts |
| [`GET /analytics/workspaces/{id}`](https://docs.postsyncer.com/api-reference/analytics/workspace) | The workspace's `total`, and each account's `followers` |
| [`GET /analytics/accounts/{id}`](https://docs.postsyncer.com/api-reference/analytics/account) | The account's `total`, its `followers`, and one row per post in `platform_posts` |
| [`GET /analytics/posts/{id}`](https://docs.postsyncer.com/api-reference/analytics/post) | The post's `total`, and one row per account in `accounts` |

A `total` adds each counter up over the published rows (`0` when none of them gives it). Its `engagement_rate` is the interactions of the rows with impressions over those impressions, never an average of rates.

```bash theme={null}
curl "https://postsyncer.com/api/v1/analytics/posts/92731" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

```json theme={null}
{
  "post_id": 92731,
  "total": {
    "comments": 4, "likes": 38, "shares": 2, "impressions": 1210, "quotes": 0,
    "saves": 6, "views": 0, "reach": 980, "clicks": 0, "profile_visits": 3,
    "engagement_rate": 4.13
  },
  "accounts": [
    {
      "platform_post_id": 311802,
      "post_id": 92731,
      "account_id": 16235,
      "platform": "instagram",
      "status": "PUBLISHED",
      "post_url": "https://www.instagram.com/p/C0ffeeHalden/",
      "analytics": {
        "comments": 4, "likes": 38, "shares": 2, "impressions": 1210, "quotes": null,
        "saves": 6, "views": null, "reach": 980, "clicks": null, "profile_visits": 3,
        "engagement_rate": 4.13, "pending": false, "synced_at": "2030-03-16T09:00:00+00:00"
      }
    }
  ]
}
```

`platform_post_id` here is PostSyncer's id for the row, not the network's.

### Pick the days

`GET /analytics`, the workspace and the account endpoints take `start_date` and `end_date` (`Y-m-d`, in the workspace's days). They keep only posts published on those days, and still give each post's totals. Either date can be left out. An `end_date` before `start_date` answers `422`. On the account endpoint, `published_only=1` leaves out rows that aren't published. It takes `1` or `0`: `true` answers `422`.

## When numbers refresh

On paid plans, PostSyncer reads each published post again on a schedule that slows down as the post gets older:

| Post's age | Read every (most networks) | Read every (X) |
| - | - | - |
| Up to 1 day | Hour | Hour |
| Up to 3 days | 6 hours | 6 hours |
| Up to 5 days | 12 hours | 12 hours |
| Up to 7 days | Day | Day |
| Up to 20 days | Day | 3 days |
| Up to 30 days | Day | 5 days |
| Up to 90 days | Week | Week |

After 90 days a post's numbers stay as they were last read. Followers are read every hour. Google Business Profile location numbers are read once a day: the first read goes back about 18 months, and later reads go over the last 14 days again, since Google revises them.

### Ask for a fresh read

[Sync post analytics](https://docs.postsyncer.com/api-reference/analytics/sync-post.md) (`POST /analytics/posts/{id}/sync`) asks every published row of a post to be read now. It answers right away and the reads run in the background:

```json theme={null}
{ "post_id": 92731, "jobs_dispatched": 1, "skipped": false, "skip_reason": null }
```

Read the post's analytics again a little later: `synced_at` moves when a row has been read. Rows whose account needs reconnecting, or whose numbers can't be read (below), aren't asked.

## The Free plan

* `GET /analytics`, the workspace and the account endpoints keep only posts published in the last 7 days: today and the 6 days before, in the workspace's timezone. Without dates you get those 7 days. The answer adds `"range_limited": {"days": 7, "reason": "free_plan"}`. `GET /analytics/posts/{id}` gives a post's numbers as they were last read.
* A post's numbers are first read once it's a day old, so a new post shows `pending: true` for about a day. Then they're read once a day until it's 7 days old. Each account's followers are read once a day.
* Those reads happen only while the owner has used PostSyncer (the app, the API or MCP) in the last 14 days.
* `POST /analytics/posts/{id}/sync` reads nothing. It answers `"skipped": true` and `"skip_reason": "post_owner_subscription_inactive"`.
* Google Business Profile location numbers aren't read.

The plan that counts is the workspace owner's. See [Plan limits](https://docs.postsyncer.com/plan-limits.md#analytics-on-free).

## When numbers can't be read

An account's `analytics_unavailable` says why its posts have no numbers, with a `reason` and a `message` to show the user:

| `reason` | Why |
| - | - |
| `x_private` | The X account is private. |
| `linkedin_reconnect` | The LinkedIn profile was connected through PostSyncer's older LinkedIn connection. Reconnect it. |
| `pinterest_not_business` | Pinterest gives numbers only to business accounts. |
| `google_business_no_post_stats` | Google gives no numbers for single posts. The location's numbers are still read. |
| `telegram_private` | The Telegram channel is private, so its views can't be read. Subscribers are still counted. |

It's `null` when the numbers can be read. Read it with [Get account](https://docs.postsyncer.com/api-reference/accounts/get.md).

## With MCP

The MCP tools do the same, with `analytics:read`: `get-analytics-summary`, `get-analytics-workspace`, `get-analytics-account`, `get-analytics-post` and `sync-post-analytics`. See the [MCP tools reference](https://docs.postsyncer.com/mcp/tools-reference.md).

## Related

> [card] [Analytics overview](https://docs.postsyncer.com/api-reference/analytics/overview.md)
>
> The analytics endpoints and their fields.

> [card] [Plan limits](https://docs.postsyncer.com/plan-limits.md)
>
> What Free includes and what's on paid plans.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.