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

# analytics

> Account statistics and your best posts.

Every analytics command takes a period. By default it's the last 30 days.

| Option | Meaning |
| - | - |
| `--days <n>` | The last n days, today included. |
| `--from`, `--to` | First and last day, `YYYY-MM-DD`, on your computer's clock. |
| `--account <id>` | Only this account. Repeat for more. |

## analytics

```bash theme={"system"}
postinger analytics [--days 30 | --from 2026-10-01 --to 2026-10-31] [--account <id>]
```

Account statistics, with the period before for comparison.

## analytics posts

```bash theme={"system"}
postinger analytics posts [--sort views] [--limit 10]
```

Posts published in the period, best first. `--sort` is one of `views`, `reach`, `likes`, `comments`, `shares`, `saves`, `engagements` or `avgWatchSeconds`. `--limit` is 1–50.

## analytics post

```bash theme={"system"}
postinger analytics post <id>
```

One post's numbers on each account, and how they grew.


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