> ## Documentation Index
> Fetch the complete documentation index at: https://www.ayrshare.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Analytics API Overview

> Get real-time analytical data for posts and social accounts, such as clicks, likes, shares, followers, and impressions

export const PlansAvailable = ({plans = [], maxPackRequired}) => {
  let displayPlans = plans;
  if (plans && plans.length === 1) {
    const lowerCasePlan = plans[0].toLowerCase();
    if (lowerCasePlan === "basic") {
      displayPlans = ["Basic", "Premium", "Business", "Enterprise"];
    } else if (lowerCasePlan === "business") {
      displayPlans = ["Business", "Enterprise"];
    } else if (lowerCasePlan === "premium") {
      displayPlans = ["Premium", "Business", "Enterprise"];
    }
  }
  return <Note>
Available on {displayPlans.length === 1 ? "the " : ""}
{displayPlans.join(", ").replace(/\b\w/g, l => l.toUpperCase())}{" "}
{displayPlans.length > 1 ? "plans" : "plan"}.

{maxPackRequired && <span onClick={() => window.open('https://www.ayrshare.com/docs/additional/maxpack', '_self')} className="flex items-center mt-2 cursor-pointer">
 <span className="px-1.5 py-0.5 rounded text-sm" style={{
    backgroundColor: '#C264B6',
    color: 'white',
    fontSize: '12px'
  }}>
   Max Pack required
 </span>
</span>}
</Note>;
};

<PlansAvailable plans={["premium"]} />

One of the key capabilities of Ayrshare is the ability to get real-time analytics on your posts and social accounts.
Specifically, you can measure and analyze your users' content performance and engagement, such as video views, likes, link clicks, and shares, and the influence of your users.
With the analytics data, you can build custom reports for your users, feed the data back into your AI model, or do analysis of post performance.

There are three main type of analytics endpoints:

1. Post Analytics: Get analytics on a post
2. Social Analytics: Get analytics on a social account
3. Link Analytics: Get analytics on a shortened link

## Post Analytics

Individual post analytics are available. This is great if you want detailed analytics on a particular post, either one sent via Ayrshare or manually published at the social network.

Post analytics are available for the following social networks:

<ul className="custom-bullets">
  <li>Bluesky</li>
  <li>Facebook</li>
  <li>Instagram</li>
  <li>LinkedIn</li>
  <li>Pinterest</li>
  <li>Reddit</li>
  <li>Snapchat</li>
  <li>Threads</li>
  <li>TikTok</li>
  <li>YouTube</li>
  <li>X/Twitter</li>
</ul>

The analytics may be retrieved for a specific post by providing either the Ayrshare post ID or the original post's Social Post ID.

## Social Analytics

You can also get the account level social analytics, such as engagement, follower count and demographics, and account meta data.
Use this endpoint if you want to get the analytics for an entire social account, rather than a specific post.

Social account level analytics are available for the following social networks:

<ul className="custom-bullets">
  <li>Facebook</li>
  <li>Google Business Profile</li>
  <li>Instagram</li>
  <li>LinkedIn</li>
  <li>Pinterest</li>
  <li>Reddit</li>
  <li>Snapchat</li>
  <li>Threads</li>
  <li>TikTok</li>
  <li>YouTube</li>
  <li>X/Twitter</li>
</ul>

You may also choose to get aggregated summary or daily social analytics.

## Link Analytics

You can also get analytics on a shortened link. This is great if you want to know how many clicks a link has received, either one sent via Ayrshare or manually published at the social network.

Link analytics can be found in the /links endpoint.

<Card title="Link Analytics" icon="code" href="/apis/links/link-analytics" horizontal>
  Get analytics on a shortened link.
</Card>
