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

# Analytics tools

> The networks' own numbers: dashboard figures, single posts and top posts.

The networks' own numbers: dashboard figures, single posts and top posts. Results, refusals and idempotency: [Tools](https://docs.gethyvo.com/mcp/reference/tools.md).

## get\_analytics

**Kind:** read · **Scope:** `analytics:read` and the person's analytics permission

The Analytics dashboard's figures for the last 7, 30 or 90 days (or two dates inside them), for every account, one account or one network, each compared with the period before. sections selects: overview (posts, followers, impressions, engagement, engagement rate), trends (day or week series), breakdown (engagement by kind and weekday), networks (side by side), audience (followers and growth), best\_times and coverage (which metrics each network reports, and how fresh they are). A null figure is not zero and comes with its reason. Reads only.

| Argument | Type | Required | Description |
| - | - | - | - |
| `period` | one of `7D`, `30D`, `90D`, `3M` | No | 7D, 30D or 90D (3M is the same 90 days). Longer history is in get\_top\_posts Default `"30D"`. |
| `from` | string | No | Instead of period: first day, YYYY-MM-DD, inside the last 90 days |
| `to` | string | No | With from: last day, YYYY-MM-DD |
| `accountId` | string | No | One account; every account when left out |
| `network` | one of `x`, `facebook`, `instagram`, `threads`, `linkedin`, `bluesky`, `mastodon`, `lemmy`, `devto`, `tumblr`, `tiktok` | No | One network; every account when left out |
| `sections` | array of one of `overview`, `trends`, `breakdown`, `networks`, `audience`, `best_times`, `coverage` | No | What to include Default `["overview"]`. |

## get\_post\_analytics

**Kind:** read · **Scope:** `analytics:read` and the person's analytics permission

How one published post did: each channel's latest numbers and when they were read, and how it compares with that account's usual post (median, with the sample behind it). With refresh: true, the networks are asked for fresh numbers first (slower). Reads only.

| Argument | Type | Required | Description |
| - | - | - | - |
| `postId` | string | Yes | A published post |
| `refresh` | boolean | No | Read fresh numbers from the networks first Default `false`. |

## get\_top\_posts

**Kind:** read · **Scope:** `analytics:read` and the person's analytics permission

The best or worst posts in a period (the best posts ever with 1Y), ranked by a metric, with their numbers and how each did against the median post on its own network. sortBy views, watchTime or saves ranks by what the networks report for them (posts a network gives no figure for are left out, and the answer says how many); otherwise rankBy. To make a new post from what worked: get\_top\_posts, then get\_post\_analytics on the top 3, get\_watch\_time\_report for videos, then create\_posts copying their length, hook, format and posting time. Reads only.

| Argument | Type | Required | Description |
| - | - | - | - |
| `period` | one of `7D`, `30D`, `3M`, `90D`, `6M`, `1Y` | No | 7D, 30D, 3M (or 90D), 6M or 1Y. On Free, history reaches 30 days back (longer periods read those 30 days); Pro and Pro Max reach a year Default `"3M"`. |
| `network` | one of `x`, `facebook`, `instagram`, `threads`, `linkedin`, `bluesky`, `mastodon`, `lemmy`, `devto`, `tumblr`, `tiktok` | No | — |
| `direction` | one of `best`, `worst` | No | Default `"best"`. |
| `rankBy` | one of `engagements`, `impressions`, `likes`, `replies`, `reposts` | No | Default `"engagements"`. |
| `sortBy` | one of `views`, `engagement`, `watchTime`, `saves` | No | Ranks by views, engagement, total watch time or saves instead of rankBy |
| `limit` | integer (1–15) | No | Default `5`. |


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