Skip to main content
Version: v3

Get Social Media Statistics

POST 

/social-media-posting/statistics

Retrieve analytics data for multiple social media accounts. Supports custom date ranges for both the current period and a comparison period. If no date ranges are provided, defaults to the last 7 days (excluding today) with comparison to the previous 7 days.

Request

Version stringrequired

API Version

Available optionsv3
locationId stringrequired

Location ID

application/json

Bodyrequired

    profileIdsstring[]required

    Array of connected social media account IDs to fetch analytics for. This can be found as 'profileId' in /accounts api.

    Possible values: >= 1, <= 100

    platformsstring[]

    Array of social media platforms to filter analytics by. If not provided, all platforms will be included. NOTE: Linkedin (PAGE only) and Tiktok (BUSINESS only) are supported.

    Available optionsfacebookinstagramlinkedingooglepinterestyoutubetiktok
    currentRangeobject

    Custom date range for the current analytics period. If omitted, defaults to the last 7 days (excluding today) with automatic comparison to the previous 7 days.

    prevRangeobject

    Comparison date range. Can only be provided when currentRange is also present. If omitted while currentRange is present, no comparison data is returned.

application/json

Successfully retrieved analytics data

Schema
    resultsobject

    Analytics data grouped by metrics and platforms

    messagestring

    Success message indicating the analytics were built successfully

    traceIdstring

    Unique identifier for tracking this request