Overview
Represents statistics for an account at a specific point in time.Fields
How Account Stats Work
Account stats are created by aggregating post-level metrics. The
views and likes fields represent totals across all posts associated with the account.Creating Stats
Use the/stats/refresh endpoint to fetch fresh statistics from the TikTok/Instagram API:
- Fetches account profile stats (followers, following)
- Fetches stats for all posts associated with the account
- Creates an
account_statsrecord with aggregated post metrics - Creates individual
post_statsrecords for each post
Time-Series Data
Multiple stat records can exist for a single account, allowing you to track growth and performance over time. Each record includes acreated_at timestamp indicating when the snapshot was taken.
Example Response
Use Cases
- Track follower growth over time
- Monitor total engagement across all content
- Compare performance across accounts
- Generate analytics reports
