XreplyAIDevelopers
API ReferenceAnalytics

Get best posting times

Requires scope: `analytics:read`. Returns day-of-week × hour cells ranked by engagement, plus the single best cell.

GET
/analytics/best_times
AuthorizationBearer <token>

A personal API key created in the dashboard (Starter, Pro, and Team plans).

In: header

Query Parameters

start_date?string

Inclusive start date (YYYY-MM-DD).

Formatdate
end_date?string

Inclusive end date (YYYY-MM-DD).

Formatdate
social_account_id?integer
platform?string

Value in

  • "twitter"
  • "linkedin"
  • "youtube"
  • "instagram"
  • "threads"
  • "pinterest"
  • "tiktok"
  • "bluesky"
  • "mastodon"
  • "facebook"
  • "google_business"
  • "discord"
  • "telegram"
  • "tumblr"
  • "slack"

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/analytics/best_times"
{  "cells": [    {      "day_of_week": 2,      "hour": 15,      "avg_engagement_rate": 4.2,      "post_count": 6    }  ],  "best": {    "day_of_week": 2,    "hour": 15,    "avg_engagement_rate": 4.2,    "post_count": 6  }}