Analytics API
API endpoints for analytics and metrics.
Analytics API
Pro
Get analytics
GET /v1/analyticsQuery parameters:
| Parameter | Type | Description |
|---|---|---|
from | date | Start date (YYYY-MM-DD) |
to | date | End date (YYYY-MM-DD) |
platforms | string | Comma-separated platforms |
group_by | string | platform, day, week, month |
Response:
{
"data": {
"summary": {
"total_published": 142,
"total_failed": 3,
"success_rate": 97.9
},
"by_platform": {
"twitter": {
"published": 48,
"failed": 1,
"impressions": 12500,
"engagement": 340,
"clicks": 89
},
"linkedin": {
"published": 47,
"failed": 1,
"impressions": 8900,
"engagement": 210,
"clicks": 145
}
}
}
}Get delivery logs
GET /v1/delivery-logsQuery parameters: platform, status, from, to, page, per_page.