ViralApp icon

ViralApp

Interact with ViralApp API for video analytics on TikTok, Instagram, and YouTube

Video Data → Export

AI-generated

Summary

Exports tracked video analytics data to a downloadable CSV file.

Inputs

  • exportBody (required) — Collection of filter parameters including Account Names or IDs, Account Username, Content Types (Video/Slideshow), Date Range, Platforms (Instagram/TikTok/YouTube), Project Names or IDs, Sort Column, and Sort Direction.
  • options.simplifyOutput — Returns a simplified version of the response instead of the raw data.

Output shape

A single item containing a JSON object with metadata (fileName, downloadUrl, expiresAt, rowCount) and a binary data attachment (CSV file).

Download URLs are valid for 5 minutes. The CSV file is text/csv.

Examples

Example 1: Export videos from the last 14 days for specific accounts and projects, sorted by view count descending.

Set Date Range (From/To), select Accounts and Projects, choose 'View Count' for Sort Column and 'Descending' for Sort Direction.

Example 2: Export all video analytics without filters using the default 14-day lookback period.

Leave all filters empty to use default dates and all data.

Links

Discussion