General Analytics
Export detailed video daily gains as CSV
Exports daily video performance metrics as CSV with presigned download URL. Includes video details, daily gains (views, likes, comments, shares, bookmarks), engagement rates, and metadata. Row-level data with one entry per video per day. Returns secure download URL valid for 5 minutes. Use narrow filters for faster processing of large datasets.
post/analytics/video-daily-gains/export
Request
- Base URL: https://viral.app/api/v1
- URL: https://viral.app/api/v1/analytics/video-daily-gains/export
- Auth: API key in header x-api-key
Request body
Example request
{
"dateRange": {
"from": "2025-12-01",
"to": "2025-12-31"
},
"platforms": [
"tiktok",
"instagram"
],
"accounts": null,
"contentTypes": [
"video"
]
}Response
OK
Example response
{
"downloadUrl": "https://storage.cloudflare.com/exports/video-daily-gains-2025-12-20-143052.csv?signature=abc123",
"expiresAt": "2025-12-20T14:35:52.000Z",
"rowCount": 15420,
"fileName": "video-daily-gains-2025-12-20-143052.csv"
}Changes
No recorded changes to this operation across all 1 revision of this API.