Build Comprehensive Performance Summaries
Get your users the answers to their performance in real time
Get real-time analytical data for your brands, users, posts, videos, and links. For developers and businesses of all sizes.
import requests payload = {'platforms': ['facebook', 'instagram', 'twitter', 'pinterest', 'youtube', 'tiktok']}headers = {'Content-Type': 'application/json', 'Authorization': 'Bearer API_KEY'} r = requests.post('https://app.ayrshare.com/api/analytics/social', json=payload, headers=headers)print(r.json())
Pull analytics from Twitter/X, Instagram, Facebook, LinkedIn, TikTok, YouTube, Pinterest, and more, all through one integration.
Ayrshare's Social Media Analytics API allows your platform, such as a SaaS, CRM, DAM, agency, to obtain insights about your users' social accounts, posts, and trends.
Get your users the answers to their performance in real time
Eliminate data wrangling and costly manual errors
Use the data as feedback to continuously improve the strategy you present your users.
The Analytics API can easily be integrated with your platform or fed into your business intelligence tools.
The Analytics API returns 715 documented fields across 12 networks, covering four scopes: per-post engagement, account and profile level, per-comment engagement, and reviews.
Browse the full field reference to see exactly what you can pull from each network, including video retention curves, reaction breakdowns, audience demographics, and story metrics.
See every analytics metric{ "facebook": { "analytics": { "reactions": { "like": 812, "love": 96, "wow": 14, "haha": 7 }, "postVideoViewTime": 184320, "postVideoCompleteViews": 5120 } }, "tiktok": { "analytics": { "videoViewRetention": [100, 92, 74, 61, 58], "averageTimeWatched": 12.4, "reachByCountry": { "US": 0.41, "GB": 0.12 } } }}
Get likes, shares, video views, comments, and impressions for multiple social media networks: Twitter, Instagram, Facebook, LinkedIn, TikTok, YouTube, Pinterest, and more.
{ "instagram": { "analytics": { "likeCount": 12400, "commentsCount": 842, "impressionsCount": 318000, "videoViews": 95200, "savedCount": 1870 } }, "tiktok": { "analytics": { "likeCount": 28900, "commentsCount": 1600, "videoViews": 1200000, "shareCount": 4120 } }}
Amazing API documentation, SDK packages, and support to make the integration easy.
Read the docs
Dig deeper by integrating with your social media analytics tool or BI system.
Free Trial available. Or talk to sales for high-volume use case. 24/7 engineering support.