Author: Anton Gulin · Tool: opencode-skill-creator · GitHub: @antongulin · Registry: skills.sh
Bundle.social Analytics
This skill covers retrieving performance metrics for social accounts and posts on Bundle.social.
Authentication
x-api-key: <your-api-key>
Base URL: https://api.bundle.social
Reference Docs
Read references/README.md for platform enums and standard errors.
Read references/07-analytics.md for endpoint details.
How to Use This Skill
When a user asks about social media analytics or performance data:
- Determine scope — account-level analytics or post-level analytics
- Identify time range — ask for
dateFrom/dateToif not provided - Read the reference doc for the specific endpoint
- Generate curl command examples with
<your-api-key>as placeholder (NEVER call the actual API) - Present the data clearly — highlight key metrics, trends, and comparisons
Analytics Data Structure
Account and post analytics share common metrics:
impressions,impressionsUnique— how many times content was seenviews,viewsUnique— video views where applicablelikes,comments,shares,saves— engagement actionsfollowerCount— audience growthengagementRate— engagement relative to reach
Per-platform metrics may differ — YouTube has watch time, Instagram has story metrics, etc.
Endpoint Reference Summary
Account Analytics
GET /api/v1/analytics/social-account— Get analytics for a social account (supportsdateFrom,dateTo,granularity)GET /api/v1/analytics/social-account/raw— Get raw analytics dataPOST /api/v1/analytics/social-account/force— Force refresh analytics
Post Analytics
GET /api/v1/analytics/post— Get analytics for a specific postGET /api/v1/analytics/post/raw— Get raw analytics data for a postGET /api/v1/analytics/post/bulk— Compare analytics for up to 60 posts at oncePOST /api/v1/analytics/post/force— Force refresh post analytics
Common Patterns
- Account health check: Get account analytics for last 30 days → Check trends in impressions and engagement
- Post performance comparison: Use bulk endpoint with multiple postIds → Compare metrics side by side
- Deep dive: Get post analytics → If interesting, get raw data for detailed analysis
- Fresh data: If analytics seem stale, use force refresh → Wait → Re-fetch
- Reporting: Pull account analytics with date range and granularity for weekly/monthly reports
Using the Bulk Analytics Endpoint
The bulk endpoint (GET /api/v1/analytics/post/bulk) is powerful for comparison:
- Max 60 postIds per request, paginated 20 per page
- Requires
platformType— all posts must be from the same platform - Each result contains per-post metric arrays
Error Handling
- Data may not be available immediately after posting — analytics update asynchronously
- Force refresh has rate limits — don't spam it
- Some metrics are platform-specific and may return null for platforms that don't support them