Get per-post performance metrics for an account over a date range.
Usage
simplified analytics:posts [options]Options
| Flag | Short | Type | Required | Description |
|---|---|---|---|---|
--accounts | -a | string | ✅ | Account ID |
--from | string | ✅ | Start date YYYY-MM-DD | |
--to | string | ✅ | End date YYYY-MM-DD (must be today or earlier) | |
--page | number | Page number | ||
--per-page | number | Results per page |
Example
simplified analytics:posts \
-a ACCOUNT_ID \
--from 2026-03-01 \
--to 2026-03-31 \
--per-page 5Response
Returns a JSON array of post performance objects:
[
{
"id": "post_abc",
"content": "Hello world!",
"published_at": "2026-03-05T10:00:00Z",
"impressions": 1200,
"engagement": 85,
"likes": 60,
"comments": 12,
"shares": 13
}
]