The API reference moved here from eksis.io/developers.
Analytics

Read analytics

GET
/v1/analytics

Performance of the posts on the connected channels over a period, compared with the period of the same length before it: totals, numbers per channel and per post type, follower change, Instagram audience insights, the hours that worked best in the workspace time zone, and up to 200 posts with their numbers. Posts made directly on a network count too, marked source: platform. Numbers are collected from the platforms a few times a day. Every plan includes analytics; calling it over REST needs a plan with the REST API.

Authorization

headerAuthorizationBearer <token>

Send your key as Authorization: Bearer eksis_sk_....

Query Parameters

days?integer

Length of the period, ending today. Ignored when from and to are both given.

Range1 <= value <= 365
Default30
from?string

First day of a custom period, in the workspace time zone. Needs to.

Formatdate
to?string

Last day of a custom period, included. A period longer than 365 days is shortened from the start.

Formatdate
channels?string

Comma-separated channel ids.

types?string

Comma-separated post types, such as reels,carousel. Unknown types are ignored.

Response Body

The report.

application/json
  1. response
data?
curl -X GET 'https://api.eksis.io/v1/analytics' \  -H 'Authorization: Bearer eksis_sk_...'
{  "data": {    "periodDays": 0,    "range": {      "from": "2019-08-24",      "to": "2019-08-24"    },    "timezone": "string",    "totals": {      "published": 0,      "reach": 0,      "impressions": 0,      "engagement": 0,      "likes": 0,      "comments": 0,      "shares": 0,      "saves": 0,      "profileVisits": 0,      "engagementRate": 0,      "watchTimeMs": 0,      "avgWatchTimeSec": 0,      "follows": 0,      "linkClicks": 0,      "engagementRateByViews": 0    },    "previousTotals": {      "published": 0,      "reach": 0,      "impressions": 0,      "engagement": 0,      "likes": 0,      "comments": 0,      "shares": 0,      "saves": 0,      "profileVisits": 0,      "engagementRate": 0,      "watchTimeMs": 0,      "avgWatchTimeSec": 0,      "follows": 0,      "linkClicks": 0,      "engagementRateByViews": 0    },    "channels": [      {        "channelId": "string",        "platform": "string",        "posts": 0,        "reach": 0,        "impressions": 0,        "engagement": 0,        "engagementRate": 0,        "engagementRateByViews": 0      }    ],    "formats": [      {        "platform": "string",        "contentType": "string",        "posts": 0,        "reach": 0,        "impressions": 0,        "engagement": 0,        "engagementRate": 0,        "engagementRateByViews": 0,        "avgReach": 0,        "avgWatchTimeSec": 0      }    ],    "automations": {      "triggered": 0,      "dmSent": 0    },    "audience": {      "followers": 0,      "previous": 0,      "change": 0,      "changePct": 0,      "series": [        {          "day": "2019-08-24",          "followers": 0        }      ],      "dailyChanges": [        {          "day": "2019-08-24",          "change": 0        }      ],      "insights": {        "follows": 0,        "unfollows": 0,        "onlineHours": [          0        ],        "demographics": {          "age": {            "property1": 0,            "property2": 0          },          "gender": {            "property1": 0,            "property2": 0          },          "country": {            "property1": 0,            "property2": 0          },          "city": {            "property1": 0,            "property2": 0          }        },        "channelId": "string",        "unavailableReason": "multiple"      },      "channels": [        {          "channelId": "string",          "platform": "string",          "username": "string",          "followers": 0,          "change": 0,          "changePct": 0,          "tracked": true        }      ]    },    "bestHours": [      {        "hour": 0,        "posts": 0,        "avgEngagement": 0,        "reliable": true      }    ],    "bestWeekdays": [      {        "weekday": 1,        "posts": 0,        "avgEngagement": 0,        "reliable": true      }    ],    "postingDays": [      {        "day": "2019-08-24",        "posts": 0      }    ],    "postingSlots": [      {        "weekday": 1,        "hour": 0,        "posts": 0      }    ],    "posts": [      {        "targetId": "string",        "source": "eksis",        "platform": "string",        "channelName": "string",        "contentType": "string",        "title": "string",        "caption": "string",        "publishedAt": "2019-08-24T14:15:22Z",        "permalink": "string",        "metricsReported": true,        "reportedMetrics": [          "reach"        ],        "metricsCollectedAt": "2019-08-24T14:15:22Z",        "metricsBlocked": "deleted",        "metrics": {          "reach": 0,          "impressions": 0,          "likes": 0,          "dislikes": 0,          "comments": 0,          "shares": 0,          "saves": 0,          "profileVisits": 0,          "watchTimeMs": 0,          "avgWatchTimeMs": 0,          "follows": 0,          "linkClicks": 0        }      }    ]  }}