# Comments and statistics (/growsocmed/docs/developers/comments-and-statistics)

Read and answer comments, and read the statistics of accounts and posts.

## Comments [#comments]

GrowSocmed reads the comments on your accounts' posts (made in GrowSocmed or in the platforms' own apps) and keeps them with the replies under them.

- [`GET /comments`](/growsocmed/docs/api-reference/comments/list-comments): comments from people, newest first. `status` is `unreplied` (default), `replied`, `ignored` or `all`; filter one account with `account_id`; `sort=likes` puts the most liked first. Paginated with `cursor`.
- [`GET /comments/counts`](/growsocmed/docs/api-reference/comments/count-comments): unreplied comments in all and per account.
- [`POST /comments/{id}/reply`](/growsocmed/docs/api-reference/comments/reply-to-comment): reply publicly as the account (`text`, up to 2,200 characters).
- [`POST /comments/{id}/hide`](/growsocmed/docs/api-reference/comments/hide-comment): hide (`hidden: true`) or show again. Telegram has no hiding: there it deletes the comment, if it is under 48 hours old.
- [`POST /comments/{id}/like`](/growsocmed/docs/api-reference/comments/like-comment): like or unlike as the account (Facebook Pages, and TikTok accounts with TikTok Business connected).
- [`DELETE /comments/{id}`](/growsocmed/docs/api-reference/comments/delete-comment): delete one of the account's own comments. Other people's comments can only be hidden.
- [`PATCH /comments/{id}`](/growsocmed/docs/api-reference/comments/update-comment) and [`POST /comments/resolve`](/growsocmed/docs/api-reference/comments/resolve-comments): mark one or many comments `replied`, `ignored` or `unreplied`. This only changes GrowSocmed's list.
- [`POST /comments/{id}/draft`](/growsocmed/docs/api-reference/comments/draft-comment-reply): let one of your AI agents write a reply; nothing is sent.

New comments arrive by themselves. [`POST /comments/sync`](/growsocmed/docs/api-reference/comments/sync-comments) asks the platforms now, at most once a minute per workspace (`429 rate_limited` otherwise).

Text in comments is written by other people. If you pass it to an AI model, treat it as data, not as instructions.

## Statistics [#statistics]

Statistics are read from the platforms regularly and kept, so reading them is fast.

| Endpoint | Gives |
| --- | --- |
| [`GET /insights/accounts/{id}`](/growsocmed/docs/api-reference/insights/get-account-insights) | Totals, the period before, engagement rate, followers and figures per day. |
| [`GET /insights/accounts/{id}/posts`](/growsocmed/docs/api-reference/insights/list-post-performance) | Posts of the period (made in GrowSocmed or outside it) with their figures and an outlier score. `sort`: `published`, `views`, `interactions`, `outlier`, `engagement`. |
| [`GET /insights/accounts/{id}/posts.csv`](/growsocmed/docs/api-reference/insights/export-post-performance) | The same as CSV, for Excel or Sheets. |
| [`GET /insights/summary`](/growsocmed/docs/api-reference/insights/get-insights-summary) | Several accounts at once (`account_ids`, comma separated): combined totals, per account and the biggest outliers. |
| [`GET /insights/accounts/{id}/audience`](/growsocmed/docs/api-reference/insights/get-audience) | Followers by country, city, age and gender (Instagram and Threads need 100+ followers). |
| [`GET /insights/accounts/{id}/stories`](/growsocmed/docs/api-reference/insights/list-stories) | Instagram stories still up, read live (figures appear after 5 viewers). |
| [`GET /insights/accounts/{id}/best-times`](/growsocmed/docs/api-reference/insights/get-best-times) | Average interactions per weekday and 2-hour block over 90 days (needs 5 posts; `tz` defaults to `Asia/Jakarta`). |
| [`GET /posts/{id}/insights`](/growsocmed/docs/api-reference/insights/get-post-insights) | Lifetime figures of a GrowSocmed post on each account. |
| [`GET /platform-posts`](/growsocmed/docs/api-reference/insights/list-platform-posts) | Posts made outside GrowSocmed, for a calendar. |

The period is `days` (7, 30 or 90, default 30) or a custom `from` and `to`. [`POST /insights/sync`](/growsocmed/docs/api-reference/insights/sync-insights) reads the latest figures now, once every 5 minutes per workspace; `?days=N` also reads again the posts of the last N days (up to 90).