Account Analytics
Get account metrics history
Retrieves the selected account metrics as a time series aggregated into day, week, or month buckets. Content metrics are per-bucket gains; follower/following are absolute levels carried forward across sync gaps.
get/accounts/{platform}/{platformAccountId}/metrics
Request
- Base URL: https://viral.app/api/v1
- URL: https://viral.app/api/v1/accounts/{platform}/{platformAccountId}/metrics
- Auth: API key in header x-api-key
Path parameters
platform'facebook' | 'instagram' | 'tiktok' | 'youtube' | 'snapchat' required
Social media platform (facebook, instagram, tiktok, youtube, snapchat)
Example:facebook
platformAccountIdstring required
Native platform account id
Example:7123456789012345678
Query parameters
metricsstring[] required
aggregation'day' | 'week' | 'month'
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.