Get overview metrics history
Retrieves only the requested overview metric series for the specified date range. Supports day, week, or month aggregation for video gains, posted videos, app revenue, installs, and engagement rate. Zero-fills missing buckets and respects the standard analytics overview filters.
Request
- Base URL: https://viral.app/api/v1
- URL: https://viral.app/api/v1/analytics/metrics
- Auth: API key in header x-api-key
Query parameters
Start date in ISO format (YYYY-MM-DD)
End date in ISO format (YYYY-MM-DD)
Social media platforms (facebook, instagram, tiktok, youtube, snapchat)
[ "facebook", "instagram" ]
Organization account IDs
[ "orgacc_1A2B3C4D5E6F" ]
Content types (video, slideshow)
[ "video" ]
Organization project IDs
Deprecated. Use tag filters (tags / tagGroups) instead — a project's virtual project tag id (orgproj_…) works as a tag id. See the migration guide.
[ "orgproj_1A2B3C4D5E6F" ]
Tag IDs. Custom and project tags must all match (intersection); country tags and continent:<CODE> values combine into one geographic group satisfied by any of them. none:<category> values (custom/project/country/continent) match entities WITHOUT any tag of the category. Ignored when tagGroups is provided.
[ "orgtag_1A2B3C4D5E6F" ]
[
{
"mode": "all",
"ids": [
"orgtag_1A2B3C4D5E6F"
]
},
{
"mode": "any",
"ids": [
"systag_1A2B3C4D5E6F",
"continent:EU"
]
}
]Response
OK
Example response
{
"stacking": {
"entities": [
"facebook"
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.