Get platform comparison
const url = 'https://api.ultimateteam.ai/api/social-analytics/comparison?start_date=2026-04-15&end_date=2026-04-15';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.ultimateteam.ai/api/social-analytics/comparison?start_date=2026-04-15&end_date=2026-04-15' \ --header 'X-API-Key: <X-API-Key>'Side-by-side performance comparison across all connected social platforms.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters”Period start date (YYYY-MM-DD)
Period start date (YYYY-MM-DD)
Period end date (YYYY-MM-DD)
Period end date (YYYY-MM-DD)
Responses
Section titled “ Responses ”Successful Response
Side-by-side comparison of all connected social platforms.
Attributes: platforms: List of per-platform metrics. best_engagement_rate: Platform with the highest engagement rate. best_reach: Platform with the highest reach. recommendations: Actionable recommendations based on the comparison.
object
Per-platform aggregated engagement metrics for a date range.
Attributes: platform: Social platform identifier. reach: Total unique users who saw content. impressions: Total content views (including repeats). engagement: Total engagement actions (likes + shares + comments + clicks). likes: Total likes/reactions. shares: Total shares/retweets/reposts. comments: Total comments/replies. clicks: Total link clicks. followers: Current follower count (latest known). engagement_rate: engagement / impressions (0.0 if no impressions). period_start: Start of the measured period. period_end: End of the measured period.
object
Example
{ "best_engagement_rate": "", "best_reach": "", "platforms": [ { "clicks": 0, "comments": 0, "engagement": 0, "engagement_rate": 0, "followers": 0, "impressions": 0, "likes": 0, "reach": 0, "shares": 0 } ]}Validation Error
object
object
object
Examplegenerated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}