Content Endpoints
The API provides several ways to access content:GET /platforms/{platform}/content/{content_id}- Get single content itemGET /platforms/{platform}/content- List all content for a platformGET /platforms/{platform}/profiles/{profile_id}/content- List content by creatorGET /platforms/{platform}/games/{game_id}/content- List content for a gamePOST /platforms/{platform}/content- Get multiple content items
Content Types
Content types vary by platform:X content uses the platform key
twitter. Reposts (retweets) are returned as repost. The shares statistic maps to reposts, comments maps to replies, and a quotes statistic is included for quote posts.Getting Content by Creator
Fetch all content from a specific creator:Content statistics
Content items include detailed statistics:Understanding Statistics
statistics.views.sum: Total view countstatistics.viewers.avg: Average concurrent viewers (for streams)statistics.viewers.max: Peak concurrent viewersstatistics.watched_minutes.sum: Total watch time in minutesduration: Content duration in milliseconds
Analyzing Content Performance
Calculate Average Views
Find Top Performing Content
Calculate Engagement Rate
Time-Based Analysis
Filter by Date Range
Analyze Trends Over Time
Platform-Specific Features
Twitch Chapters
Twitch streams include aggregated chapter data:Categories and Tags
Content includes categories (games) and tags:Content Comparison
Compare Creators
Compare Time Periods
Best Practices
- Paginate efficiently: Use appropriate
limitvalues (10-50) based on your needs - Cache content data: Content metrics don’t change frequently; cache for performance
- Filter client-side: Use date ranges and filters to reduce unnecessary requests
- Handle missing metrics: Some content may not have all metrics; handle nulls gracefully
- Monitor quota: List endpoints consume quota per item returned

