Log inStart Free Trial
easyCoexistence Official APIs

Social media analytics API for Instagram, TikTok, Facebook, YouTube and LinkedIn

A social media analytics API returns each network's own figures, and easyCoexistence is one for AI agents: Claude, ChatGPT or your platform reads Instagram and Facebook insights, TikTok account and video metrics, YouTube Analytics and LinkedIn Page and post statistics through each network's official API and one MCP connector. Ask which posts reached the most people this month, or pull the same numbers into your own reports.

  • Each network's own metrics, through its official API
  • Questions in plain words from Claude or ChatGPT
  • Raw requests for metrics the tools leave out
Start Free Trial

Nothing charged for 3 days. Cancel anytime.

Official APIs onlyMCP for Claude and ChatGPTEvery connection monitored 24/73 days free
48 hours

How long the data behind Instagram's account metrics may be delayed, according to Meta.

21 Apr 2025

When Meta deprecated Instagram's impressions metric in all API versions, with views in its place.

page_media_view

Meta's named alternative to page_impressions, which it deprecated for all API versions on November 15, 2025.

48 to 72 hours

YouTube Analytics' usual processing delay; Google points to the Data API's videos.list for real-time video counts.

12 months

The rolling window LinkedIn's organization share statistics cover, by day or by month.

Which metrics does each network return?

Each network's own, under the names it uses, rather than a score made up across networks. Instagram reports an account's reach, views, accounts engaged and follows, and a post's reach, likes, comments, saves, shares and views. A Facebook Page reports metrics such as unique viewers and post engagements. TikTok gives followers, video views and likes by day, and each video's views, likes, comments and shares. YouTube Analytics adds watch time, average view duration and subscribers gained and lost, and LinkedIn reports a Page's followers, impressions, clicks and engagement. A WhatsApp number reports its quality rating and messaging tier.

The accountEach post
InstagramReach, views, accounts engaged, followsReach, likes, comments, saves, shares, views
FacebookUnique viewers, post engagementsThe post's own insights
TikTokFollowers, video views and likes by dayViews, likes, comments and shares
YouTubeViews, watch time, subscribers gained and lostThe same metrics for one video
LinkedInFollowers, impressions, clicks, engagementA Page post's statistics; a profile post's reactions and comments

How does get_social_insights work?

One tool reads insights on Instagram, Facebook and TikTok through each network's own API, and on YouTube and LinkedIn it hands over to their analytics. Give it an account_id and a list of metrics, then leave out object_id for the account or pass a post's ID for one post. On Instagram, account metrics take period day with metric_type total_value, and since and until take Unix timestamps for the range. On a Facebook Page it takes Page metrics with a period, such as page_post_engagements by day. On TikTok it returns the account's rows by day, or one video's counters when that video is among the 20 most recent.

How do YouTube Analytics and LinkedIn statistics work?

Through tools of their own. get_youtube_analytics queries YouTube Analytics for the channel or one video, over the last 28 days unless you give dates, with views, watch time, average view duration, likes, comments and subscribers gained and lost by default, split by day, by video or by country. For a video's current views, likes and comments, list_youtube_videos reads them from the Data API.

get_linkedin_stats returns a Page's follower count plus impressions, unique impressions, clicks, likes, comments, shares and engagement rate, for its lifetime or by day or month, and can narrow to one post. A personal profile reports the reactions and comments on a post you name.

get_youtube_analytics: the ten most viewed videos of October
{
  "account_id": "<ACCOUNT_ID>",
  "start_date": "2026-10-01",
  "end_date": "2026-10-31",
  "metrics": "views,estimatedMinutesWatched,averageViewDuration,likes",
  "dimensions": "video",
  "sort": "-views",
  "max_results": 10
}

Which metrics did the networks rename or retire?

Several, and a request that names a retired metric fails, so a metric list written last year can need updating. Meta deprecated Instagram's impressions in all API versions on April 21, 2025, with views in its place. On Facebook Pages, page_impressions went on November 15, 2025, with page_media_view as Meta's named alternative, and Meta points from page_impressions_unique to page_total_media_view_unique. Under a change YouTube announced on August 27, 2026, a public view counts the moment a video begins to play, while engagedViews counts playback past the first frame.

get_social_insights passes the network's error back to the assistant, so Claude or ChatGPT can correct the metric names and ask again.

What can you ask Claude or ChatGPT about your numbers?

Questions in your own words, about one account or several. The assistant picks the tool, the metrics and the dates, and can set networks side by side in one answer while keeping each network's own definitions.

  • "Which of my Instagram posts this month reached the most accounts?"
  • "How many followers did our TikTok account gain each day last week?"
  • "List my ten most viewed YouTube videos of October, with watch time."
  • "What was our LinkedIn Page's engagement rate in September?"
  • "How did post engagements on the Facebook Page change after the launch?"

Common mistakes

  • Leaving since and until out on Instagram. Without them, account metrics cover the last 24 hours, so pass Unix timestamps for the period you mean.
  • Expecting follows_and_unfollows from a small Instagram account. Meta returns neither it nor follower demographics for an account under 100 followers.
  • Asking YouTube for top videos without sort and max_results. Its top videos reports require both, with max_results at 200 or less, so pass a sort such as -views.
  • Looking up an older TikTok video in get_social_insights. The tool searches the 20 most recent videos, so call business/video/list/ from your own code, with the token from get_social_credentials, for older ones.
Doing this with EasyCoexistence

easyCoexistence gives your AI agents and your reports each network's own analytics: Instagram and Facebook insights, TikTok metrics, YouTube Analytics and LinkedIn statistics, read through official APIs from Claude, ChatGPT or your code, with every connection monitored 24/7. US$ 9 to US$ 0.75 per connection per month, falling as you add connections, with the first 3 days free.

easyCoexistence is a multichannel API and MCP server that connects AI agents such as Claude and ChatGPT to WhatsApp, Instagram, TikTok, Facebook and more. On WhatsApp it uses Coexistence: the business keeps using its number in the WhatsApp Business app while the AI works through Meta's official API.

Frequently asked questions

Can Claude or ChatGPT read my social media analytics?

Yes. With the easyCoexistence connector added, they read Instagram and Facebook insights, TikTok metrics, YouTube Analytics and LinkedIn statistics, and answer questions about them in plain words.

Can I read analytics for an older TikTok video?

Yes, from your own code. get_social_insights looks a video up among the account's 20 most recent, so for an older one your code calls TikTok's business/video/list/ endpoint directly, with the token from get_social_credentials.

How fresh is the data?

As fresh as each network makes it. Meta says Instagram's metrics can lag up to 48 hours, and Google says YouTube Analytics usually lags 48 to 72 hours.

How much does easyCoexistence cost for social media analytics?

US$ 9 to US$ 0.75 per connection per month, falling as you add connections and the same on every network. Analytics, the MCP server and the Partner API are included, with the first 3 days free.

Keep reading

Connect your first channel in two minutes.

No platform reviews to wait for. Connect WhatsApp, Instagram, TikTok or another channel, then ask your AI to post, reply or report, and watch it work.

  • 3 days free
  • Cancel any time
  • Official APIs only
  • Monitored 24/7

Verified on