RelayAPI
Analytics
GET
/v1/analytics/posting-frequency
AuthorizationBearer <token>

In: header

Query Parameters

platform?string

Filter by platform

Value in"twitter" | "instagram" | "facebook" | "linkedin" | "tiktok" | "youtube" | "pinterest" | "reddit" | "bluesky" | "threads" | "telegram" | "snapchat" | "googlebusiness" | "whatsapp"
account_id?string

Filter by account ID

from_date?string

Start date (ISO 8601)

to_date?string

End date (ISO 8601)

Response Body

application/json

application/json

curl -X GET "https://api.relayapi.dev/v1/analytics/posting-frequency"
{
  "data": [
    {
      "posts_per_week": 0,
      "avg_engagement": 0,
      "avg_impressions": 0,
      "sample_weeks": 0
    }
  ],
  "optimal_frequency": 0
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {
      "property1": null,
      "property2": null
    }
  }
}