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 (also known as Sub-Account ID) for the business location.

application/json

Bodyrequired

    profileIdsstring[]

    Array of connected social media account IDs to fetch analytics for. Limited to 100 accounts maximum.

    Possible values: <= 100

    platformsstring[]

    Array of social media platforms to filter analytics by. If not provided, all platforms will be included.

    Available optionsfacebookinstagramlinkedingooglepinterestyoutubetiktok
    currentRangeobject

    Current date range for analytics. If not provided, defaults to the last 7 days (excluding today) with comparison to the previous 7 days.

    prevRangeobject

    Comparison date range. If not provided, no comparison will be made.

application/json

Successfully retrieved analytics data

Schema
    resultsobjectrequired

    Analytics data grouped by metrics and platforms for the requested accounts and date range.

    messagestringrequired

    Human-readable status message confirming the analytics were built successfully.

    traceIdstringrequired

    Trace ID for debugging