Metrics

LinkedIn metrics via API

Your customer connects their LinkedIn account and your product queries 19 metrics through the same endpoint as every other platform. Each metric has an id (reference_key) that goes in the request.

POST /api/metrics/get-data
Authorization: Bearer <merchant token>
x-customer-token: <customer token>

{
  "customer_integration": "<connection uuid>",
  "start": "2026-10-01",
  "end": "2026-10-31",
  "comparison_start": "2026-09-01",
  "comparison_end": "2026-09-30",
  "metrics": [
    {
      "id": "m1",
      "reference_key": "li:followers",
      "component": "number_v1",
      "metrics": [
        "followers"
      ]
    }
  ]
}
Example: "New followers" in October, compared to September.

More LinkedIn request examples

The same endpoint for every kind of metric. The metrics and dimensions of each item come from the platform catalog (GET /api/metrics/{integration_slug}).

Chart

The Gain of followers over time

The graph describes the evolution of the number of followers

POST /api/metrics/get-data
Authorization: Bearer <merchant token>
x-customer-token: <customer token>

{
  "customer_integration": "<connection uuid>",
  "start": "2026-10-01",
  "end": "2026-10-31",
  "metrics": [
    {
      "id": "m1",
      "reference_key": "li:followers_history",
      "component": "chart_v1",
      "metrics": [
        "followers_history"
      ],
      "dimensions": [
        "date"
      ]
    }
  ]
}

Table

Featured posts

Posts that had the most impact on your audience. The numbers show the total cumulative performance of each post since its publication, regardless of when the actions occurred.

POST /api/metrics/get-data
Authorization: Bearer <merchant token>
x-customer-token: <customer token>

{
  "customer_integration": "<connection uuid>",
  "start": "2026-10-01",
  "end": "2026-10-31",
  "metrics": [
    {
      "id": "m1",
      "reference_key": "li:posts",
      "component": "datatable_v1",
      "metrics": [
        "impressions",
        "reach",
        "shares",
        "likes",
        "clicks",
        "comments",
        "engagement_rate",
        "created_at"
      ],
      "dimensions": [
        "posts"
      ]
    }
  ]
}

Number

Current number of followers

Total number of page followers at the time the report was generated.

POST /api/metrics/get-data
Authorization: Bearer <merchant token>
x-customer-token: <customer token>

{
  "customer_integration": "<connection uuid>",
  "start": "2026-10-01",
  "end": "2026-10-31",
  "metrics": [
    {
      "id": "m1",
      "reference_key": "li:followers_total",
      "component": "number_v1",
      "metrics": [
        "followers_total"
      ]
    }
  ]
}

Numbers

11 metrics

  • New followers

    Number of new followers on the analyzed period.

    li:followers
  • Current number of followers

    Total number of page followers at the time the report was generated.

    li:followers_total
  • Impressions

    Total number of times your posts have been shown to LinkedIn members.

    li:impressions
  • Engagement

    Number of organic clicks, likes, comments, and shares.

    li:engagement
  • Engagement Rate

    Number of organic clicks, likes, comments, and shares over impressions.

    li:engagement_rate
  • Comments

    Total number of comments.

    li:comments
  • Shares

    Total number of shares.

    li:shares
  • Reach

    Number of unique users who have seen content on your page.

    li:reach
  • Posts Count

    Total posts made during the analysis period.

    li:posts_total
  • Total Clicks

    Total page clicks during the analysis period, including clicks on posts, buttons, and other page elements.

    li:total_clicks
  • Total Reactions

    Total number of reactions

    li:total_likes

Charts

3 metrics

  • The Gain of followers over time

    The graph describes the evolution of the number of followers

    li:followers_history
  • Page Views Over Time

    This chart shows the evolution of page views over time

    li:page_views_history
  • Impressions Over Time

    The graph describes the evolution of impressions, reach and profile views over time

    li:impressions_history

Tables

5 metrics

  • Featured posts

    Posts that had the most impact on your audience. The numbers show the total cumulative performance of each post since its publication, regardless of when the actions occurred.

    li:posts
  • Followers By Region

    Regions that have the most followers for your account.

    li:followers_by_region
  • Followers By Industry

    Industries that have the most followers for your account.

    li:followers_by_industry
  • Followers By Function

    Functions that have the most followers for your account.

    li:followers_by_function
  • All Posts

    All account posts during the specified Date Range.

    li:all_posts

See Connect applied to your product.

Try it for 15 days with no card, or walk our team through your use case.